I have the problem that an app will crash and it is not deterministic at
all. I was fortunate to trap the problem in the debugger:
763 result = spawnl(P_WAIT, “/usr/local/bin/stoplan”, “stoplan”,
lan_interface, NULL);
(gdb)
764 if (result == -1)
(gdb)
774 return result;
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb)
The application may run for hours before it crashes. The core dump
reveals the same result.
How do I resolve this problem?
Francois