At 10:04 AM 10/24/2001 -0400, Rajeev Nalluri wrote: >I had a perl script, which is generating a core file. How can I analyze the >core file? I am running it on AIX OS. >The syntax of the perl script is OK, but while running sometimes it is >generating the core file. Please explain.
The Perl 5 Porters will want to see a bug report for this, provided it's on a recent version of perl (ideally, 5.6.1; the earlier it is before that, the less likely they are to pay attention - if you really want them to sit up and take notice, you reproduce it on 5.7.2) and that you can submit a test script (the smaller the better) that causes it. You'd do so using the perlbug program that comes with perl. Analyzing the core file would be via gdb: gdb perl core where you replace perl with the path in your script's #! line. But only a perl wizard stands a chance of making sense from this. If you use any XS code that is not in the core perl, the odds of getting help go down, I'm afraid. It is a design goal that perl should never core, no matter how stupid the mistake (unless you're using one of the few capabilities to poke stuff directly into memory, in which case you'll know you're on your own). If you can demonstrate to the P5P how a current perl with no custom XS cores on your system they will be grateful and attempt to fix the problem. Peter Scott [EMAIL PROTECTED] http://www.perldebugged.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]