Subject: pkg/21210: p5-SDL not usable with -current
To: None <gnats-bugs@gnats.netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 04/17/2003 16:38:47
>Number:         21210
>Category:       pkg
>Synopsis:       p5-SDL not usable with -current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 17 06:39:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6R
>Organization:
Wasabi Systems
>Environment:
System: NetBSD euclid.thistledown.com.au 1.6R NetBSD 1.6R (EUCLID) #385: Mon Apr 14 12:34:40 EST 2003 simonb@euclid.thistledown.com.au:/usr/obj/sys/arch/i386/compile/EUCLID i386
Architecture: i386
Machine: i386

p5-SDL-1.19.2nb1    Perl module for SDL
perl-5.6.1nb7       Practical Extraction and Report Language (installed pre-pthread/SA)

>Description:
	When I run    perl -e "use SDL"   I get

		Abort (core dumped)

	gdb says:

		(gdb) bt
		#0  0x4814e7f7 in kill () from /usr/lib/libc.so.12
		#1  0x48150952 in __libc_mutex_unlock () from /usr/lib/libc.so.12
		#2  0x481c018e in malloc () from /usr/lib/libc.so.12
		#3  0x8099d20 in Perl_safemalloc ()
		#4  0x80a4c7d in Perl_av_extend ()
		...

>How-To-Repeat:
	Install pkgsrc/devel/p5-SDL and type

		perl -e "use SDL"
	
>Fix:
	Non given.  Note above where I say that perl5 installation
	predates the SA/pthread integration.  When I get a chance I'll
	try reinstalling perl and see what happens.
>Release-Note:
>Audit-Trail:
>Unformatted: