lang/perl5.12 segfault (amd64 - 8-STABLE)

Lupe Christoph lupe at lupe-christoph.de
Sat Jul 17 12:35:36 UTC 2010


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 at 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"                                  |


More information about the freebsd-ports mailing list