Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Process simply disappears, exit not called and no core file generated: (4 Items)
   
Process simply disappears, exit not called and no core file generated  
Any help with the following problem would be gratefully appreciated

I am running QNX 6.3.2 on the ML403 Reference platform.

I am running debug versions of all my custom process's (_g) the application contain no calls to either exit or 
pthread_exit, however the applications from time to time just disappear. I am running slogger and dumper, directing the 
dumper output to /tmp, no core file is produced. 

I have forced an application to assert to ensure that the system does generate core files and placed them in /tmp, this 
operated as expected.

Regards

William
RE: Process simply disappears, exit not called and no core file g enerated  
It may be killed by some other process...

You can try to write daemon process that monitor your process state, and run
tracelogger in ring buffer mode in parallel. As soon as daemon catches
process absence copy kev file created by tracelogger (with latest several
seconds of system life) and you can use IDE to see what happen with the
process before it died.
Re: Process simply disappears, exit not called and no core file generated  
On Mon, Feb 25, 2008 at 03:27:56PM -0500, William Hoey wrote:
> Any help with the following problem would be gratefully appreciated
> 
> I am running QNX 6.3.2 on the ML403 Reference platform.
> 
> I am running debug versions of all my custom process's (_g) the application contain no calls to either exit or 
pthread_exit, however the applications from time to time just disappear. I am running slogger and dumper, directing the 
dumper output to /tmp, no core file is produced. 
> 
> I have forced an application to assert to ensure that the system does generate core files and placed them in /tmp, 
this operated as expected.
> 
> Regards
> 
> William

It may be being hit with an unexpected signal.  You can
attach to it with gdb and let it run.  gdb will print any
caught signals.

-seanb
Re: Process simply disappears, exit not called and no core file generated  
Many thanks everyone, I have started the kernel in verbose mode, hopefully I can catch the signal.