Re: Failed assertion: "(run->regs_mask[elm] & (1U << bit)) == 0"

From: Lucius Windschuh <lwindschuh_at_googlemail.com>
Date: Thu, 29 Apr 2010 12:25:25 +0200
Hi Dmitry.

2010/4/29 Dmitry Krivenok <krivenok.dmitry_at_gmail.com>:
> Hello Hackers!
>
> I have a problem with FreeBSD-CURRENT system:
> FreeBSD host 9.0-CURRENT FreeBSD 9.0-CURRENT #16 r207299: Wed Apr 28
> 04:15:07 UTC 2010     root_at_host:/usr/obj/usr/src/sys/GENERIC  amd64
>
> Perl aborts with the following error on exiting cpan shell:
>
> cpan[2]> q
> Lockfile removed.
> perl: (malloc) /usr/src/lib/libc/stdlib/malloc.c:2628: Failed assertion:
> "(run->regs_mask[elm] & (1U << bit)) == 0"
> Abort trap: 6 (core dumped)

Can you determine if the CPAN shell is using Term::ReadLine and you
have devel/p5-ReadLine-Gnu installed?
If this is the case, you probably ran into this bug:
http://www.freebsd.org/cgi/query-pr.cgi?pr=131664
Replacing p5-ReadLine-Gnu with p5-ReadLine-Perl should avoid this problem.

I was still unable to track this futher bug down and this port is
broken for a while. :-/

Regards,

Lucius
Received on Thu Apr 29 2010 - 08:25:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC