From owner-freebsd-current@FreeBSD.ORG Wed Sep 19 13:08:31 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E270816A41B for ; Wed, 19 Sep 2007 13:08:31 +0000 (UTC) (envelope-from tobez@tobez.org) Received: from heechee.tobez.org (heechee.tobez.org [194.255.56.42]) by mx1.freebsd.org (Postfix) with ESMTP id A6E4D13C469 for ; Wed, 19 Sep 2007 13:08:31 +0000 (UTC) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 0663D12543D; Wed, 19 Sep 2007 14:50:30 +0200 (CEST) Date: Wed, 19 Sep 2007 14:50:29 +0200 From: Anton Berezin To: Eric Schuele Message-ID: <20070919125029.GB45191@heechee.tobez.org> Mail-Followup-To: Anton Berezin , Eric Schuele , freebsd-current@freebsd.org References: <46E98E44.2070808@computer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46E98E44.2070808@computer.org> User-Agent: Mutt/1.4.2.3i X-Powered-By: FreeBSD http://www.freebsd.org/ Cc: freebsd-current@freebsd.org Subject: Re: Perl_mallloc() segfault (v5.8.8).... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2007 13:08:32 -0000 On Thu, Sep 13, 2007 at 02:23:48PM -0500, Eric Schuele wrote: > Hello, > > I seem to have a perl problem. Not much of a perl person so not sure if > the problem is me or not. I'm not even sure I should be posting to > freebsd-current@, but since it worked in 6.2... I'm assuming its perl+7.0. > > Running current i386, and using perl 5.8.8, I get the following back > trace on an app that attempts to use perl for an add-on script. > > #0 0x2972726c in Perl_malloc () > from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so > #1 0x297d75dc in PerlIO_allocate () > from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so > #2 0x297dc257 in PerlIO_stdstreams () > from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so > #3 0x297dc2c2 in Perl_PerlIO_stderr () > from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so > #4 0x297280b0 in Perl_malloc () > from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so > #5 0x297d75dc in PerlIO_allocate () > from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so > #6 0x297dc257 in PerlIO_stdstreams () > from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so > #7 0x297dc2c2 in Perl_PerlIO_stderr () > from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so > #8 0x297280b0 in Perl_malloc () > > Note that this app was working, as well as its add-on script a few days > back when I was running 6.2-STABLE. I backed-up everything, formatted > my disk, installed 7.0 (snapshot), cvsup'd to most recent (sunday > evening)... reinstalled the app in question from package, then from > ports. It however always results in the above bt. If I remove the > script from the add-ons (its the only script I have) the app runs fine. What is the script? What's the output of ldd `which perl`? What's the output of ldd /path/to/xchat (assuming "app" is "xchat", it's not entirely clear)? What's the output of perl -V? The contents of /etc/make.conf might also be useful > Wondering if a bug report is warranted? Should it be filed under xchat, > perl, or what? Cheers, \Anton. -- We're going for 'working' here. 'clean' is for people with skills... -- Flemming Jacobsen