in reply to Segfaults but ok in debugger
The idea is simple. Debug it.
Actually, you might want to be a bit more verbose about where it segfaults, and you will try to reduce it to the relevant minimum of code, which you then post here, together with the minimum relevant input data.
I only know zim as some cartoon figure, but I wasn't aware that this cartoon character was animated through Perl. So maybe you want to be a bit more explicit about what zim is and where it fails.
A common strategy for identifying things that make your program crash is to remove lines from the script until it stops crashing, then adding lines back in until it starts crashing again, and repeating that process until you have found a suitable minimal program that exhibits the same error as the original program.
|
|---|