sane-project-website/old-archive/1999-12/0049.html

149 wiersze
7.3 KiB
HTML

<!-- received="Sun Dec 5 11:55:48 1999 PST" -->
<!-- sent="Sun, 05 Dec 1999 20:51:43 +0100" -->
<!-- name="Robert Högberg" -->
<!-- email="robho956@student.liu.se" -->
<!-- subject="Segmentation Fault with scanimage" -->
<!-- id="19991205195529.2C7DD45939@studentmail.liu.se" -->
<!-- inreplyto="" -->
<title>sane-devel: Segmentation Fault with scanimage</title>
<h1>Segmentation Fault with scanimage</h1>
<b>Robert Högberg</b> (<a href="mailto:robho956@student.liu.se"><i>robho956@student.liu.se</i></a>)<br>
<i>Sun, 05 Dec 1999 20:51:43 +0100</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#49">[ date ]</a><a href="index.html#49">[ thread ]</a><a href="subject.html#49">[ subject ]</a><a href="author.html#49">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0050.html">Dave Dillow: "Looking for the proper backend"</a>
<li> <b>Previous message:</b> <a href="0048.html">Jochen Eisinger: "How to write a backend?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0053.html">Douglas Gilbert: "Re: Segmentation Fault with scanimage"</a>
<li> <b>Reply:</b> <a href="0053.html">Douglas Gilbert: "Re: Segmentation Fault with scanimage"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hello out there..<br>
<p>
I've got a Mustek scanner model MSF-06000SP which I try to get to work with SANE. I've run into some problems <br>
though.. The problem is that scanimage gives me a segmentation fault when I try to scan.<br>
<p>
scanimage -L works good and the scanner is shown in the list but running scanimage -T or just scanimage doesn't <br>
work. This is the output i get:<br>
<p>
lillen:~$ scanimage -d mustek:/dev/scanner &gt; pic<br>
[sanei_init_debug]: Setting debug level of dll to 128.<br>
[dll] adding backend mustek<br>
[dll] loading backend mustek<br>
[dll] dlopen()ing `/usr/local/lib/sane/libsane-mustek.so.1'<br>
[dll] init: initializing backend `mustek'<br>
[sanei_init_debug]: Setting debug level of mustek to 128.<br>
[mustek] sane_init: strip-height set to 1 inches<br>
[mustek] attach: opening /dev/scanner as scsi device<br>
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.<br>
[mustek] attach: sending INQUIRY<br>
[sanei_scsi] scsi_req_enter: entered 0x804d3c8<br>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804d3c8<br>
[sanei_scsi] sanei_scsi.issue: 0x804d3c8<br>
[sanei_scsi] sanei_scsi_req_wait: read 132 bytes<br>
[mustek] scsi_wait_ready: sending TEST_UNIT_READY<br>
[sanei_scsi] scsi_req_enter: entered 0x804d3c8<br>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804d3c8<br>
[sanei_scsi] sanei_scsi.issue: 0x804d3c8<br>
[sanei_scsi] sanei_scsi_req_wait: read 36 bytes<br>
[mustek] attach: firmware revision 2.10<br>
[mustek] attach: scanner has automatic line-distance correction<br>
[mustek] attach: cover open<br>
[mustek] attach: found Mustek scanner model MSF-06000SP (flatbed scanner), 1-pas<br>
s<br>
[dll] control_option(handle=0x804d230,option=0,action=0,value=0xbffffc1c,info=(n<br>
il))<br>
[dll] control_option(handle=0x804d230,option=0,action=0,value=0xbffffbd8,info=(n<br>
il))<br>
[dll] get_option_descriptor(handle=0x804d230,option=0)<br>
[dll] get_option_descriptor(handle=0x804d230,option=1)<br>
[dll] get_option_descriptor(handle=0x804d230,option=2)<br>
[dll] get_option_descriptor(handle=0x804d230,option=3)<br>
[dll] get_option_descriptor(handle=0x804d230,option=4)<br>
[dll] get_option_descriptor(handle=0x804d230,option=5)<br>
[dll] get_option_descriptor(handle=0x804d230,option=6)<br>
[dll] get_option_descriptor(handle=0x804d230,option=7)<br>
[dll] get_option_descriptor(handle=0x804d230,option=8)<br>
[dll] get_option_descriptor(handle=0x804d230,option=9)<br>
[dll] get_option_descriptor(handle=0x804d230,option=10)<br>
[dll] get_option_descriptor(handle=0x804d230,option=11)<br>
[dll] get_option_descriptor(handle=0x804d230,option=12)<br>
[dll] control_option(handle=0x804d230,option=12,action=0,value=0x804cff4,info=(n<br>
il))<br>
[dll] get_option_descriptor(handle=0x804d230,option=13)<br>
[dll] control_option(handle=0x804d230,option=13,action=0,value=0x804cff8,info=(n<br>
il))<br>
[dll] get_option_descriptor(handle=0x804d230,option=14)<br>
[dll] get_option_descriptor(handle=0x804d230,option=15)<br>
[dll] get_option_descriptor(handle=0x804d230,option=16)<br>
[dll] get_option_descriptor(handle=0x804d230,option=17)<br>
[dll] get_option_descriptor(handle=0x804d230,option=18)<br>
[dll] get_option_descriptor(handle=0x804d230,option=19)<br>
[dll] get_option_descriptor(handle=0x804d230,option=20)<br>
[dll] get_option_descriptor(handle=0x804d230,option=21)<br>
[dll] get_option_descriptor(handle=0x804d230,option=22)<br>
[dll] get_option_descriptor(handle=0x804d230,option=23)<br>
[dll] get_option_descriptor(handle=0x804d230,option=24)<br>
[dll] control_option(handle=0x804d230,option=10,action=0,value=0xbffffbd4,info=(<br>
nil))<br>
[dll] control_option(handle=0x804d230,option=11,action=0,value=0xbffffbd4,info=(<br>
nil))<br>
[dll] control_option(handle=0x804d230,option=10,action=0,value=0xbffffc18,info=(<br>
nil))<br>
[dll] get_option_descriptor(handle=0x804d230,option=12)<br>
[dll] control_option(handle=0x804d230,option=12,action=1,value=0xbffffc14,info=0<br>
xbffffbd0)<br>
[dll] control_option(handle=0x804d230,option=11,action=0,value=0xbffffc18,info=(<br>
nil))<br>
[dll] get_option_descriptor(handle=0x804d230,option=13)<br>
[dll] control_option(handle=0x804d230,option=13,action=1,value=0xbffffc14,info=0<br>
xbffffbd0)<br>
[dll] start(handle=0x804d230)<br>
[sanei_init_debug]: Setting debug level of sanei_scsi to 128.<br>
[mustek] scsi_wait_ready: sending TEST_UNIT_READY<br>
[sanei_scsi] scsi_req_enter: entered 0x804d3c8<br>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804d3c8<br>
[sanei_scsi] sanei_scsi.issue: 0x804d3c8<br>
[sanei_scsi] sanei_scsi_req_wait: read 36 bytes<br>
[mustek] do_inquiry: sending INQUIRY<br>
[sanei_scsi] scsi_req_enter: entered 0x804d3c8<br>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804d3c8<br>
[sanei_scsi] sanei_scsi.issue: 0x804d3c8<br>
[sanei_scsi] sanei_scsi_req_wait: read 132 bytes<br>
[sanei_scsi] scsi_req_enter: entered 0x804d3c8<br>
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x804d3c8<br>
[sanei_scsi] sanei_scsi.issue: 0x804d3c8<br>
[sanei_scsi] sanei_scsi_req_wait: read 36 bytes<br>
Segmentation fault <br>
<p>
The computer I'm running SANE on is running the 2.0.36 kernel with generic scsi drivers compiled in. <br>
<p>
I guess that the sg drivers in that kernel is rather outdated, could that be a problem here? Is there a patch for the 2.0 <br>
kernels available? <br>
<p>
Any other ideas about what could cause this?<br>
<p>
Thanks!<br>
<p>
Robert<br>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0050.html">Dave Dillow: "Looking for the proper backend"</a>
<li> <b>Previous message:</b> <a href="0048.html">Jochen Eisinger: "How to write a backend?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0053.html">Douglas Gilbert: "Re: Segmentation Fault with scanimage"</a>
<li> <b>Reply:</b> <a href="0053.html">Douglas Gilbert: "Re: Segmentation Fault with scanimage"</a>
<!-- reply="end" -->
</ul>