sane-project-website/old-archive/2000-01/0275.html

145 wiersze
5.3 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: Segfault in xscanimage</TITLE>
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@Wolfsburg.DE)">
<META NAME="Subject" CONTENT="Re: Segfault in xscanimage">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Segfault in xscanimage</H1>
<!-- received="Sat Jan 29 08:36:05 2000" -->
<!-- isoreceived="20000129163605" -->
<!-- sent="Sat, 29 Jan 2000 17:40:07 +0100" -->
<!-- isosent="20000129164007" -->
<!-- name="Oliver Rauch" -->
<!-- email="oliver.rauch@Wolfsburg.DE" -->
<!-- subject="Re: Segfault in xscanimage" -->
<!-- id="389317E7.F95100A@wolfsburg.de" -->
<!-- inreplyto="20000129101146.A30354@khk.net" -->
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@Wolfsburg.DE?Subject=Re:%20Segfault%20in%20xscanimage&In-Reply-To=&lt;389317E7.F95100A@wolfsburg.de&gt;"><EM>oliver.rauch@Wolfsburg.DE</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Jan 29 2000 - 08:40:07 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0276.html">Bernd Schroeder: "Re: Microtek Scanmaker X6 SCSI"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0274.html">Henning Meier-Geinitz: "Re: xsane-0.52 available"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0272.html">Karl Heinz Kremer: "Segfault in xscanimage"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0280.html">Karl Heinz Kremer: "Re: Segfault in xscanimage"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0280.html">Karl Heinz Kremer: "Re: Segfault in xscanimage"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#275">[ date ]</A>
<A HREF="index.html#275">[ thread ]</A>
<A HREF="subject.html#275">[ subject ]</A>
<A HREF="author.html#275">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Karl Heinz Kremer wrote:
<BR>
<P><EM>&gt; I need some help debugging a problem (or ruling out that my
</EM><BR>
<EM>&gt; backend is causing this problme):
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; When I run xscanimage with the latest CVS version of the Epson
</EM><BR>
<EM>&gt; backend I get a segmentation fault when
</EM><BR>
<EM>&gt; - Advanced options are _NOT_ selected
</EM><BR>
<EM>&gt; - and I click on scan or preview
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; When the advanced options are displayed everything works fine.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; The following output is produced when running xscanimage in gdb:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; (gdb) run
</EM><BR>
<EM>&gt; Starting program: /usr/bin/xscanimage
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkGammaCurve'
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Program received signal SIGSEGV, Segmentation fault.
</EM><BR>
<EM>&gt; 0x8054e37 in gsg_sync (dialog=0x8097ae0) at gtkglue.c:1334
</EM><BR>
<EM>&gt; 1334 curve = GTK_GAMMA_CURVE (dialog-&gt;element[i].widget)-&gt;curve;
</EM><BR>
<EM>&gt; (gdb) quit
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; The fault happens in line 1334 of gtkglue.c.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Is this my fault, and if so, where should I look?
</EM><BR>
<EM>&gt;
</EM><BR>
<P>Hi Karl Heinz
<BR>
<P>try if it works when you comment out:
<BR>
s-&gt;opt[ OPT_GAMMA_VECTOR].cap |= SANE_CAP_ADVANCED;
<BR>
and the equivalent lines for red/green/blue
<BR>
<P><P>Bye
<BR>
Oliver
<BR>
<P><P><PRE>
--
Homepage: <A HREF="http://www.wolfsburg.de/~rauch">http://www.wolfsburg.de/~rauch</A>
sane-umax: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-umax.html">http://www.wolfsburg.de/~rauch/sane/sane-umax.html</A>
xsane: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-xsane.html">http://www.wolfsburg.de/~rauch/sane/sane-xsane.html</A>
E-Mail: mailto:<A HREF="mailto:Oliver.Rauch@Wolfsburg.DE?Subject=Re:%20Segfault%20in%20xscanimage&In-Reply-To=&lt;389317E7.F95100A@wolfsburg.de&gt;">Oliver.Rauch@Wolfsburg.DE</A>
<P><P><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:%20Segfault%20in%20xscanimage&In-Reply-To=&lt;389317E7.F95100A@wolfsburg.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0276.html">Bernd Schroeder: "Re: Microtek Scanmaker X6 SCSI"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0274.html">Henning Meier-Geinitz: "Re: xsane-0.52 available"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0272.html">Karl Heinz Kremer: "Segfault in xscanimage"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0280.html">Karl Heinz Kremer: "Re: Segfault in xscanimage"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0280.html">Karl Heinz Kremer: "Re: Segfault in xscanimage"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#275">[ date ]</A>
<A HREF="index.html#275">[ thread ]</A>
<A HREF="subject.html#275">[ subject ]</A>
<A HREF="author.html#275">[ 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>Sat Jan 29 2000 - 08:36:39 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>