[sane-devel] Segmentation fault on OS X

Andrew Hawkes hawkes at quy-su.org
Mon Dec 30 02:53:40 GMT 2002


I get segfaults when running scanimage, xscanimage, xcam, or xsane on 
OS X. I have made sure I have only one SANE installation. When I run 
any of them through gdb, I find the segmentation fault is at the exact 
same point:

(gdb) r
Starting program: /Volumes/Fink/bin/xscanimage
[Switching to process 7168 thread 0xb03]
Reading symbols for shared libraries ................ done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x002d0b4c in usb_find_devices ()
(gdb) backtrace
#0  0x002d0b4c in usb_find_devices ()
#1  0x00157494 in sane_sm3600_init ()
#2  0x00015814 in init ()
#3  0x0001618c in sane_dll_get_devices ()
#4  0x00014f34 in sane_get_devices ()
#5  0x00005ff8 in init ()
#6  0x00006134 in interface ()
#7  0x000063a4 in main ()
#8  0x00002014 in _start (argc=1, argv=0xbffffc00, envp=0xbffffc08) at
/SourceCache/Csu/Csu-45/crt.c:267
#9  0x00001e94 in start ()

Has anyone seen this before? Thanks.

-Andrew




More information about the sane-devel mailing list