xfs
[Top] [All Lists]

[Bug 320] xfsinvutil -i crash with segfault

To: xfs-master@xxxxxxxxxxx
Subject: [Bug 320] xfsinvutil -i crash with segfault
From: bugzilla-daemon@xxxxxxxxxxx
Date: Thu, 25 Mar 2004 00:01:00 -0800
Sender: linux-xfs-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=320





------- Additional Comments From nathans@xxxxxxx  2004-24-03 13:56 PDT -------
Created an attachment (id=112)
 --> (http://oss.sgi.com/bugzilla/attachment.cgi?id=112&action=view)
initial xfsinvutil segv fix attempt

That is pretty bizarre, not too much that looks like it could SEGV at that
point, maybe your compiler is doing something wacko - does this patch help?

thanks.

------- Additional Comments From Nicolas.Kowalski@xxxxxxx  2004-25-03 00:00 PDT 
-------
Unfortunately, the patch did not help. Here is the gdb backtrace I get this 
morning:


gaspard:~# gdb xfsinvutil core
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...
Core was generated by `xfsinvutil -i'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libuuid.so.1...done.
Loaded symbols for /lib/libuuid.so.1
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x400c79ef in malloc () from /lib/libc.so.6
(gdb) bt
#0  0x400c79ef in malloc () from /lib/libc.so.6
#1  0x400c7074 in malloc () from /lib/libc.so.6
#2  0x0804e874 in node_create (hidden=1, expanded=0, level=4, deleted=0, 
    file_idx=1, text=0x8054fc0 ' ' <repeats 12 times>, "media file: dlt7000", 
    ops=0x8053320, parent=0x8054f68, children=0x0, nbr_children=0, data_idx=2)
    at list.c:68
#3  0x0804fdbf in generate_stobj_menu (startnode=0x8054218, level=2, 
    StObjFileName=0x8054dd0 "/var/lib/xfsdump/inventory/4197c50d-45a6-45de-9992-
5a35c8c45d96.StObj") at stobj.c:505
#4  0x0804e322 in generate_invidx_menu (
    inv_path=0x8053640 "/var/lib/xfsdump/inventory", startnode=0x8054b38, 
    level=1, 
    idxFileName=0x8053f38 "/var/lib/xfsdump/inventory/1bb54683-d619-4bbc-ba16-be
7e144229e1.InvIndex") at invidx.c:973
#5  0x0804c1f5 in generate_fstab_menu (
    inv_path=0x8053640 "/var/lib/xfsdump/inventory", startnode=0x0, level=0, 
    fstabname=0x8053d18 "/var/lib/xfsdump/inventory/fstab") at fstab.c:283
#6  0x0804b9e3 in generate_menu (
    inv_path=0x8053640 "/var/lib/xfsdump/inventory") at cmenu.c:532
#7  0x0804bb1e in invutil_interactive (
    inv_path=0x8053640 "/var/lib/xfsdump/inventory", mountpt=0x0, uuidp=0x0, 
    timeSecs=0) at cmenu.c:587
#8  0x08049b5d in main (argc=2, argv=0xbffffd54) at invutil.c:216



Thanks.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>