Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 90114
Status: new
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 804.031
Fixed in: (no value)



Subject: perl 5.16.3 + Tk 804.031 core dumps on syntax check when a window is made in BEGIN block
Syntax check of the program (perl 5.16.3 64-bit (threaded or otherwise) & Tk 804.031 on CentOS 6 64-bit) causes core dump (but not when it is just run as in perl file) ... use Tk; # Remove "BEGIN" and get no core dump. BEGIN { our $MW = MainWindow->new(); } __END__ Problem reported in http://www.perlmonks.org/?node_id=1061501
On 2013-11-07 08:18:54, SREZIC wrote: Show quoted text
> Syntax check of the program (perl 5.16.3 64-bit (threaded or > otherwise) & Tk 804.031 on CentOS 6 64-bit) causes core dump (but not > when it is just run as in perl file) ... > > use Tk; > # Remove "BEGIN" and get no core dump. > BEGIN > { our $MW = MainWindow->new(); } > __END__ > > Problem reported in http://www.perlmonks.org/?node_id=1061501
The core dumps when running t/async.t and t/fork.t in the Tk test suite could be related (checked with 5.18.1, no core dumps with 5.14.4).