1.

Solve : segmentation fault with Xsane?

Answer»

Hi I am new to this forum, I have been using Mepis for about two years and currently my primary OS is Mepis 8. Recently after a mobo died on my old printserving puter I moved my printers to ANOTHER BOX successfully installing CUPS and networked my laptop and printers, I have an epson stylus photo rx630 which is my scanner, xsane is my scanner frontend of choice. When I installed it and tried to run it, it failed running it from command line returned segmentation fault. I have posted on mepislovers with no luck and have emailed the author of xsane, which may or may not be a long wait. I am hoping someone is familiar with segmentation faults which seems to be a register address issue or an array issue depending on what you read. I am pretty certain the fault is here


[emailprotected]:~$ catchsegv xsane
*** Segmentation fault
Register dump:

EAX: 00000000 EBX: b5f5e2fc ECX: 08a1b567 EDX: 00000000
ESI: 00000000 EDI: 08a1b568 EBP: bfa4ae98 ESP: bfa4ae90

EIP: b6dac110 EFLAGS: 00010246

CS: 0073 DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b

Trap: 0000000e Error: 00000004 OldMask: 00000000
ESP/signal: bfa4ae90 CR2: 00000000

FPUCW: ffff037f FPUSW: ffff0020 TAG: ffffffff
IPOFF: b738e2e9 CSSEL: 0073 DATAOFF: 00000000 DATASEL: 007b

ST(0) 0000 0000000000000000 ST(1) 0000 0000000000000000
ST(2) 0000 e000000000000000 ST(3) 0000 a2425ff75e14fde6
ST(4) 0000 edbe760000000000 ST(5) 0000 0000000000000000
ST(6) 0000 edbe760000000000 ST(7) 0000 0000000000000000

Backtrace:
/lib/libSegFault.so[0xb7742100]
??:0(??)[0xffffe400] //I think this is the problem but I am now stuck
/usr/lib/sane/libsane-epson2.so.1(sane_epson2_control_option+0x17b)[0xb5f4fecb]
/usr/lib/libsane.so.1(sane_dll_control_option+0x77)[0xb7729357]
/usr/lib/libsane.so.1(sane_control_option+0x39)[0xb77279f9]
xsane[0x8053f81]
xsane[0x80c1f2a]
xsane[0x80c5a3c]
xsane[0x80c62ac]
xsane[0x80c74c2]
/lib/libc.so.6(__libc_start_main+0xe5)[0xb6d51455]
xsane[0x804f3f1]

I have the COMPLETE output of catchsegv and will post it if someone understands this problem and can sort it and they need more info

many thinks MokshaHello,

Of what I remember from the old days when I played with this stuff, you can rebuild XSane...Okay I am not sure how to do thatHello,

Get LATEST available source. Check the docs on building it from source.



Discussion

No Comment Found