loris has asked for the wisdom of the Perl Monks concerning the following question:
I have been tweaking a Perl program which worked OK up to now. However, after some changes, I have been getting segmentation faults and bus errors. If I simply add a call to a log4perl logger just before "exit", the problem goes away. If I then use the "-d" option when running perl, the debugger steps over the "exit" and then hangs.
I am used to my Perl programs dying in a more or less comprehensible way, but all this wierd behaviour reminds my of many happy hours in my youth spent debugging C. Does my hand-waving description of the problem ring any bells with anyone?
All help/remarks humbly appreciated.
loris
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Vague "bus error" question
by Fletch (Bishop) on Oct 25, 2004 at 13:50 UTC | |
by RMGir (Prior) on Oct 25, 2004 at 17:40 UTC | |
by loris (Hermit) on Oct 26, 2004 at 07:52 UTC | |
|
Re: Vague "bus error" question
by radiantmatrix (Parson) on Oct 25, 2004 at 13:00 UTC | |
by loris (Hermit) on Oct 25, 2004 at 13:14 UTC | |
|
Re: Vague "bus error" question
by itub (Priest) on Oct 25, 2004 at 13:22 UTC |