Skip Menu |

This queue is for tickets about the Tkx CPAN distribution.

Report information
The Basics
Id: 86998
Status: open
Priority: 0/
Queue: Tkx

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

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



Subject: Tkx segfaults without PERL_DL_NONLAZY
This is on a Debian/squeeze system with a self-build standard perl 5.14.2 (no threads, no specialities). Tcl.pm and Tkx.pm are installed, latest versions, and both test suites ran OK. But a simple /path/to/perl -MTkx -e1 segfaults. It does not segfault if I set PERL_DL_NONLAZY=1. On the other hand, the Tkx test suite fails if it's not run with "make test" (which sets PERL_DL_NONLAZY), but run manually or using prove. Regards, Slaven
On 2013-07-17 09:07:10, SREZIC wrote: Show quoted text
> This is on a Debian/squeeze system with a self-build standard perl > 5.14.2 (no threads, no specialities). Tcl.pm and Tkx.pm are installed, > latest versions, and both test suites ran OK. But a simple > > /path/to/perl -MTkx -e1 > > segfaults. It does not segfault if I set PERL_DL_NONLAZY=1. On the > other hand, the Tkx test suite fails if it's not run with "make test" > (which sets PERL_DL_NONLAZY), but run manually or using prove.
I don't know if this helps — here are the last lines when running with ltrace: strlen("Tcl.c") = 5 memcpy(0x7fffcce5b722, "Tcl.c", 5) = 0x7fffcce5b722 strrchr("Tcl::Var::STORE", ':') = ":STORE" strlen("\030") = 1 strlen("Tcl::DL_PATH") = 12 strlen("Tcl::DL_PATH") = 12 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ Regards, Slaven
Subject: [rt.cpan.org #86998]
Date: Tue, 25 Apr 2017 00:38:52 +0800
To: bug-Tkx [...] rt.cpan.org
From: SJ Luo <sjaluo [...] gmail.com>
Hi, This should be a problem of Tcl module. You can try perl -e 'use Tcl;' and see if the segmentation fault happens. You can check Tcl bug report here: https://rt.cpan.org/Public/Bug/Display.html?id=21181