Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#603 closed defect (fixed)

Background tasks fail to work under wperl (win32)

Reported by: azawawi Owned by: azawawi
Priority: major Milestone:
Component: editor Version: 0.46
Keywords: win32, wperl Cc:


If you run padre.exe which is actually calls wperl, STDIN/STDOUT descriptors are invalid.

For example the syntax checker does the following:

Error from open(IO::Handle=GLOB(0x7490b74), <&STDIN): Bad file descriptor at C:/strawberry/perl/site/lib/Capture/ line 65 thread 1
	Capture::Tiny::_open('IO::Handle=GLOB(0x7490b74)', '<&STDIN') called at C:/strawberry/perl/site/lib/Capture/ line 140 thread 1
	Capture::Tiny::_copy_std() called at C:/strawberry/perl/site/lib/Capture/ line 272 thread 1
	Capture::Tiny::_capture_tee(0, 0, 0, 'CODE(0x748804c)') called at C:/strawberry/perl/site/lib/Padre/Task/SyntaxChecker/ line 85 thread 1
	eval {...} called at C:/strawberry/perl/site/lib/Padre/Task/SyntaxChecker/ line 59 thread 1
	Padre::Task::SyntaxChecker::Perl::_check_syntax('Padre::Task::SyntaxChecker::Perl=HASH(0x60f4304)') called at C:/strawberry/perl/site/lib/Padre/Task/SyntaxChecker/ line 47 thread 1
	Padre::Task::SyntaxChecker::Perl::run('Padre::Task::SyntaxChecker::Perl=HASH(0x60f4304)') called at C:/strawberry/perl/site/lib/Padre/ line 648 thread 1
	Padre::TaskManager::worker_loop() called at C:/strawberry/perl/site/lib/Padre/ line 294 thread 1
	eval {...} called at C:/strawberry/perl/site/lib/Padre/ line 294 thread 1

Change History (2)

comment:1 Changed 10 years ago by azawawi

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

Fixed in r8242 and r8246

A side effect is the popping of black command line windows.

comment:2 Changed 10 years ago by azawawi

The side effect is totally fixed in r8265

Note: See TracTickets for help on using tickets.