Opened 4 years ago

Closed 4 years ago

#1068 closed defect (fixed)

Padre Task manager fails to run tasks after stress testing it

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

Description

Open two new unsaved script tabs while the "Syntax Check" view is open. In one of the tabs, enter "use strict; $foo". The other tab keep it empty. Now continue pressing Page-up or Alt-Right slowly (Next Tab). You will see the "Syntax view" being updated correctly. Now increase the pace at which the tab switching occurs. Padre syntax view becomes invalid for the selected tab and hangs. Any further operations that depend on tasks like "Open Resource" will fail to complete afterwards.

This has been tested under win32 5.10.1 and Ubuntu 10.10 5.12.2.

Somehow thread workers queue becomes full and never empties. Increasing the maximum of thread workers simply delays the problem. The task manager does not run any new tasks correctly.

Change History (5)

comment:1 follow-up: Changed 4 years ago by azawawi

And padre exists after such a situation with the following repeated output

	(in cleanup) Can't locate object method "method_decrement" via package "refresh" (perhaps you forgot to load "refresh"?) at /home/azawawi/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2/Padre/Lock.pm line 62 during global destruction.
	(in cleanup) Can't locate object method "method_decrement" via package "refresh" (perhaps you forgot to load "refresh"?) at /home/azawawi/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2/Padre/Lock.pm line 62 during global destruction.

comment:2 in reply to: ↑ 1 Changed 4 years ago by azawawi

s/exists/exits/ :)

comment:3 Changed 4 years ago by zenogantner

Related to #1047?

comment:4 Changed 4 years ago by azawawi

Definitely :)

comment:5 Changed 4 years ago by azawawi

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

Fixed in r13333

Note: See TracTickets for help on using tickets.