Package: mondo
Version: 2.04-2
Severity: normal
monodarchive sometimes segfaults when used with option '-g' which turns
on the newt interface. Basically the more there is to archive, i.e. the
longer it runs, the more likely is a segfault.
An (inconclusive) sample backtrace looks like this:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 32771 (LWP 11481)]
0x401534ce in malloc_consolidate (av=0x40211060) at malloc.c:4380)]
4380 malloc.c: No such file or directory.
in malloc.c
(gdb) bt
#0 0x401534ce in malloc_consolidate (av=0x40211060) at malloc.c:4380
#1 0x4015336e in _int_free (av=0x40211060, mem=0xa029950) at
malloc.c:4260
#2 0x4015209f in __libc_free (mem=0xa0297d8) at malloc.c:3359
#3 0x40047ac9 in strip_spaces (in_out=0x40066c20 "/usr/bin/getfacl")
at libmondo-string.c:905
#4 0x40039488 in call_program_and_get_last_line_of_output (
call=0xa0240e0 ",\022!@,\022!@") at libmondo-fork.c:159
#5 0x40036469 in find_home_of_exe (fname=0x40057bb8 "getfacl")
at libmondo-files.c:404
#6 0x40031580 in get_acl_list (filelist=0x40211060 "",
facl_fname=0x8072500
"/home/mondorescue/tmp/tmp.mondo.13259/tmp.mondo.21895/acl_list.70.gz")
at libmondo-filelist.c:619
#7 0x4002118c in create_afio_files_in_background (inbuf=0xa01ccc8)
at libmondo-archive.c:1116
#8 0x40095e51 in pthread_start_thread (arg=0xbf5ffbe0) at manager.c:309
#9 0x40095ecf in pthread_start_thread_event (arg=0xbf5ffbe0) at
manager.c:333
#10 0x401b86ea in clone () from /usr/lib/debug/libc.so.6
(gdb)
mondoarchive and libmondo-newt are linked against slang and newt:
>ldd /usr/sbin/mondoarchive
libmondo.so.2 => /usr/lib/libmondo.so.2 (0xb7f8b000)
libmondo-newt.so.1 => /usr/lib/libmondo-newt.so.1 (0xb7f80000)
libnewt.so.0.51 => /usr/lib/libnewt.so.0.51 (0xb7f6f000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb7f6c000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7f5d000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7e29000)
libslang.so.1-UTF8 => /lib/libslang.so.1-UTF8 (0xb7db6000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7d93000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fea000)
>ldd /usr/lib/libmondo-newt.so.1.0.0
libnewt.so.0.51 => /usr/lib/libnewt.so.0.51 (0xb7fd7000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb7fd3000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7fc4000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7e90000)
libslang.so.1-UTF8 => /lib/libslang.so.1-UTF8 (0xb7e1d000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7dfb000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
If the libfribidi0 package is installed, the segfaults go away and mondoarchive
runs just fine with the '-g' option.
libfribidi is used opportunistically according to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=260898.
I have a strong suspicion that there is something wrong with this but can't
nail it down. I have filed
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=290722 against the
slang1a-utf8 package.
I would very much welcome any help in overcoming this issue.
Best regards
Andree
PS: I'm not including any logs here, because they just stop mid-sentence and in
different places for every test run.
-- Package-specific info:
/var/log/mindi.log and /var/log/mondo-archive.log not included as per user
request.
=========================================================
Fileystem information not included as per user request.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k7
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Versions of packages mondo depends on:
ii afio 2.5-2 Archive file manipulation program
ii binutils 2.15-5 The GNU assembler, linker and bina
ii buffer 1.19-7 Buffering/reblocking program for t
ii cdrecord 4:2.01+01a01-2 command line CD writing tool
ii dosfstools 2.10-1 Utilities to create and check MS-D
ii gawk 1:3.1.4-2 GNU awk, a pattern scanning and pr
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libnewt0.51 0.51.6-20 Not Erik's Windowing Toolkit - tex
ii lzop 1.01-3 fast compression program
ii mindi 1.04-2 creates boot/root disks based on y
Versions of packages mindi depends on:
ii bzip2 1.0.2-3 high-quality block-sorting file co
ii file 4.12-1 Determines file type using "magic"
ii gawk 1:3.1.4-2 GNU awk, a pattern scanning and pr
ii mindi-busybox 1.00-3 busybox for mindi/mondo
ii mindi-kernel 2.4.27-1 Failsafe linux kernel for mindi
ii mindi-partimagehack 0.6.2-3 mindi/mondo version of partimage,
ii mkisofs 4:2.01+01a01-2 Creates ISO-9660 CD-ROM filesystem
ii ms-sys 1.1.3-1 Write a Microsoft compatible boot
ii nano 1.2.4-4 free Pico clone with some new feat
ii parted 1.6.11-9 The GNU Parted disk partition resi
ii syslinux 2.11-0.1 Bootloader for Linux/i386 using MS
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]