sane-project-website/old-archive/1999-09/0158.html

84 wiersze
3.5 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Fri Sep 24 14:51:59 1999 PDT" -->
<!-- sent="Fri, 24 Sep 1999 23:50:42 +0200" -->
<!-- name="Oliver Rauch" -->
<!-- email="oliver.rauch@Wolfsburg.DE" -->
<!-- subject="Re: Segfault from scanimage" -->
<!-- id="" -->
<!-- inreplyto="Segfault from scanimage" -->
<title>sane-devel: Re: Segfault from scanimage</title>
<h1>Re: Segfault from scanimage</h1>
<b>Oliver Rauch</b> (<a href="mailto:oliver.rauch@Wolfsburg.DE"><i>oliver.rauch@Wolfsburg.DE</i></a>)<br>
<i>Fri, 24 Sep 1999 23:50:42 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#158">[ date ]</a><a href="index.html#158">[ thread ]</a><a href="subject.html#158">[ subject ]</a><a href="author.html#158">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0159.html">Rick Knebel: "sane and freebsd 3.2"</a>
<li> <b>Previous message:</b> <a href="0157.html">Roy Stogner: "Segfault from scanimage"</a>
<li> <b>Maybe in reply to:</b> <a href="0157.html">Roy Stogner: "Segfault from scanimage"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Roy Stogner wrote:<br>
<p>
<i>&gt; I've been trying to get SANE up and running on my Redhat 6 system with</i><br>
<i>&gt; a Umax Astra 610S scanner and a futuredomain-based SCSI card. The</i><br>
<i>&gt; SCSI card works fine with my CD burner. The scanner has worked fine</i><br>
<i>&gt; on other systems (including with SANE) in the past.</i><br>
<i>&gt;</i><br>
<i>&gt; I have a symlink from /dev/scanner to /dev/sg1, the correct device.</i><br>
<i>&gt;</i><br>
<i>&gt; With previous attempts to configure SANE, "scanimage --list-devices"</i><br>
<i>&gt; found and identified the scanner fine, but xscanimage segfaulted. I</i><br>
<i>&gt; attributed this to the binary RPM I was using, and tried rebuilding</i><br>
<i>&gt; from source. With the source build (and with the binary RPM I'm</i><br>
<i>&gt; currently trying), "scanimage -L" itself segfaults.</i><br>
<i>&gt;</i><br>
<i>&gt; Every build I've tried has been of sane 1.0.1. Since I haven't added</i><br>
<i>&gt; debugging flags yet, gdb'ing the core dump just gives me a backtrace</i><br>
<i>&gt; of:</i><br>
<i>&gt; (gdb) where</i><br>
<i>&gt; #0 strcmp (p1=0x80aadb4 "/dev/sga",</i><br>
<i>&gt; p2=0x6167732f &lt;Address 0x6167732f out of bounds&gt;)</i><br>
<i>&gt; at ../sysdeps/generic/strcmp.c:39</i><br>
<i>&gt; #1 0x401fd2dc in sanei_hp_device_info_get ()</i><br>
<i>&gt;</i><br>
<i>&gt; which may not be helpful. I'm hoping that this is a recognizable</i><br>
<i>&gt; problem with a known fix, but if it isn't and anyone could use better</i><br>
<i>&gt; debugging info, let me know.</i><br>
<i>&gt;</i><br>
<p>
Hi Roy,<br>
<p>
edit /usr/local/etc/sane.d/dll.conf<br>
and comment out all but umax<br>
<p>
Bye<br>
Oliver<br>
<p>
<p>
<pre>
--
EMAIL: <a href="mailto:Oliver.Rauch@Wolfsburg.DE">Oliver.Rauch@Wolfsburg.DE</a>
WWW: <a href="http://www.wolfsburg.de/~rauch">http://www.wolfsburg.de/~rauch</a>
<p>
<p>
<p>
<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="0159.html">Rick Knebel: "sane and freebsd 3.2"</a>
<li> <b>Previous message:</b> <a href="0157.html">Roy Stogner: "Segfault from scanimage"</a>
<li> <b>Maybe in reply to:</b> <a href="0157.html">Roy Stogner: "Segfault from scanimage"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>