Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jul 2010 14:24:45 +0200
From:      Lupe Christoph <lupe@lupe-christoph.de>
To:        Janne Snabb <snabb@epipe.com>
Cc:        Rainer Hurling <rhurlin@gwdg.de>, freebsd-ports@freebsd.org, skv@freebsd.org, Mario Sergio Fujikawa Ferreira <lioux@freebsd.org>
Subject:   Re: lang/perl5.12 segfault (amd64 - 8-STABLE)
Message-ID:  <20100717122444.GB4043@lupe-christoph.de>
In-Reply-To: <alpine.BSF.2.00.1007170911460.9805@tiktik.epipe.com>
References:  <20100717041919.70411.qmail@exxodus.fedaykin.here> <4C414AB5.1060305@gwdg.de> <alpine.BSF.2.00.1007170744070.9805@tiktik.epipe.com> <alpine.BSF.2.00.1007170911460.9805@tiktik.epipe.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 2010-07-17 at 09:23:18 +0000, Janne Snabb wrote:

> The problem seems to go away when threads are disabled.

> The problematic line 311 in util.c expands to quite a horrible mess
> (found this out by doing make util.i):

> (void)( { if ((PL_curinterp)) { PerlInterpreter* my_perl __attribute__((unused)) = ((PerlInterpreter *)pthread_getspecific(PL_thr_key)); if (((my_perl->Idebug) & 0x00000080)) {(my_perl->Idebug)&=~0x00000080; PerlIO_printf(Perl_PerlIO_stderr(my_perl), "0x%""lx"": (%05ld) calloc %ld x %ld bytes\n",(UV)(ptr),(long)(my_perl->Ian)++,(long)count,(long)total_size); (my_perl->Idebug)|=0x00000080;} } } );

> Someone who understands the perl threading internals needs to figure
> this out.

I would recommend you take this to the perl5-porters mailing list. You
will have a much better chance of finding expertise than on this mailing
list.

perl5-porters@perl.org

HTH,
Lupe Christoph
-- 
| It is a well-known fact in any organisation that, if you want a job    |
| done, you should give it to someone who is already very busy.          |
| Terry Pratchett, "Unseen Academicals"                                  |



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