You are not logged in.

#1 2006-08-19 00:13:33

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

glibc detected : double free or corruption (fasttop)

Lately, I'm having  a lot of "*** glibc detected *** cvs: double free or corruption (fasttop): 0x080df7b0 ***" errors. It started with the qingy and scorched3d package I maintain in community/AUR. And now, I'm having it while trying to login to the community cvs:

*** glibc detected *** cvs: double free or corruption (fasttop): 0x080df7b0 ***
======= Backtrace: =========
/lib/libc.so.6[0x402cbab0]
/lib/libc.so.6(__libc_free+0x84)[0x402cd0f4]
cvs[0x807308c]
cvs[0x80754fb]
/lib/libc.so.6(__libc_start_main+0xd8)[0x4027e808]
cvs[0x804aea1]
======= Memory map: ========
08048000-080d7000 r-xp 00000000 03:06 293581     /usr/bin/cvs
080d7000-080db000 rwxp 0008e000 03:06 293581     /usr/bin/cvs
080db000-080fc000 rwxp 080db000 00:00 0          [heap]
40000000-4001a000 r-xp 00000000 03:08 98447      /lib/ld-2.4.so
4001a000-4001b000 r-xp 00019000 03:08 98447      /lib/ld-2.4.so
4001b000-4001c000 rwxp 0001a000 03:08 98447      /lib/ld-2.4.so
4001c000-4001e000 rwxp 4001c000 00:00 0 
4001e000-40022000 r-xp 00000000 03:08 98314      /lib/libnss_dns-2.4.so
40022000-40024000 rwxp 00003000 03:08 98314      /lib/libnss_dns-2.4.so
40024000-4002e000 r-xp 00000000 03:06 374950     /usr/lib/libgcc_s.so.1
4002e000-4002f000 rwxp 00009000 03:06 374950     /usr/lib/libgcc_s.so.1
40043000-40048000 r-xp 00000000 03:08 98342      /lib/libcrypt-2.4.so
40048000-4004a000 rwxp 00004000 03:08 98342      /lib/libcrypt-2.4.so
4004a000-40071000 rwxp 4004a000 00:00 0 
40071000-40086000 r-xp 00000000 03:06 376262     /usr/lib/libgssapi.so.4.0.0
40086000-40087000 rwxp 00014000 03:06 376262     /usr/lib/libgssapi.so.4.0.0
40087000-400cb000 r-xp 00000000 03:06 376238     /usr/lib/libkrb5.so.17.4.0
400cb000-400ce000 rwxp 00044000 03:06 376238     /usr/lib/libkrb5.so.17.4.0
400ce000-400de000 r-xp 00000000 03:06 376255     /usr/lib/libroken.so.16.1.0
400de000-400df000 rwxp 00010000 03:06 376255     /usr/lib/libroken.so.16.1.0
400df000-40206000 r-xp 00000000 03:06 381378     /usr/lib/libcrypto.so.0.9.8
40206000-4021b000 rwxp 00126000 03:06 381378     /usr/lib/libcrypto.so.0.9.8
4021b000-4021f000 rwxp 4021b000 00:00 0 
4021f000-40250000 r-xp 00000000 03:06 376258     /usr/lib/libasn1.so.6.1.0
40250000-40251000 rwxp 00031000 03:06 376258     /usr/lib/libasn1.so.6.1.0
40251000-40253000 r-xp 00000000 03:08 98386      /lib/libcom_err.so.2.1
40253000-40254000 rwxp 00001000 03:08 98386      /lib/libcom_err.so.2.1
40254000-40265000 r-xp 00000000 03:08 98343      /lib/libnsl-2.4.so
40265000-40267000 rwxp 00010000 03:08 98343      /lib/libnsl-2.4.so
40267000-40269000 rwxp 40267000 00:00 0 
40269000-40380000 r-xp 00000000 03:08 98348      /lib/libc-2.4.so
40380000-40382000 r-xp 00116000 03:08 98348      /lib/libc-2.4.so
40382000-40384000 rwxp 00118000 03:08 98348      /lib/libc-2.4.so
40384000-40387000 rwxp 40384000 00:00 0 
40387000-40395000 r-xp 00000000 03:08 98324      /lib/libresolv-2.4.so
40395000-40397000 rwxp 0000d000 03:08 98324      /lib/libresolv-2.4.so
40397000-40399000 rwxp 40397000 00:00 0 
40399000-403a8000 r-xp 00000000 03:08 98449      /lib/libpthread-2.4.so
403a8000-403aa000 rwxp 0000e000 03:08 98449      /lib/libpthread-2.4.so
403aa000-403ad000 rwxp 403aa000 00:00 0 
403ad000-403af000 r-xp 00000000 03:08 98357      /lib/libdl-2.4.so
403af000-403b1000 rwxp 00001000 03:08 98357      /lib/libdl-2.4.so
403b1000-40496000 r-xp 00000000 03:06 374779     /usr/lib/libdb-4.4.so
40496000-40498000 rwxp 000e5000 03:06 374779     /usr/lib/libdb-4.4.so
40498000-40499000 rwxp 40498000 00:00 0 
40499000-404a1000 r-xp 00000000 03:08 98334      /lib/libnss_files-2.4.so
404a1000-404a3000 rwxp 00007000 03:08 98334      /lib/libnss_files-2.4.so
40500000-40521000 rwxp 40500000 00:00 0 
40521000-40600000 ---p 40521000 00:00 0 
bff01000-bff15000 rwxp bff01000 00:00 0          [stack]
bff15000-bff17000 rw-p bff15000 00:00 0 
ffffe000-fffff000 ---p 00000000 00:00 0          [vdso]
cvs [login aborted]: received abort signal

I'm starting to think the problem is on my side as I was having hard freezes a while ago. I thought it was heat related but recently I started to get occasional hard freezes. It might be hardware related. I'll test my memory with memtest86+.
Does anyone else have these kind of "glibc: double free or corruption" errors?

Thanks.

Offline

#2 2006-08-19 00:17:13

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: glibc detected : double free or corruption (fasttop)

here's another guy having it: http://bbs.archlinux.org/viewtopic.php? … c+detected

Search to the rescue!


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#3 2006-08-19 01:16:59

kastor
Member
From: Mendoza - Argentina
Registered: 2006-06-18
Posts: 59
Website

Re: glibc detected : double free or corruption (fasttop)

try with:

#ERROR *** glibc detected *** free(): invalid pointer: 0x08xxx ***
#0 -- Do not generate an error message, and do not kill the program
#1 -- Generate an error message, but do not kill the program
#2 -- Do not generate an error message, but kill the program
#3 -- Generate an error message and kill the program

export MALLOC_CHECK_=0

Offline

#4 2006-08-19 02:29:32

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: glibc detected : double free or corruption (fasttop)

test1000 wrote:

here's another guy having it: http://bbs.archlinux.org/viewtopic.php? … c+detected

Search to the rescue!

Yes, I didn't searched as these glibc error are quite generic (can happen with lots of apps). I am more interested in knowing if people had problem with cvs especially or with several apps.

kastor wrote:

try with:

#ERROR *** glibc detected *** free(): invalid pointer: 0x08xxx ***
#0 -- Do not generate an error message, and do not kill the program
#1 -- Generate an error message, but do not kill the program
#2 -- Do not generate an error message, but kill the program
#3 -- Generate an error message and kill the program

export MALLOC_CHECK_=0

Thanks, I did used this variable when trying to debug scorched3d but I had forgotten about it. cvs now works. I will still do the memtest and perhaps have the laptop checked.

Offline

Board footer

Powered by FluxBB