Opened 5 years ago

Closed 4 years ago

#859 closed defect (fixed)

Threads/DBI/SlaveDriver problems

Reported by: Sewi Owned by:
Priority: blocker Milestone:
Component: editor Version: 0.57
Keywords: Cc:

Description

On exit of one of three running Padre instances while all of them got open (but different) sessions:

Attempt to free non-existent shared string '655:179', Perl interpreter: 0xad234a8 during global destruction.
Unbalanced string table refcount: (1) for "threads::shared::cond_wait" during global destruction.
Unbalanced string table refcount: (1) for "655:162" during global destruction.
Unbalanced string table refcount: (1) for "Thread::Queue::dequeue" during global destruction.
Unbalanced string table refcount: (1) for "DBI::_clone_dbis" during global destruction.
Unbalanced string table refcount: (1) for "DBD::_::common::trace_msg" during global destruction.
Unbalanced string table refcount: (1) for "203:47" during global destruction.
Unbalanced string table refcount: (1) for "Storable::init_perinterp" during global destruction.
Scalars leaked: -1

(in cleanup) panic: attempt to copy value ARRAY(0xa820f98) to a freed scalar b574d20 at /home/sewi/padre/Padre/lib/Padre/SlaveDriver.pm line 162.
(in cleanup) panic: attempt to copy value ARRAY(0xa820f98) to a freed scalar b574d20 at /home/sewi/padre/Padre/lib/Padre/SlaveDriver.pm line 162.

END failed--call queue aborted.
panic: attempt to copy value HASH(0xad8cac8) to a freed scalar bc10a78 at /usr/local/lib/perl/5.10.0/DBI.pm line 509.
END failed--call queue aborted.

On start of another instance (the previous has been fully closed before):
getting handlers..

DIE: DBD::SQLite::db do failed: database is locked at (eval 162) line 32.


at (eval 162) line 32

Padre::DB::do('Padre::DB', 'delete from host_config') called at (eval 162) line 668
Padre::DB::HostConfig::truncate('Padre::DB::HostConfig?') called at /home/sewi/padre/Padre/lib/Padre/Config/Host.pm line 75
Padre::Config::Host::write('Padre::Config::Host=HASH(0x9928210)') called at /home/sewi/padre/Padre/lib/Padre/Config.pm line 163
Padre::Config::write('Padre::Config=ARRAY(0x9a9dc68)') called at /home/sewi/padre/Padre/lib/Padre.pm line 253
Padre::save_config('Padre=HASH(0x94c4430)') called at /home/sewi/padre/Padre/lib/Padre/Wx/Main.pm line 1962
Padre::Wx::Main::show_syntax('Padre::Wx::Main=HASH(0xa1c1c48)', 0) called at /home/sewi/padre/Padre/lib/Padre/Wx/Main.pm line 702
Padre::Wx::Main::timer_post_init('Padre::Wx::Main=HASH(0xa1c1c48)') called at /home/sewi/padre/Padre/lib/Padre/Wx/Main.pm line 248
Padre::Wx::Main::ANON('Padre::Wx::Main=HASH(0xa1c1c48)', 'Wx::TimerEvent?=SCALAR(0xd59fea8)') called at /home/sewi/padre/Padre/lib/Padre.pm line 242
eval {...} called at /home/sewi/padre/Padre/lib/Padre.pm line 242
Padre::run('Padre=HASH(0x94c4430)') called at /home/sewi/padre/Padre/script/padre line 153

Change History (1)

comment:1 Changed 4 years ago by adamk

  • Resolution set to fixed
  • Status changed from new to closed

As long as we keep the aggressive slave driver optimisation disabled, this is resoled.

Delaying the further optimisation until after my task cleanup/rewrite.

Note: See TracTickets for help on using tickets.