(gdb) r Starting program: /home/joey/tmp/discover1-1.7.12/discover/.libs/discover warning: linux_test_for_tracefork: unexpected result from waitpid (14732, status 0xb7f) Program received signal SIGSEGV, Segmentation fault. 0x70144d68 in fclose () from /lib/libc.so.6 (gdb) bt #0 0x70144d68 in fclose () from /lib/libc.so.6 #1 0x70034534 in init_lst () from /lib/libdiscover.so.1 #2 0x00011428 in main (argc=1, argv=0xeffffaf4) at discover.c:254 In the sbus code, unsuprisingly. Here's the strace: open("/usr/share/discover/pcmcia.lst", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/discover/sbus.lst", O_RDONLY) = -1 ENOENT (No such file or directory) --- SIGSEGV (Segmentation fault) @ 0 (0) --- joey@zebra:~/tmp/discover1-1.7.12/discover>strace =discover 2>&1 | grep open open("/etc/ld.so.cache", O_RDONLY) = 3 open("/lib/libdiscover.so.1", O_RDONLY) = 3 open("/lib/libm.so.6", O_RDONLY) = 3 open("/lib/libc.so.6", O_RDONLY) = 3 open("/etc/discover/pci.lst", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/discover/pci.lst", O_RDONLY) = 3 open("/usr/share/discover/pci.lst", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/discover/usb.lst", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/discover/usb.lst", O_RDONLY) = 3 open("/usr/share/discover/usb.lst", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/discover/pcmcia.lst", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/discover/pcmcia.lst", O_RDONLY) = 3 open("/usr/share/discover/pcmcia.lst", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/discover/sbus.lst", O_RDONLY) = -1 ENOENT (No such file or directory) joey@zebra:~/tmp/discover1-1.7.12/discover> -- see shy jo
Attachment:
signature.asc
Description: Digital signature