Opened 4 years ago

Last modified 2 years ago

#1175 assigned defect

padre goes crazy and does not allow saving file after a few seconds

Reported by: szabgab Owned by: azawawi
Priority: critical Milestone:
Component: editor Version: 0.85
Keywords: Cc:

Description

Using padre trunk (r14102) on Windows XP. (perl 5.10.1) The syntax checker is on.
After a few seconds of editing it suddenly prints this to the console and I can't save
the file any more. It keeps asking me to pick a new filename.

I tried the installed 0.84 and I have not seen the same problem.

Scalars leaked: 1
Scalars leaked: 2
Scalars leaked: 1
Scalars leaked: 1
Scalars leaked: 1
Use of uninitialized value $type in numeric eq (==) at C:/work/padre/Padre/lib/Padre/Config.pm line 221.
Use of uninitialized value $type in numeric eq (==) at C:/work/padre/Padre/lib/Padre/Config.pm line 227.
Use of uninitialized value $type in numeric eq (==) at C:/work/padre/Padre/lib/Padre/Config.pm line 230.
Use of uninitialized value $type in numeric eq (==) at C:/work/padre/Padre/lib/Padre/Config.pm line 233.
Use of uninitialized value $type in numeric eq (==) at C:/work/padre/Padre/lib/Padre/Config.pm line 221.
Setting 'main_width' to non-boolean '944' at C:/work/padre/Padre/lib/Padre/Wx/Main.pm line 3440
Perl exited with active threads:
        1 running and unjoined
        1 finished and unjoined
        0 running and detached

Change History (4)

comment:1 Changed 4 years ago by Sewi

May be a config problem, added another test in r14104

comment:2 Changed 4 years ago by szabgab

Further experiments show that the printing of the scalar leakage happens automatically.

The "Use of uninitialized value" is gone in r14105

The "Setting 'main_width'..." I get when I close padre and tell it not to save the file.

When I tried to save the file with another name I got:

Can't call method "readonly" on an undefined value at C:/work/padre/Padre/lib/Padre/Document.pm line 807.
Perl exited with active threads:
        1 running and unjoined
        0 finished and unjoined

comment:3 Changed 4 years ago by szabgab

It does not seem to happen if I trun off the syntax checker.

comment:4 Changed 2 years ago by bowtie

  • Owner set to azawawi
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.