Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2007 14:50:29 +0200
From:      Anton Berezin <tobez@tobez.org>
To:        Eric Schuele <e.schuele@computer.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Perl_mallloc() segfault (v5.8.8)....
Message-ID:  <20070919125029.GB45191@heechee.tobez.org>
In-Reply-To: <46E98E44.2070808@computer.org>
References:  <46E98E44.2070808@computer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070919125029.GB45191>