How debug bugzilla

Liu, Ye YLiu at bgcpartners.com
Sun Nov 16 02:14:32 UTC 2008


Dear Bugzilla developers,

 

I am trying to Komodo IDE to debug bugzilla remotely: the first setback
I have is that when I changed index.cgi from

#!/usr/bin/perl -wT to #!/usr/bin/perl -d -wT, I cannot run bugzilla
correctly. The error.log of apache is showing as follows. My questions
are: 

1. Is that possible to use Komodo to debug bugzilla? 

2. What debugger you recommend to debug bugzilla if Komodo is not
recommended?

 

Thanks,

 

YE LIU

 

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] Premature end of
script headers: index.cgi

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] \r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] Loading DB
routines from perl5db.pl version 1.3\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] Editor support
available.\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] \r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] Enter h or `h h'
for help, or `perldoc perldebug' for more help.\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] \r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
main::(C:/opt/bugzilla-3.0.6/index.cgi:40):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 40:\tmy $user =
Bugzilla->login(LOGIN_OPTIONAL);\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] Unable to get
Terminal Size. The Win32 GetConsoleScreenBufferInfo call didn't work.
The COLUMNS and LINES environment variables didn't work. The resize
program didn't work. at C:/opt/Perl/lib/Term/ReadKey.pm line 362.

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] Compilation failed
in require at C:/opt/Perl/lib/Term/ReadLine/Perl.pm line 64.

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]  at
C:/opt/Perl/lib/Term/ReadLine/Perl.pm line 64

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
\tTerm::ReadLine::Perl::new('Term::ReadLine', 'perldb',
'GLOB(0x15e10dc)', 'GLOB(0x1581f5c)') called at
C:/opt/Perl/lib/perl5db.pl line 5998

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] \tDB::setterm
called at C:/opt/Perl/lib/perl5db.pl line 2227

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] \tDB::DB called at
C:/opt/bugzilla-3.0.6/index.cgi line 40

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
Bugzilla::CODE(0x28e100c)(Bugzilla.pm:442):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 442:\t
_cleanup() unless $ENV{MOD_PERL};\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] Attempt to reload
Term/ReadLine/readline.pm aborted.

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] Compilation failed
in require at C:/opt/Perl/lib/Term/ReadLine/Perl.pm line 64.

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] END failed--call
queue aborted at C:/opt/bugzilla-3.0.6/index.cgi line 64.

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]  at
C:/opt/bugzilla-3.0.6/index.cgi line 64

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
DBI::CODE(0x21e0e34)(C:/opt/Perl/lib/DBI.pm:504):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 504:\t    return
unless defined &DBI::trace_msg; # return unless bootstrap'd ok\r\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] Attempt to reload
Term/ReadLine/readline.pm aborted.

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] Compilation failed
in require at C:/opt/Perl/lib/Term/ReadLine/Perl.pm line 64.

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] END failed--call
queue aborted at C:/opt/bugzilla-3.0.6/index.cgi line 64.

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]  at
C:/opt/bugzilla-3.0.6/index.cgi line 64

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
File::Temp::CODE(0x19eec3c)(C:/opt/Perl/lib/File/Temp.pm:866):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 866:\t
cleanup();\r\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] Attempt to reload
Term/ReadLine/readline.pm aborted.

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] Compilation failed
in require at C:/opt/Perl/lib/Term/ReadLine/Perl.pm line 64.

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] END failed--call
queue aborted at C:/opt/bugzilla-3.0.6/index.cgi line 64.

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]  at
C:/opt/bugzilla-3.0.6/index.cgi line 64

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] Attempt to reload
Term/ReadLine/readline.pm aborted.

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] Compilation failed
in require at C:/opt/Perl/lib/Term/ReadLine/Perl.pm line 64.

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] END failed--call
queue aborted at C:/opt/bugzilla-3.0.6/index.cgi line 64.

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]  at
C:/opt/bugzilla-3.0.6/index.cgi line 64

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
Term::ReadLine::Perl::Tie::DESTROY(C:/opt/Perl/lib/Term/ReadLine/Perl.pm
:130):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 130:\tsub DESTROY
{}\r\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
Class::Struct::Tie_ISA::DESTROY(C:/opt/Perl/lib/Class/Struct.pm:51):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 51:\t    sub
DESTROY { }\r\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
AutoLoader::AUTOLOAD(C:/opt/Perl/lib/AutoLoader.pm:22):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 22:\t    my $sub =
$AUTOLOAD;\r\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
Encode::Encoding::DESTROY(C:/opt/Perl/lib/Encode/Encoding.pm:72):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 72:\tsub DESTROY {
}\r\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
Encode::Encoding::DESTROY(C:/opt/Perl/lib/Encode/Encoding.pm:72):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 72:\tsub DESTROY {
}\r\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
Encode::Encoding::DESTROY(C:/opt/Perl/lib/Encode/Encoding.pm:72):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 72:\tsub DESTROY {
}\r\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
Encode::Encoding::DESTROY(C:/opt/Perl/lib/Encode/Encoding.pm:72):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 72:\tsub DESTROY {
}\r\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
Encode::Encoding::DESTROY(C:/opt/Perl/lib/Encode/Encoding.pm:72):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 72:\tsub DESTROY {
}\r\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
Encode::Encoding::DESTROY(C:/opt/Perl/lib/Encode/Encoding.pm:72):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 72:\tsub DESTROY {
}\r\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
POSIX::SigRt::DESTROY(C:/opt/Perl/lib/POSIX.pm:80):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 80:\tsub DESTROY
{};\r\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
Config::DESTROY(C:/opt/Perl/lib/Config.pm:63):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 63:\tsub DESTROY {
}\r\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
IO::Handle::DESTROY(C:/opt/Perl/lib/IO/Handle.pm:330):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 330:\tsub DESTROY
{}\r\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
IO::Handle::DESTROY(C:/opt/Perl/lib/IO/Handle.pm:330):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 330:\tsub DESTROY
{}\r\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1]
IO::Handle::DESTROY(C:/opt/Perl/lib/IO/Handle.pm:330):\r

[Sat Nov 15 19:29:36 2008] [error] [client 127.0.0.1] 330:\tsub DESTROY
{}\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] Premature end of
script headers: index.cgi

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] \r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] Loading DB
routines from perl5db.pl version 1.3\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] Editor support
available.\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] \r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] Enter h or `h h'
for help, or `perldoc perldebug' for more help.\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] \r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
main::(C:/opt/bugzilla-3.0.6/index.cgi:40):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 40:\tmy $user =
Bugzilla->login(LOGIN_OPTIONAL);\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] Unable to get
Terminal Size. The Win32 GetConsoleScreenBufferInfo call didn't work.
The COLUMNS and LINES environment variables didn't work. The resize
program didn't work. at C:/opt/Perl/lib/Term/ReadKey.pm line 362.

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] Compilation failed
in require at C:/opt/Perl/lib/Term/ReadLine/Perl.pm line 64.

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]  at
C:/opt/Perl/lib/Term/ReadLine/Perl.pm line 64

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
\tTerm::ReadLine::Perl::new('Term::ReadLine', 'perldb',
'GLOB(0x15e10dc)', 'GLOB(0x1581f5c)') called at
C:/opt/Perl/lib/perl5db.pl line 5998

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] \tDB::setterm
called at C:/opt/Perl/lib/perl5db.pl line 2227

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] \tDB::DB called at
C:/opt/bugzilla-3.0.6/index.cgi line 40

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
Bugzilla::CODE(0x28e100c)(Bugzilla.pm:442):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 442:\t
_cleanup() unless $ENV{MOD_PERL};\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] Attempt to reload
Term/ReadLine/readline.pm aborted.

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] Compilation failed
in require at C:/opt/Perl/lib/Term/ReadLine/Perl.pm line 64.

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] END failed--call
queue aborted at C:/opt/bugzilla-3.0.6/index.cgi line 64.

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]  at
C:/opt/bugzilla-3.0.6/index.cgi line 64

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
DBI::CODE(0x21e0e34)(C:/opt/Perl/lib/DBI.pm:504):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 504:\t    return
unless defined &DBI::trace_msg; # return unless bootstrap'd ok\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] Attempt to reload
Term/ReadLine/readline.pm aborted.

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] Compilation failed
in require at C:/opt/Perl/lib/Term/ReadLine/Perl.pm line 64.

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] END failed--call
queue aborted at C:/opt/bugzilla-3.0.6/index.cgi line 64.

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]  at
C:/opt/bugzilla-3.0.6/index.cgi line 64

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
File::Temp::CODE(0x19eec3c)(C:/opt/Perl/lib/File/Temp.pm:866):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 866:\t
cleanup();\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] Attempt to reload
Term/ReadLine/readline.pm aborted.

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] Compilation failed
in require at C:/opt/Perl/lib/Term/ReadLine/Perl.pm line 64.

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] END failed--call
queue aborted at C:/opt/bugzilla-3.0.6/index.cgi line 64.

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]  at
C:/opt/bugzilla-3.0.6/index.cgi line 64

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] Attempt to reload
Term/ReadLine/readline.pm aborted.

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] Compilation failed
in require at C:/opt/Perl/lib/Term/ReadLine/Perl.pm line 64.

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] END failed--call
queue aborted at C:/opt/bugzilla-3.0.6/index.cgi line 64.

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]  at
C:/opt/bugzilla-3.0.6/index.cgi line 64

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
Term::ReadLine::Perl::Tie::DESTROY(C:/opt/Perl/lib/Term/ReadLine/Perl.pm
:130):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 130:\tsub DESTROY
{}\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
Class::Struct::Tie_ISA::DESTROY(C:/opt/Perl/lib/Class/Struct.pm:51):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 51:\t    sub
DESTROY { }\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
AutoLoader::AUTOLOAD(C:/opt/Perl/lib/AutoLoader.pm:22):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 22:\t    my $sub =
$AUTOLOAD;\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
Encode::Encoding::DESTROY(C:/opt/Perl/lib/Encode/Encoding.pm:72):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 72:\tsub DESTROY {
}\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
Encode::Encoding::DESTROY(C:/opt/Perl/lib/Encode/Encoding.pm:72):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 72:\tsub DESTROY {
}\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
Encode::Encoding::DESTROY(C:/opt/Perl/lib/Encode/Encoding.pm:72):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 72:\tsub DESTROY {
}\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
Encode::Encoding::DESTROY(C:/opt/Perl/lib/Encode/Encoding.pm:72):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 72:\tsub DESTROY {
}\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
Encode::Encoding::DESTROY(C:/opt/Perl/lib/Encode/Encoding.pm:72):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 72:\tsub DESTROY {
}\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
Encode::Encoding::DESTROY(C:/opt/Perl/lib/Encode/Encoding.pm:72):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 72:\tsub DESTROY {
}\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
POSIX::SigRt::DESTROY(C:/opt/Perl/lib/POSIX.pm:80):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 80:\tsub DESTROY
{};\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
Config::DESTROY(C:/opt/Perl/lib/Config.pm:63):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 63:\tsub DESTROY {
}\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
IO::Handle::DESTROY(C:/opt/Perl/lib/IO/Handle.pm:330):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 330:\tsub DESTROY
{}\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
IO::Handle::DESTROY(C:/opt/Perl/lib/IO/Handle.pm:330):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 330:\tsub DESTROY
{}\r\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1]
IO::Handle::DESTROY(C:/opt/Perl/lib/IO/Handle.pm:330):\r

[Sat Nov 15 19:29:42 2008] [error] [client 127.0.0.1] 330:\tsub DESTROY
{}\r\r

[Sat Nov 15 19:56:31 2008] [notice] Parent: Received shutdown signal --
Shutting down the server.

[Sat Nov 15 19:56:31 2008] [notice] Child 3388: Exit event signaled.
Child process is ending.

[Sat Nov 15 19:56:32 2008] [notice] Child 3388: Released the start mutex

[Sat Nov 15 19:56:33 2008] [notice] Child 3388: All worker threads have
exited.

[Sat Nov 15 19:56:33 2008] [notice] Child 3388: Child process is exiting

[Sat Nov 15 19:56:33 2008] [notice] Parent: Child process exited
successfully.

 

 


http://www.bgcpartners.com
CONFIDENTIAL: This e-mail has been sent to you by one of the BGC entities (collectively BGC)
listed at the following link http://www.bgcpartners.com/legal/disclaimers/index.html#email_disclaimer.
The link contains company and FSA registration numbers. This e-mail, including its contents and
attachments, if any, are confidential. If you are not the named recipient please notify the sender and
immediately delete it. You may not disseminate, distribute, or forward this e-mail message or disclose
its contents to anybody else. Copyright and any other intellectual property rights in its contents are the
sole property of BGC and its affiliates. E-mail transmission cannot be guaranteed to be secure or error-free.
The sender therefore does not accept liability for any errors or omissions in the contents of this
message which arise as a result of e-mail transmission.  If verification is required please request a
hard-copy version. Although we routinely screen for viruses, addressees should check this e-mail and any
attachments for viruses. We make no representation or warranty as to the absence of viruses in this
e-mail or any attachments. Please note that to ensure regulatory compliance and for the protection of our
customers and business, we may monitor and read e-mails sent to and from our server(s). 
The registered offices of the BGC entities are at 1 Churchill Place, London, E14 5RD.  
For any issues arising from this email please reply to the sender. 
The FSA register appears at http://www.fsa.gov.uk/register/.  
The FSA regulates the financial services industry in the United Kingdom and is located at 
25 The North Colonnade, Canary Wharf, London, E14 5HS.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bugzilla.org/pipermail/developers/attachments/20081115/a42f4365/attachment.html>


More information about the developers mailing list