Subj : Xsane segfaults with Kernel 2.6 To : comp.os.linux From : x.chrissie.x Date : Tue Jun 22 2004 02:38 pm Hi! I am running Debian unstable. Some Weeks ago i upgraded my Kernel to Linux-2.6.6. Yesterday i noticed, that Xsane crashed with a segfault. However, i am still able to scan with Xscanimage and scanimage, so this might be a Xsane Bug. When using Kernel 2.4, i used the module scanner, for accessing my usb scanner. (Actec e+48 u). Everything worked fine. The scanner module is now removed from the kernel,as announced. Now if have to use libusb to access my scanner. However, this does now work anymore with Xsane. Anybody has the same problem? Are there some workarounds? I did a strace xsane This are the last words of xsane until the segfault: ---snip--- getuid32() = 1000 gettimeofday({1087935952, 7617}, NULL) = 0 getpid() = 2546 open("/tmp//xsane-preview-level-2-artec__eplus48u:libusb:001:002.ppm-1000-HyVLkS", O_RDWR|O_CREAT|O_EXCL, 0600) = 9 close(9) = 0 open("/tmp//xsane-preview-level-2-artec__eplus48u:libusb:001:002.ppm-1000-HyVLkS", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 9 close(9) = 0 uname({sys="Linux", node="balearen", ...}) = 0 getpid() = 2546 write(5, "\221\3\n\0\27\1\300\2b\0\300\2\0\6@\0\0\0\0\0\0\1\n\0\0"..., 2044) = 2044 write(5, "8\3\4\0#\0\300\2\4\0\0\0\1\0\0\0B\0_\0#\1\300\2#\0\300"..., 2048) = 2048 write(5, "8\3\4\0#\0\300\2\4\0\0\0\0\0\0\0F\0\5\0007\1\300\2#\0\300"..., 2048) = 2048 write(5, "B\3E\0G\1\300\2#\0\300\2\21\0\t\0\21\0\t\0\1\0\n\0\6\0"..., 2048) = 2048 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ .