Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#134 closed defect (fixed)

mondoarchive crash on FC6 - malloc() : memory corruption

Reported by: apfitch@… Owned by: Bruno Cornec
Priority: normal Milestone: 2.2.3
Component: mondo Version: 2.2.0
Severity: critical Keywords:
Cc:

Description

My os is Fedora Core 6 Linux apfitch2 2.6.19-1.2895.fc6 #1 SMP Wed Jan 10 19:28:18 EST 2007 i686 i686 i386 GNU/Linux

Versions: mondo-2.2.0-2.fc5 mindi-1.2.0-2.fc5 buffer-1.19-1

Here's the command: mondoarchive -O -c16 -d /dev/hdb -I"/home/apf /home/public/data/PhotosFSpot"

Here's what appeared on the terminal at about 60% of the first disc:

*** glibc detected *** mondoarchive: malloc(): memory corruption: 0xb680b7c8 ***
======= Backtrace: =========
/lib/libc.so.6[0x4775c7ab]
/lib/libc.so.6(__libc_malloc+0x7e)[0x4775dece]
/lib/libc.so.6(popen+0x1f)[0x4774d44f]
mondoarchive[0x80603fa]
mondoarchive[0x8060805]
mondoarchive[0x806097c]
mondoarchive[0x80555a5]
/lib/libpthread.so.0[0x478693db]
/lib/libc.so.6(clone+0x5e)[0x477c326e]
======= Memory map: ========
0023a000-0023b000 r-xp 0023a000 00:00 0          [vdso]
08047000-080a1000 r-xp 00000000 fd:00 26946645   /usr/sbin/mondoarchive
080a1000-080a3000 rwxp 0005a000 fd:00 26946645   /usr/sbin/mondoarchive
080a3000-080a7000 rwxp 080a3000 00:00 0 
09b6c000-0a9f2000 rwxp 09b6c000 00:00 0 
476d9000-476f2000 r-xp 00000000 fd:00 18284835   /lib/ld-2.5.so
476f2000-476f3000 r-xp 00018000 fd:00 18284835   /lib/ld-2.5.so
476f3000-476f4000 rwxp 00019000 fd:00 18284835   /lib/ld-2.5.so
476f6000-4782d000 r-xp 00000000 fd:00 18285311   /lib/libc-2.5.so
4782d000-4782f000 r-xp 00137000 fd:00 18285311   /lib/libc-2.5.so
4782f000-47830000 rwxp 00139000 fd:00 18285311   /lib/libc-2.5.so
47830000-47833000 rwxp 47830000 00:00 0 
47835000-4785a000 r-xp 00000000 fd:00 18285321   /lib/libm-2.5.so
4785a000-4785b000 r-xp 00024000 fd:00 18285321   /lib/libm-2.5.so
4785b000-4785c000 rwxp 00025000 fd:00 18285321   /lib/libm-2.5.so
4785e000-47860000 r-xp 00000000 fd:00 18285319   /lib/libdl-2.5.so
47860000-47861000 r-xp 00001000 fd:00 18285319   /lib/libdl-2.5.so
47861000-47862000 rwxp 00002000 fd:00 18285319   /lib/libdl-2.5.so
47864000-47877000 r-xp 00000000 fd:00 18284700   /lib/libpthread-2.5.so
47877000-47878000 r-xp 00012000 fd:00 18284700   /lib/libpthread-2.5.so
47878000-47879000 rwxp 00013000 fd:00 18284700   /lib/libpthread-2.5.so
47879000-4787b000 rwxp 47879000 00:00 0 
4787d000-4788e000 r-xp 00000000 fd:00 26944818   /usr/lib/libnewt.so.0.52.1
4788e000-4788f000 rwxp 00010000 fd:00 26944818   /usr/lib/libnewt.so.0.52.1
481fc000-4829d000 r-xp 00000000 fd:00 26950327   /usr/lib/libslang.so.2.0.6
4829d000-482ad000 rwxp 000a0000 fd:00 26950327   /usr/lib/libslang.so.2.0.6
482ad000-482cc000 rwxp 482ad000 00:00 0 
48551000-4855c000 r-xp 00000000 fd:00 18284793   /lib/libgcc_s-4.1.1-20070105.so.1
4855c000-4855d000 rwxp 0000a000 fd:00 18284793   /lib/libgcc_s-4.1.1-20070105.so.1
b6800000-b6821000 rw-p b6800000 00:00 0 
b6821000-b6900000 ---p b6821000 00:00 0 
b6a00000-b6b00000 rw-p b6a00000 00:00 0 
b6b20000-b6b21000 ---p b6b20000 00:00 0 
b6b21000-b7521000 rw-p b6b21000 00:00 0 
b7521000-b7522000 ---p b7521000 00:00 0 
b7522000-b7f24000 rw-p b7522000 00:00 0 
b7f37000-b7f3c000 rw-p b7f37000 00:00 0 
bfd07000-bfd1c000 rw-p bfd07000 00:00 0          [stack]
SIGABRT signal received from OS
Abort - probably failed assertion. I'm sleeping for a few seconds so you can rea

I am suspicious of multiprocessor issues, due to the reference to libpthread, so I shall attempt to disable one processor.

Crash occurred twice. Perhaps first I should upgrade to latest versions :-) Alan

Change History (4)

comment:1 by Bruno Cornec, 17 years ago

Now that 2.2.2 is officially published on ftp://ftp.mondorescue.org could you check again if this has been solved or not.

comment:2 by apfitch, 17 years ago

Resolution: fixed
Status: newclosed

Hi Bruno,

I've just tried out again, with latest versions of everything, and it all seems to have worked. The bug appears to be fixed,

thanks

Alan

comment:3 by Bruno Cornec, 17 years ago

Milestone: 2.2.3

Please do NOT use 2.2.2, but 2.2.3 instead. there was a nasty bug with bzip2 for 2.2.2.

Thanks for your feedback.

comment:4 by apfitch, 17 years ago

Hi Bruno,

yes I did the test with versions downloaded today (29th April 2007).

So I'm using mindi-1.2.3-1.fc6 mindi-busybox-1.2.2-2.fc6 mondo-2.2.3-1.fc6 kernel-2.6.20-1.2944.fc6

regards Alan

Note: See TracTickets for help on using tickets.