This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
longjmp crash
- To: gcc at gcc dot gnu dot org
- Subject: longjmp crash
- From: Elena Labruna <labruna at cli dot di dot unipi dot it>
- Date: Fri, 16 Feb 2001 17:59:53 +0100 (CET)
- Organization: Centro di Calcolo - Dipartimento di Informatica di Pisa - Italy
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.