[sane-devel] xsane-0.85 available
Oliver Rauch
oliver.rauch at rauch-domain.de
Mon Apr 15 16:37:03 BST 2002
Joachim Backes wrote:
>
> Hi, Oliver,
>
> XSane-0.85 does not run on my RH 7.2 LINUX box. It dies with
> segmentation fault after searching scsi scanner devices.
> (RedHat 7.2, Kernel 2.4.18).
>
> On the other hand, version 0.84 runs without any problem.
>
> Backtrace when xsane-0.85 dies:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x08058c78 in xsane_update_param (arg=0x0) at xsane-front-gtk.c:1720
> 1720 if (xsane.preview->surface_unit == SANE_UNIT_MM)
> (gdb) t
> [Current thread is 0 (process 13612)]
> (gdb) where
> #0 0x08058c78 in xsane_update_param (arg=0x0) at xsane-front-gtk.c:1720
Please try the following:
edit xsane-0.85/src/xsane-front-gtk.c line 1719,
add the lines:
/* the following functions need a working preview */
if (!xsane.preview)
{
return;
}
after the line:
gtk_label_set(GTK_LABEL(xsane.info_label), buf);
(this is in function void xsane_update_param(void *arg))
I think this should solve the problem.
Bye
Oliver
--
Homepage: http://www.rauch-domain.de
sane-umax: http://www.rauch-domain.de/sane-umax
xsane: http://www.xsane.org
E-Mail: mailto:Oliver.Rauch at rauch-domain.de
More information about the sane-devel
mailing list