sane-project-website/old-archive/1999-04/0123.html

83 wiersze
3.4 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="Tue Apr 6 21:09:11 1999 PDT" -->
<!-- sent="Tue, 6 Apr 1999 16:43:33 -0500" -->
<!-- name="Scott Wells" -->
<!-- email="swells@vignette.com" -->
<!-- subject="Core dump when trying to use net backend" -->
<!-- id="" -->
<!-- inreplyto="" -->
<title>sane-devel: Core dump when trying to use net backend</title>
<h1>Core dump when trying to use net backend</h1>
<b>Scott Wells</b> (<a href="mailto:swells@vignette.com"><i>swells@vignette.com</i></a>)<br>
<i>Tue, 6 Apr 1999 16:43:33 -0500</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#123">[ date ]</a><a href="index.html#123">[ thread ]</a><a href="subject.html#123">[ subject ]</a><a href="author.html#123">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0124.html">Alexandre Siciliano Esposito: "driver for Colorpage vivid+ scanner"</a>
<li> <b>Next message:</b> <a href="0124.html">Red Hat Linux User: "Help? Undefined Reference g_debug compiling xscanimage"</a>
<li> <b>Previous message:</b> <a href="0122.html">David Mosberger-Tang: "Re: Green-ness of microtek scanned images"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
I'm trying to use the net backend to access my scanner (actually, I'm<br>
ULTIMATELY trying to use a TWAIN-SANE gateway, but baby steps first...).<br>
First, some platform specifics:<br>
<p>
RedHat 5.1 x86<br>
Kernel 2.0.34 (I have good reasons for being so far back)<br>
SANE pre1.01-4 w/Microtek2 patch<br>
Adaptec AIC-7850 SCSI host adapter (narrow)<br>
Microtek ScanMaker X6 EL<br>
<p>
I'm able to scan directly from the microtek2 backend wonderfully! Now I'd<br>
like to scan through the net backend. To do so, I've done the following:<br>
<p>
1. Uncommented the 'net' line in dll.conf<br>
2. Added entries for 'localhost' and '&lt;hostname&gt;' in net.conf<br>
3. Set debug level to 128 for DLL, MICROTEK2, NET, and SANEI_SCSI<br>
<p>
I execute:<br>
<p>
$ scanimage -d net:(localhost|&lt;hostname&gt;):microtek2<br>
<p>
and I get:<br>
<p>
&lt;leading info elided&gt;<br>
[dll] loading backend net<br>
[dll] dlopen()ing '/usr/local/SANE/lib/sane/libsane-net.so.1<br>
[dll] init: initializing backend 'net'<br>
[sanei_init_debug]: Setting debug level of net to 128.<br>
[net] adding backend localhost<br>
[net] adding backend &lt;hostname&gt;<br>
Segmentation fault (core dumped)<br>
<p>
I've done a *little* debugging and the seg fault occurs at some point in the<br>
net implementation of sane_get_devices(). Does anyone know what's going on?<br>
Have I left out some all-important step in my configuration? It's worth<br>
noting that:<br>
<p>
$ telnet (localhost|&lt;hostname&gt;) sane<br>
<p>
connects fine; it's not a saned configuration issue (that I know of).<br>
<p>
Thanks in advance,<br>
Scott Wells<br>
<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="0124.html">Alexandre Siciliano Esposito: "driver for Colorpage vivid+ scanner"</a>
<li> <b>Next message:</b> <a href="0124.html">Red Hat Linux User: "Help? Undefined Reference g_debug compiling xscanimage"</a>
<li> <b>Previous message:</b> <a href="0122.html">David Mosberger-Tang: "Re: Green-ness of microtek scanned images"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>