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

Lucius Windschuh lwindschuh at
Thu Apr 29 10:25:30 UTC 2010

Hi Dmitry.

2010/4/29 Dmitry Krivenok <krivenok.dmitry at>:
> 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:
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. :-/



More information about the freebsd-current mailing list