kopia lustrzana https://gitlab.com/sane-project/website
145 wiersze
5.3 KiB
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=<389317E7.F95100A@wolfsburg.de>"><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>> I need some help debugging a problem (or ruling out that my
|
|
</EM><BR>
|
|
<EM>> backend is causing this problme):
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> When I run xscanimage with the latest CVS version of the Epson
|
|
</EM><BR>
|
|
<EM>> backend I get a segmentation fault when
|
|
</EM><BR>
|
|
<EM>> - Advanced options are _NOT_ selected
|
|
</EM><BR>
|
|
<EM>> - and I click on scan or preview
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> When the advanced options are displayed everything works fine.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> The following output is produced when running xscanimage in gdb:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> (gdb) run
|
|
</EM><BR>
|
|
<EM>> Starting program: /usr/bin/xscanimage
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkGammaCurve'
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Program received signal SIGSEGV, Segmentation fault.
|
|
</EM><BR>
|
|
<EM>> 0x8054e37 in gsg_sync (dialog=0x8097ae0) at gtkglue.c:1334
|
|
</EM><BR>
|
|
<EM>> 1334 curve = GTK_GAMMA_CURVE (dialog->element[i].widget)->curve;
|
|
</EM><BR>
|
|
<EM>> (gdb) quit
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> The fault happens in line 1334 of gtkglue.c.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Is this my fault, and if so, where should I look?
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<P>Hi Karl Heinz
|
|
<BR>
|
|
<P>try if it works when you comment out:
|
|
<BR>
|
|
s->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=<389317E7.F95100A@wolfsburg.de>">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=<389317E7.F95100A@wolfsburg.de>">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>
|