kopia lustrzana https://gitlab.com/sane-project/website
				
				
				
			
		
			
	
	
		
			121 wiersze
		
	
	
		
			4.5 KiB
		
	
	
	
		
			HTML
		
	
	
		
		
			
		
	
	
			121 wiersze
		
	
	
		
			4.5 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: Segfault in xscanimage</TITLE>
							 | 
						||
| 
								 | 
							
								<META NAME="Author" CONTENT="Karl Heinz Kremer (khk@khk.net)">
							 | 
						||
| 
								 | 
							
								<META NAME="Subject" CONTENT="Segfault in xscanimage">
							 | 
						||
| 
								 | 
							
								</HEAD>
							 | 
						||
| 
								 | 
							
								<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
							 | 
						||
| 
								 | 
							
								<H1>Segfault in xscanimage</H1>
							 | 
						||
| 
								 | 
							
								<!-- received="Sat Jan 29 07:07:10 2000" -->
							 | 
						||
| 
								 | 
							
								<!-- isoreceived="20000129150710" -->
							 | 
						||
| 
								 | 
							
								<!-- sent="Sat, 29 Jan 2000 10:11:46 -0500" -->
							 | 
						||
| 
								 | 
							
								<!-- isosent="20000129151146" -->
							 | 
						||
| 
								 | 
							
								<!-- name="Karl Heinz Kremer" -->
							 | 
						||
| 
								 | 
							
								<!-- email="khk@khk.net" -->
							 | 
						||
| 
								 | 
							
								<!-- subject="Segfault in xscanimage" -->
							 | 
						||
| 
								 | 
							
								<!-- id="20000129101146.A30354@khk.net" -->
							 | 
						||
| 
								 | 
							
								<STRONG>From:</STRONG> Karl Heinz Kremer (<A HREF="mailto:khk@khk.net?Subject=Re:%20Segfault%20in%20xscanimage&In-Reply-To=<20000129101146.A30354@khk.net>"><EM>khk@khk.net</EM></A>)<BR>
							 | 
						||
| 
								 | 
							
								<STRONG>Date:</STRONG> Sat Jan 29 2000 - 07:11:46 PST
							 | 
						||
| 
								 | 
							
								<P>
							 | 
						||
| 
								 | 
							
								<!-- next="start" -->
							 | 
						||
| 
								 | 
							
								<LI><STRONG>Next message:</STRONG> <A HREF="0273.html">Dave: "HP PhotoSmart:  Feeding slides, the entire area is not scanned"</A>
							 | 
						||
| 
								 | 
							
								<UL>
							 | 
						||
| 
								 | 
							
								<LI><STRONG>Previous message:</STRONG> <A HREF="0271.html">Petter Reinholdtsen: "Re: Latest SANE snapshot: question"</A>
							 | 
						||
| 
								 | 
							
								<!-- nextthread="start" -->
							 | 
						||
| 
								 | 
							
								<LI><STRONG>Next in thread:</STRONG> <A HREF="0275.html">Oliver Rauch: "Re: Segfault in xscanimage"</A>
							 | 
						||
| 
								 | 
							
								<LI><STRONG>Reply:</STRONG> <A HREF="0275.html">Oliver Rauch: "Re: Segfault in xscanimage"</A>
							 | 
						||
| 
								 | 
							
								<!-- reply="end" -->
							 | 
						||
| 
								 | 
							
								<LI><STRONG>Messages sorted by:</STRONG> 
							 | 
						||
| 
								 | 
							
								<A HREF="date.html#272">[ date ]</A>
							 | 
						||
| 
								 | 
							
								<A HREF="index.html#272">[ thread ]</A>
							 | 
						||
| 
								 | 
							
								<A HREF="subject.html#272">[ subject ]</A>
							 | 
						||
| 
								 | 
							
								<A HREF="author.html#272">[ author ]</A>
							 | 
						||
| 
								 | 
							
								</UL>
							 | 
						||
| 
								 | 
							
								<HR NOSHADE><P>
							 | 
						||
| 
								 | 
							
								<!-- body="start" -->
							 | 
						||
| 
								 | 
							
								<P>
							 | 
						||
| 
								 | 
							
								I need some help debugging a problem (or ruling out that my
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								backend is causing this problme):
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								<P>When I run xscanimage with the latest CVS version of the Epson 
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								backend I get a segmentation fault when
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								   - Advanced options are _NOT_ selected
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								   - and I click on scan or preview
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								<P>When the advanced options are displayed everything works fine.
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								<P>The following output is produced when running xscanimage in gdb:
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								<P>(gdb) run
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								Starting program: /usr/bin/xscanimage
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								<P>Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkGammaCurve'
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								<P>Program received signal SIGSEGV, Segmentation fault.
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								0x8054e37 in gsg_sync (dialog=0x8097ae0) at gtkglue.c:1334
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								1334          curve = GTK_GAMMA_CURVE (dialog->element[i].widget)->curve;
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								(gdb) quit                                          
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								<P>The fault happens in line 1334 of gtkglue.c. 
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								<P>Is this my fault, and if so, where should I look?
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								<P>Thanks,
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								<P>Karl Heinz
							 | 
						||
| 
								 | 
							
								<BR>
							 | 
						||
| 
								 | 
							
								<PRE>
							 | 
						||
| 
								 | 
							
								-- 
							 | 
						||
| 
								 | 
							
								Karl Heinz Kremer                                      <A HREF="mailto:khk@khk.net?Subject=Re:%20Segfault%20in%20xscanimage&In-Reply-To=<20000129101146.A30354@khk.net>">khk@khk.net</A>
							 | 
						||
| 
								 | 
							
								                                                <A HREF="http://www.khk.net">http://www.khk.net</A>
							 | 
						||
| 
								 | 
							
								                                                     ICQ: 41190739
							 | 
						||
| 
								 | 
							
								<P>
							 | 
						||
| 
								 | 
							
								</PRE>
							 | 
						||
| 
								 | 
							
								<HR NOSHADE>
							 | 
						||
| 
								 | 
							
								<UL>
							 | 
						||
| 
								 | 
							
								<LI>application/pgp-signature attachment: <A HREF="att-0272/01-part">stored</A>
							 | 
						||
| 
								 | 
							
								</UL>
							 | 
						||
| 
								 | 
							
								<!-- attachment="01-part" -->
							 | 
						||
| 
								 | 
							
								<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?Subject=Re:%20Segfault%20in%20xscanimage&In-Reply-To=<20000129101146.A30354@khk.net>">majordomo@mostang.com</A>
							 | 
						||
| 
								 | 
							
								</PRE>
							 | 
						||
| 
								 | 
							
								<P><!-- body="end" -->
							 | 
						||
| 
								 | 
							
								<HR NOSHADE>
							 | 
						||
| 
								 | 
							
								<UL>
							 | 
						||
| 
								 | 
							
								<!-- next="start" -->
							 | 
						||
| 
								 | 
							
								<LI><STRONG>Next message:</STRONG> <A HREF="0273.html">Dave: "HP PhotoSmart:  Feeding slides, the entire area is not scanned"</A>
							 | 
						||
| 
								 | 
							
								<LI><STRONG>Previous message:</STRONG> <A HREF="0271.html">Petter Reinholdtsen: "Re: Latest SANE snapshot: question"</A>
							 | 
						||
| 
								 | 
							
								<!-- nextthread="start" -->
							 | 
						||
| 
								 | 
							
								<LI><STRONG>Next in thread:</STRONG> <A HREF="0275.html">Oliver Rauch: "Re: Segfault in xscanimage"</A>
							 | 
						||
| 
								 | 
							
								<LI><STRONG>Reply:</STRONG> <A HREF="0275.html">Oliver Rauch: "Re: Segfault in xscanimage"</A>
							 | 
						||
| 
								 | 
							
								<!-- reply="end" -->
							 | 
						||
| 
								 | 
							
								<LI><STRONG>Messages sorted by:</STRONG> 
							 | 
						||
| 
								 | 
							
								<A HREF="date.html#272">[ date ]</A>
							 | 
						||
| 
								 | 
							
								<A HREF="index.html#272">[ thread ]</A>
							 | 
						||
| 
								 | 
							
								<A HREF="subject.html#272">[ subject ]</A>
							 | 
						||
| 
								 | 
							
								<A HREF="author.html#272">[ 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 - 07:08:48 PST</EM>
							 | 
						||
| 
								 | 
							
								</EM>
							 | 
						||
| 
								 | 
							
								</SMALL>
							 | 
						||
| 
								 | 
							
								</BODY>
							 | 
						||
| 
								 | 
							
								</HTML>
							 |