longjmp crash
Elena Labruna
labruna@cli.di.unipi.it
Fri Feb 16 06:44:00 GMT 2001
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.
More information about the Gcc
mailing list