This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

longjmp crash



I'm working with a C package written by other
on a linux machine with kernel version 2.2.14,
and gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release).

In the software periodically is called a :

setjmp(_ckpt_env) 


One program that use this package can be stopped and if it is restarted 
is called a:

longjmp(_ckpt_env, 1);

to restore the stack.

In my program on longjmp call the system crash with a SIGSEGV signal. 
 
Anyone can tell me if it can be a compiler problem ?

Thanks,
 
Elena Labruna.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]