Ticket #850 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Padre crashes on warning output

Reported by: kthakore Owned by:
Priority: critical Milestone:
Component: editor Version: trunk
Keywords: Cc:

Description

Linux only I think:
[Reproducing this bug]
Don't use ./dev.pl;

make a file.pl with
warn 'crash';
in it.

  1. padre
  2. open file.pl
  3. F5

[Output]

(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.
(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.

Use of uninitialized value within %variable in substitution iterator at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1223.

(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.

Use of uninitialized value within %variable in substitution iterator at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1223.

(in cleanup) Can't call method "IsChecked?" on an undefined value at /usr/local/share/perl/5.10.0/Padre/Wx/Main.pm line 1281.

Can't locate object method "errorlist" via package "Padre::Wx::App" at /usr/local/share/perl/5.10.0/Padre/Task/ErrorParser.pm line 40.
Perl exited with active threads:

2 running and unjoined
0 finished and unjoined
0 running and detached

Change History

comment:1 Changed 4 years ago by Sewi

Please report the Padre and ProcessStream? versions you're using for creating this.

comment:2 Changed 4 years ago by kthakore

Padre is trunk at rev10799,
Wx::Perl::ProcessStream? is 0.24 from cpan

comment:3 Changed 4 years ago by vrobin

I have the same problem there:

J:\programmes\padre\Padre>perl dev.pl
        (in cleanup) Can't call method "IsChecked" on an undefined value at J:/programmes/padre/Padre/lib/Padre/Wx/Main.pm line 12
81.
Terminating on signal SIGINT(2)
Terminating on signal SIGINT(2)

J:\programmes\padre\Padre>perl dev.pl
Terminating on signal SIGINT(2)
Terminating on signal SIGINT(2)

J:\programmes\padre\Padre>perl dev.pl
Terminating on signal SIGINT(2)
Terminating on signal SIGINT(2)

J:\programmes\padre\Padre>perl dev.pl
        (in cleanup) Can't call method "IsChecked" on an undefined value at J:/programmes/padre/Padre/lib/Padre/Wx/Main.pm line 12
81.
        (in cleanup) Can't call method "IsChecked" on an undefined value at J:/programmes/padre/Padre/lib/Padre/Wx/Main.pm line 12
81.
        (in cleanup) Can't call method "IsChecked" on an undefined value at J:/programmes/padre/Padre/lib/Padre/Wx/Main.pm line 12
81.
        (in cleanup) Can't call method "IsChecked" on an undefined value at J:/programmes/padre/Padre/lib/Padre/Wx/Main.pm line 12
81.
DBD::SQLite::db do failed: SQL logic error or missing database
cannot VACUUM from within a transaction at (eval 166) line 32.
Terminating on signal SIGINT(2)
Terminating on signal SIGINT(2)

J:\programmes\padre\Padre>
J:\programmes\padre\Padre>
J:\programmes\padre\Padre>
J:\programmes\padre\Padre>
J:\programmes\padre\Padre>
J:\programmes\padre\Padre>perl dev.pl
        (in cleanup) Can't call method "IsChecked" on an undefined value at J:/programmes/padre/Padre/lib/Padre/Wx/Main.pm line 12
81.
        (in cleanup) Can't call method "IsChecked" on an undefined value at J:/programmes/padre/Padre/lib/Padre/Wx/Main.pm line 12
81.
        (in cleanup) Can't call method "IsChecked" on an undefined value at J:/programmes/padre/Padre/lib/Padre/Wx/Main.pm line 12
81.
        (in cleanup) Can't call method "IsChecked" on an undefined value at J:/programmes/padre/Padre/lib/Padre/Wx/Main.pm line 12
81.
DBD::SQLite::db do failed: SQL logic error or missing database
cannot VACUUM from within a transaction at (eval 166) line 32.
Terminating on signal SIGINT(2)
Terminating on signal SIGINT(2)

On restart, I have a strange windows with no widget, only frames skeleton.
Deleting .padre permits to continue.

CPAN reports

Module = Wx::Perl::ProcessStream? (MDOOTSON/Wx-Perl-ProcessStream?-0.24.tar.gz)

Padre trunk r10799

comment:4 Changed 4 years ago by waxhead

  • Owner set to kthakore
  • Status changed from new to assigned

I think I fixed this last night with r10800, can you confirm.

comment:5 Changed 4 years ago by kthakore

No the problem still exists. The other warnings are gone

Can't locate object method "errorlist" via package "Padre::Wx::App" at /usr/local/share/perl/5.10.0/Padre/Task/ErrorParser.pm line 40.

Perl exited with active threads:

2 running and unjoined
0 finished and unjoined
0 running and detached

comment:6 Changed 4 years ago by kthakore

  • Owner kthakore deleted

comment:7 Changed 4 years ago by waxhead

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.