in reply to disappearing segfault
By far, the C code that is most likely to contain the bug is the XS code. I'd review the XS code for suspect constructs. But being able to do that with XS code is a fairly rare talent, just one of the reasons why I strongly discourage the writing of XS code. But that at least provides some focus for working on the problem.
Note that you should be able to configure your system such that a core dump is produced and then use that to get a gdb session for poking around at the state of things when the failure happened. But even that can mean quite difficult work ahead.
Switching to a different version, particularly of the XS code but even of Perl or other components, can be particularly helpful in making such problems disappear (perhaps only by once again hiding the bug).
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: disappearing segfault (XS)
by BrowserUk (Patriarch) on Mar 11, 2009 at 08:01 UTC |