Opened 10 years ago

Closed 9 years ago

#743 closed defect (fixed)

mondoarchive: free(): invalid pointer

Reported by: Bruno Cornec Owned by: Bruno Cornec
Priority: highest Milestone: 3.2.0
Component: mondo Version:
Severity: blocker Keywords:
Cc:

Description (last modified by Bruno Cornec)

yum install mondo.x86_64

Installing:
mondo                     x86_64          3.2.020140330005930-0.rhel6            mondorescue-test          1.3 M
Installing for dependencies:
mindi                     x86_64          3.0.020140330005930-0.rhel6            mondorescue-test          281 k
mindi-busybox             x86_64          1.21.120140330005930-0.rhel6           mondorescue-test          280 k
perl-MondoRescue          noarch          3.2.020140330005930-0.rhel6            mondorescue-test           54 k


mondoarchive -O -G -9 -N -n nfs://15.x.y.z:/dataMondo -d /backups -p `hostname`-`date +%Y-%m-%d` -S /tmp-mondo/scratch -T /tmp-mondo/tmp

See /var/log/mondoarchive.log for details of backup run.
Checking sanity of your Linux distribution
Done.
*** glibc detected *** mondoarchive: free(): invalid pointer: 0x00000000006ff966 ***
======= Backtrace: =========
/lib64/libc.so.6[0x32a1c76166]
mondoarchive[0x4381b1]
mondoarchive[0x42bba3]
mondoarchive[0x4030d1]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x32a1c1ed1d]
mondoarchive[0x402999]
======= Memory map: ========
00400000-00452000 r-xp 00000000 fd:00 8025                               /usr/sbin/mondoarchive
00652000-00654000 rw-p 00052000 fd:00 8025                               /usr/sbin/mondoarchive
00654000-00658000 rw-p 00000000 00:00 0
006fd000-0071e000 rw-p 00000000 00:00 0                                  [heap]
32a1400000-32a1420000 r-xp 00000000 fd:00 784909                         /lib64/ld-2.12.so
32a161f000-32a1620000 r--p 0001f000 fd:00 784909                         /lib64/ld-2.12.so
32a1620000-32a1621000 rw-p 00020000 fd:00 784909                         /lib64/ld-2.12.so
32a1621000-32a1622000 rw-p 00000000 00:00 0
32a1800000-32a1802000 r-xp 00000000 fd:00 786728                         /lib64/libdl-2.12.so
32a1802000-32a1a02000 ---p 00002000 fd:00 786728                         /lib64/libdl-2.12.so
32a1a02000-32a1a03000 r--p 00002000 fd:00 786728                         /lib64/libdl-2.12.so
32a1a03000-32a1a04000 rw-p 00003000 fd:00 786728                         /lib64/libdl-2.12.so
32a1c00000-32a1d8b000 r-xp 00000000 fd:00 784916                         /lib64/libc-2.12.so
32a1d8b000-32a1f8a000 ---p 0018b000 fd:00 784916                         /lib64/libc-2.12.so
32a1f8a000-32a1f8e000 r--p 0018a000 fd:00 784916                         /lib64/libc-2.12.so
32a1f8e000-32a1f8f000 rw-p 0018e000 fd:00 784916                         /lib64/libc-2.12.so
32a1f8f000-32a1f94000 rw-p 00000000 00:00 0
32a2c00000-32a2c83000 r-xp 00000000 fd:00 785153                         /lib64/libm-2.12.so
32a2c83000-32a2e82000 ---p 00083000 fd:00 785153                         /lib64/libm-2.12.so
32a2e82000-32a2e83000 r--p 00082000 fd:00 785153                         /lib64/libm-2.12.so
32a2e83000-32a2e84000 rw-p 00083000 fd:00 785153                         /lib64/libm-2.12.so
32ad800000-32ad816000 r-xp 00000000 fd:00 786785                         /lib64/libgcc_s-4.4.7-20120601.so.1
32ad816000-32ada15000 ---p 00016000 fd:00 786785                         /lib64/libgcc_s-4.4.7-20120601.so.1
32ada15000-32ada16000 rw-p 00015000 fd:00 786785                         /lib64/libgcc_s-4.4.7-20120601.so.1
3b88800000-3b888ee000 r-xp 00000000 fd:00 19812                          /usr/lib64/libslang.so.2.2.1
3b888ee000-3b88aee000 ---p 000ee000 fd:00 19812                          /usr/lib64/libslang.so.2.2.1
3b88aee000-3b88b0a000 rw-p 000ee000 fd:00 19812                          /usr/lib64/libslang.so.2.2.1
3b88b0a000-3b88b6a000 rw-p 00000000 00:00 0
3b88c00000-3b88c13000 r-xp 00000000 fd:00 15994                          /usr/lib64/libnewt.so.0.52.11
3b88c13000-3b88e13000 ---p 00013000 fd:00 15994                          /usr/lib64/libnewt.so.0.52.11
3b88e13000-3b88e14000 rw-p 00013000 fd:00 15994                          /usr/lib64/libnewt.so.0.52.11
3b88e14000-3b88e15000 rw-p 00000000 00:00 0
7fac03b36000-7fac03b3b000 rw-p 00000000 00:00 0
7fac03b49000-7fac03b4c000 rw-p 00000000 00:00 0
7fff5b7d3000-7fff5b7e8000 rw-p 00000000 00:00 0                          [stack]
7fff5b7ff000-7fff5b800000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
SIGABRT signal received from OS
Abort - probably failed assertion. I'm sleeping for a few seconds so you can rea
Fatal error... MondoRescue is terminating in response to a signal from the OS
---FATALERROR--- MondoRescue is terminating in response to a signal from the OS
If you require technical support, please contact the mailing list.
See http://www.mondorescue.org for details.
The list's members can help you, if you attach that file to your e-mail.
Log file: /var/log/mondoarchive.log
Mondo has aborted.
Execution run ended; result=254
Type 'less /var/log/mondoarchive.log' to see the output log

Change History (4)

comment:1 by Bruno Cornec, 10 years ago

log info:

DBG3: [Main] libmondo-cli.c->process_switches#508: proto = nfs
DBG3: [Main] libmondo-cli.c->process_switches#509: mount = 15.129.19.161:/dataMondo
DBG3: [Main] libmondo-cli.c->process_switches#513: isodir= /mntdataMondo
DBG3: [Main] libmondo-cli.c->process_switches#622: -N means we're now excluding /mntdataMondo|
DBG1: [Main] libmondo-cli.c->process_switches#673: Prefix forced to hpfrcu69.france.hp.com-2014-03-31
INFO: running: which mkfs.vfat > /tmp-mondo/tmp/mondo.tmp.7lfthz/mondo-run-prog-thing.tmp 2>
/tmp-mondo/tmp/mondo.tmp.7lfthz/mondo-run-prog-thing.err
INFO: --------------------------------start of output-----------------------------
INFO: /sbin/mkfs.vfat
INFO: --------------------------------end of output------------------------------
INFO: ...ran just fine. :-)
DBG3: [Main] libmondo-cli.c->handle_incoming_parameters#95: Switches:-
DBG3: [Main] libmondo-cli.c->handle_incoming_parameters#98: -9
DBG3: [Main] libmondo-cli.c->handle_incoming_parameters#98: -G
DBG3: [Main] libmondo-cli.c->handle_incoming_parameters#98: -N
DBG3: [Main] libmondo-cli.c->handle_incoming_parameters#98: -O
DBG3: [Main] libmondo-cli.c->handle_incoming_parameters#98: -S /tmp-mondo/scratch
DBG3: [Main] libmondo-cli.c->handle_incoming_parameters#98: -T /tmp-mondo/tmp
DBG3: [Main] libmondo-cli.c->handle_incoming_parameters#98: -d /backups
DBG3: [Main] libmondo-cli.c->handle_incoming_parameters#98: -n nfs://15.129.19.161:/dataMondo
DBG3: [Main] libmondo-cli.c->handle_incoming_parameters#98: -p hpfrcu69.france.hp.com-2014-03-31
DBG1: [Main] libmondo-tools.c->post_param_configuration#370: Post-param
INFO: SIGABRT signal received from OS
INFO: Abort - probably failed assertion. I'm sleeping for a few seconds so you can read the message.
DBG1: [Main] newt-specific.c->fatal_error#302: Fatal error received - 'MondoRescue is terminating in response to a signal from the OS'
DBG3: [Main] newt-specific.c->fatal_error#318: OK, I think I'm the main PID.
DBG2: [Main] newt-specific.c->fatal_error#325: I'm going to do some cleaning up now.
DBG4: [Main] newt-specific.c->fatal_error#326: killall mindi 2> /dev/null
Version 0, edited 10 years ago by Bruno Cornec (next)

comment:2 by Bruno Cornec, 10 years ago

Status: newassigned

comment:3 by Bruno Cornec, 9 years ago

Description: modified (diff)

comment:4 by Bruno Cornec, 9 years ago

Resolution: fixed
Status: assignedclosed

This is not reproduceable anymore with revision [3321]. Should have been fixed since.

Note: See TracTickets for help on using tickets.