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

From: Dmitry Krivenok <krivenok.dmitry_at_gmail.com>
Date: Thu, 29 Apr 2010 13:55:15 +0400
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)

Below is a backtrace:

3       RSYSCALL(kill)
[New Thread 8014071c0 (LWP 100083)]
(gdb) bt
#0  0x0000000800f0c38c in kill () at kill.S:3
#1  0x0000000800ca5363 in _raise (sig=6) at
/usr/src/lib/libthr/thread/thr_sig.c:185
#2  0x0000000800f0a953 in abort () at /usr/src/lib/libc/stdlib/abort.c:65
#3  0x0000000800e589b6 in arena_run_reg_dalloc (run=0x801609000,
bin=0x5016b8, ptr=0x801609a40, size=1) at
/usr/src/lib/libc/stdlib/malloc.c:2628
#4  0x0000000800e5e29c in arena_dalloc_bin (arena=0x501430,
chunk=0x801400000, ptr=0x801609a40, mapelm=0x801403100)
    at /usr/src/lib/libc/stdlib/malloc.c:3870
#5  0x0000000800e5fcef in arena_dalloc (arena=0x501430, chunk=0x801400000,
ptr=0x801609a40) at /usr/src/lib/libc/stdlib/malloc.c:4302
#6  0x0000000800e5ffbb in idalloc (ptr=0x801609a40) at
/usr/src/lib/libc/stdlib/malloc.c:4344
#7  0x0000000800e65730 in free (ptr=0x801609a40) at
/usr/src/lib/libc/stdlib/malloc.c:6132
#8  0x0000000800f03a6d in __clean_env (freeVars=true) at
/usr/src/lib/libc/stdlib/getenv.c:236
#9  0x0000000800f042de in __clean_env_destructor () at
/usr/src/lib/libc/stdlib/getenv.c:407
#10 0x0000000800de4829 in ?? () from /lib/libc.so.7
#11 0x0000000800f0fb01 in _fini () from /lib/libc.so.7
#12 0x00007fffffffeac0 in ?? ()
#13 0x0000000800508450 in objlist_call_fini (list=0x800643030, force=1
'\001', lockstate=0x7fffffffeadc) at /usr/src/libexec/rtld-elf/rtld.c:1638
#14 0x0000000800508aaf in rtld_exit () at
/usr/src/libexec/rtld-elf/rtld.c:1832
#15 0x0000000800eddfd6 in __cxa_finalize (dso=0x0) at
/usr/src/lib/libc/stdlib/atexit.c:180
#16 0x0000000800e65ec2 in exit (status=0) at
/usr/src/lib/libc/stdlib/exit.c:67
#17 0x0000000000400cc3 in main (argc=Could not find the frame base for
"main".
) at perlmain.c:130
Current language:  auto; currently asm
(gdb)

Thanks!

-- 
Sincerely yours, Dmitry V. Krivenok
e-mail: krivenok.dmitry_at_gmail.com
skype: krivenok_dmitry
jabber: krivenok_dmitry_at_jabber.ru
icq: 242-526-443
Received on Thu Apr 29 2010 - 07:55:26 UTC

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