From: Jarkko Hietaniemi Date: Wed, 3 Feb 1999 16:59:55 +0000 (+0000) Subject: Enhance the perlbug checklist. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bdcdfa19ba0dc3934f9f5633d13c35213e84a038;p=p5sagit%2Fp5-mst-13.2.git Enhance the perlbug checklist. p4raw-id: //depot/cfgperl@2808 --- diff --git a/utils/perlbug.PL b/utils/perlbug.PL index f82b5ba..1904059 100644 --- a/utils/perlbug.PL +++ b/utils/perlbug.PL @@ -901,6 +901,13 @@ it all, but at least have a look at the sections that I relevant). Be aware of the familiar traps that perl programmers of various hues fall into. See L. +If what you see looks like a Perl error message, check L +to see what the message means. If it looks like an error from +your operating system, consult your operating system documentation. + +If you are on a non-UNIX platform check also L, some +features may not be implemented or work differently. + Try to study the problem under the perl debugger, if necessary. See L. @@ -916,6 +923,17 @@ A good test case is almost always a good candidate to be on the perl test suite. If you have the time, consider making your test case so that it will readily fit into the standard test suite. +Remember also to include the B error messages, if any. +"Perl complained something" is not an exact error message. + +If you get a core dump (or equivalent), you may use a debugger +(B, B, etc) to produce a stack trace to include in the bug +report. NOTE: unless your Perl has been compiled with debug info +(often B<-g>), the stack trace is likely to be somewhat hard to use +because it will most probably contain only the function names, not +their arguments. If possible, recompile your Perl with debug info and +reproduce the dump and the stack trace. + =item Can you describe the bug in plain English? The easier it is to understand a reproducible bug, the more likely it @@ -954,6 +972,11 @@ it to B. If, for some reason, you cannot run C at all on your system, be sure to include the entire output produced by running C (note the uppercase V). +Whether you use C or send the email manually, please make +your subject informative. "a bug" not informative. Neither is "perl +crashes" nor "HELP!!!", these all are null information. A compact +description of what's wrong is fine. + =back Having done your bit, please be prepared to wait, to be told the bug @@ -1071,12 +1094,14 @@ Kenneth Albanowski (Ekjahds@kjahds.comE), subsequently Itored by Gurusamy Sarathy (Egsar@umich.eduE), Tom Christiansen (Etchrist@perl.comE), Nathan Torkington (Egnat@frii.comE), Charles F. Randall (Ecfr@pobox.comE), Mike Guy -(Emjtg@cam.a.ukE), Dominic Dunlop (Edomo@computer.orgE) -and Hugo van der Sanden (Ehv@crypt0.demon.co.ukE). +(Emjtg@cam.a.ukE), Dominic Dunlop (Edomo@computer.orgE), +Hugo van der Sanden (Ehv@crypt0.demon.co.ukE), and +Jarkko Hietaniemi (Ejhi@iki.fiE). =head1 SEE ALSO -perl(1), perldebug(1), perltrap(1), diff(1), patch(1) +perl(1), perldebug(1), perldiag(1), perlport(1), perltrap(1), +diff(1), patch(1), dbx(1), gdb(1) =head1 BUGS @@ -1090,4 +1115,3 @@ close OUT or die "Can't close $file: $!"; chmod 0755, $file or die "Can't reset permissions for $file: $!\n"; exec("$Config{'eunicefix'} $file") if $Config{'eunicefix'} ne ':'; chdir $origdir; -