Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
62 user(s) are online (34 user(s) are browsing Forums)

Members: 0
Guests: 62

more...

Headlines

 
  Register To Post  

unfreed signals
Home away from home
Home away from home


See User information
Just a quick question because i couldn't find an answer anywhere.

This happens when i start scummvm intentionally with a wrong command flag:
scummvm -version (doesn't exists, only --version is known). If i do that i get this message everytime:

***Command 'scummvm' returned with unfreed signals 1C000000!

1) What exactly does that mean and how could one fix it?
2) Is it some kind of aAMigaOS4 specific memory leak?
3) Does it mean something "bad" needs to be fixed or could one ignore it?
4) If it was to be fixed where does one need take a look at the source?

Just checking if i can ignore that or if i should fix it.

btw, i've seen this unfreed signals messages on lots of programs, can't remember right now which ones

EDIT:
Nevermind


Edited by Raziel on 2018/11/15 9:16:28
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: unfreed signals
Just popping in
Just popping in


See User information
Basically what is happening is this....

A shell runs in its own process, when you start a program from that shell
process, the program uses the shells process to execute, the shell code
goes to sleep during the program execution, when the program ends,
the shell code resumes and is ready to take another command line.

So, when the program is being executed, it's apparently allocating a signal,
such as would happen if the program was to allocate a message port or
other such activity during its operation.

However, the program is exiting without freeing all the resources it allocated,
so the shell notices this and posts the message because as the shell process
is continually reused by subsequent programs, it will eventually run out of
signals to allocate (only 16 user signals available) and all sorts of bad juju
will happen if that occurs.

So, yes, the program being run is doing something it shouldn't when it exits
in an unexpected way.




Go to top
Re: unfreed signals
Home away from home
Home away from home


See User information
@colinw

Heh, even i understand this

Thanks a lot, Colin

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: unfreed signals
Just can't stay away
Just can't stay away


See User information
@Raziel

Does it exit here, in usage function: https://github.com/scummvm/scummvm/blo ... base/commandLine.cpp#L197

Basically ScummVM doesn't seem to try any cleanup, unless there is some atexit() lurking somewhere.

Go to top
Re: unfreed signals
Home away from home
Home away from home


See User information
@Capehill

Will relay to the app devs, thanks for the pointer

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project