sane-project-website/old-archive/2000-11/0031.html

143 wiersze
6.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: SIGSEGV in sense_handler (scsi_fd=0, result=0x8</TITLE>
<META NAME="Author" CONTENT="Andreas Klemm (andreas@klemm.gtn.com)">
<META NAME="Subject" CONTENT="Re: SIGSEGV in sense_handler (scsi_fd=0, result=0x831d470 &quot;&quot;, arg=0x0) at mustek.c:604">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: SIGSEGV in sense_handler (scsi_fd=0, result=0x831d470 &quot;&quot;, arg=0x0) at mustek.c:604</H1>
<!-- received="Thu Nov 2 12:42:11 2000" -->
<!-- isoreceived="20001102204211" -->
<!-- sent="Thu, 2 Nov 2000 21:17:23 +0100" -->
<!-- isosent="20001102201723" -->
<!-- name="Andreas Klemm" -->
<!-- email="andreas@klemm.gtn.com" -->
<!-- subject="Re: SIGSEGV in sense_handler (scsi_fd=0, result=0x831d470 &quot;&quot;, arg=0x0) at mustek.c:604" -->
<!-- id="20001102211723.A15978@titan.klemm.gtn.com" -->
<!-- inreplyto="20001101212520.D18944@vortex.swb.de" -->
<STRONG>From:</STRONG> Andreas Klemm (<A HREF="mailto:andreas@klemm.gtn.com?Subject=Re:%20SIGSEGV%20in%20sense_handler%20(scsi_fd=0,%20result=0x831d470%20&quot;&quot;,%20arg=0x0)%20at%20mustek.c:604&In-Reply-To=&lt;20001102211723.A15978@titan.klemm.gtn.com&gt;"><EM>andreas@klemm.gtn.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Nov 02 2000 - 12:17:23 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0032.html">Paul Floyd: "Re: SANE on OS/2 (Was: new snapscan user)"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0030.html">Henning Meier-Geinitz: "Re: Agfa Snapscan 310 color problem"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0014.html">Henning Meier-Geinitz: "Re: SIGSEGV in sense_handler (scsi_fd=0, result=0x831d470 &quot;&quot;, arg=0x0) at mustek.c:604"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0066.html">Andreas Klemm: "Re: SIGSEGV in sense_handler (scsi_fd=0, result=0x831d470 &quot;&quot;, arg=0x0) at mustek.c:604"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#31">[ date ]</A>
<A HREF="index.html#31">[ thread ]</A>
<A HREF="subject.html#31">[ subject ]</A>
<A HREF="author.html#31">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
On Wed, Nov 01, 2000 at 09:25:20PM +0100, Henning Meier-Geinitz wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; On Wed, Nov 01, 2000 at 03:33:10PM +0100, Andreas Klemm wrote:
</EM><BR>
<EM>&gt; &gt; xsane and xscanimage core dump after approx. scanning 75% of an image.
</EM><BR>
<EM>&gt; &gt; I compiled sane and xsane with debugging symbols and below you can
</EM><BR>
<EM>&gt; &gt; see, what sense code the application got in mustek.c ...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; This is really a high-quality bug report :-) Nearly every information
</EM><BR>
<EM>&gt; I can think of is provided. This is SANE 1.0.3, isn't it?
</EM><BR>
<P>Thanks ;-) Yes its 1.0.3
<BR>
<P><EM>&gt; There is a bug in the Mustek backend; result and arg aren't checked for NULL
</EM><BR>
<EM>&gt; before they are dereferenced. This bug is fixed in the CVS version of
</EM><BR>
<EM>&gt; SANE and the bugfix will be in SANE 1.0.4.
</EM><BR>
<EM>&gt; [...]
</EM><BR>
<EM>&gt; If this doesn't help, try a new Mustek-backend from
</EM><BR>
<EM>&gt; <A HREF="http://hmg.home.pages.de/sane/">http://hmg.home.pages.de/sane/</A> .
</EM><BR>
<P>I'll try the new backend from file
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mustek-backend-1.0-98.tar.gz
<BR>
<P>Thanks for info !
<BR>
<P><EM>&gt; &gt; I use the Centronix port on the scanner. Do I need perhaps to terminate
</EM><BR>
<EM>&gt; &gt; on the 25 pol. connector ???
</EM><BR>
<EM>&gt; That's the end of the SCSI chain so it must be terminated. However, in
</EM><BR>
<EM>&gt; my experience the scanner works without termination if it's the only
</EM><BR>
<EM>&gt; device on the controller.
</EM><BR>
<P>I got an active 25 pol. terminator, since its not the only
<BR>
device.
<BR>
<P><EM>&gt; I don't think so but you never know. If scanning doesn't work after
</EM><BR>
<EM>&gt; using the new backend, please try
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; SANE_DEBUG_MUSTEK=5 xsane 2&gt;dbg.log
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Scan an image and send the resulting dbg.log to me.
</EM><BR>
<P>O.k. thanks !
<BR>
<P><PRE>
--
Andreas Klemm Powered by FreeBSD SMP
Songs from our band &gt;&gt;64Bits&lt;&lt;............<A HREF="http://www.apsfilter.org/64bits.html">http://www.apsfilter.org/64bits.html</A>
My homepage................................ <A HREF="http://people.FreeBSD.ORG/~andreas">http://people.FreeBSD.ORG/~andreas</A>
Please note: Apsfilter got a NEW HOME................<A HREF="http://www.apsfilter.org/">http://www.apsfilter.org/</A>
<P><P>--
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?Subject=Re:%20SIGSEGV%20in%20sense_handler%20(scsi_fd=0,%20result=0x831d470%20&quot;&quot;,%20arg=0x0)%20at%20mustek.c:604&In-Reply-To=&lt;20001102211723.A15978@titan.klemm.gtn.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0032.html">Paul Floyd: "Re: SANE on OS/2 (Was: new snapscan user)"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0030.html">Henning Meier-Geinitz: "Re: Agfa Snapscan 310 color problem"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0014.html">Henning Meier-Geinitz: "Re: SIGSEGV in sense_handler (scsi_fd=0, result=0x831d470 &quot;&quot;, arg=0x0) at mustek.c:604"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0066.html">Andreas Klemm: "Re: SIGSEGV in sense_handler (scsi_fd=0, result=0x831d470 &quot;&quot;, arg=0x0) at mustek.c:604"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#31">[ date ]</A>
<A HREF="index.html#31">[ thread ]</A>
<A HREF="subject.html#31">[ subject ]</A>
<A HREF="author.html#31">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Thu Nov 02 2000 - 12:43:37 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>