Program exited normally. SIGTERM

Joel Sherrill joel.sherrill at OARcorp.com
Wed Sep 18 18:56:15 UTC 2013


On 9/18/2013 1:51 PM, Chris Johns wrote:
> Nicolás Alvarez wrote:
>> Dear all:
>>
>> I`m having a strange problem in my code. Its runs for a few hours and it
>> finishes with this message:
>>
>> *Program exited normally. SIGTERM*
>> or using gdb and grmon,
>> *program exited with code 0320*
>>
>> It`s an undesired exit, but I can´t discover where and why it`s
>> happened. There are some method to track this bug? The app is a rtems
>> multitask running on Leon3 with grmon.
>>
> 
> I would run within gdb and set a break point in 'exit' and then do a 
> backtrace using the 'bt' command. This should provide help find the area 
> where the fail is happening.

Include rtems_shutdown_executive and _Internal_error_Occurred just
in case the shutdown is starting via another call.

My recollection is that a normal exit on the sparc's is via a
special system call or trap so you had to do this intentionally.

> Chris
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
> 



-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the users mailing list