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
In reply to Vague "bus error" question by loris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |