Subject: pkg/25066: Perl/Tk package causes Perl to dump core
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mason@acheron.middleboro.ma.us>
List: pkgsrc-bugs
Date: 04/05/2004 17:31:38
>Number:         25066
>Category:       pkg
>Synopsis:       Perl/Tk package causes Perl to dump core
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 05 21:32:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mason Loring Bliss
>Release:        NetBSD 1.6.2_STABLE
>Organization:
	
>Environment:
	
	
System: NetBSD acheron.in.hades 1.6.2_STABLE NetBSD 1.6.2_STABLE (kern-acheron) #4: Sat Apr 3 01:30:19 EST 2004 mason@acheron.in.hades:/u1/buildspace/kern-acheron i386
Architecture: i386
Machine: i386
>Description:
Perl/Tk package causes Perl to dump core. Tested under NetBSD 1.6.2 with
Perl 5.8.0, using p5-Tk-800.024, and Perl 5.8.3 using p5-Tk-804.026 and
p5-Tk-804.026. Also tested under NetBSD 2.0_BETA using p5-Tk-804.026 and
Perl 5.8.1.

'gdb perl perl.core' comes up with this:

#0  0x48307fa2 in Tcl_UtfToExternalDString ()
   from /usr/pkg/lib/perl5/site_perl/5.8.3/i386-netbsd/auto/Tk/Tk.so

>How-To-Repeat:
Try to run this:

#!/usr/local/bin/perl

use Tk;

$top = new MainWindow;
MainLoop;

>Fix:

Unknown.

>Release-Note:
>Audit-Trail:
>Unformatted: