Re: Perl_mallloc() segfault (v5.8.8)....

From: Anton Berezin <tobez_at_tobez.org>
Date: Wed, 19 Sep 2007 14:50:29 +0200
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_at_, 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
Received on Wed Sep 19 2007 - 11:08:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:17 UTC