[sane-devel] XSane preview crashes under FreeBSD

Alex Teslik alex@acatysmoof.com
Fri, 6 Dec 2002 01:29:47 -0700


Hi Oliver,

I am using 0.87. Unfortunately there is no FreeBSD port for 0.89 or 0.88 and I
don't have enough time to do a source build without the port patches. I
emailed the maintainer of the port, but he is very busy right now with exams,
so I might do the port if I have enough time during this pre-Christmas season.
In the meantime, the good news is that I disabled autoselect area in the
preferences and this problem completely went away. I will get to 0.89
hopefully soon and let you know if that solves the problem as well.

Thanks,
Alex


---------- Original Message -----------
From: Oliver Rauch <oliver.rauch@rauch-domain.de>
To: alex@acatysmoof.com, "sane-devel" <sane-devel@www.mostang.com>
Sent: Sun, 1 Dec 2002 11:59:42 +0100
Subject: Re: [sane-devel] XSane preview crashes under FreeBSD

> I suggtest to try the latest xsane version (0.89) at first, but I am not sure
> if this solves the problem. Please can you update and tell me if this
> solves the problem?
> 
> Oliver
> 
> On Sunday 01 December 2002 02:17, Alex Teslik wrote:
> > Hello,
> >
> >   I saw this problem reported under Solaris in February when I searched the
> > lists, but no answer was given as to what could fix it or why it happens.
> > The problem is that when I preview scan I can see the preview image
> > updating all the way to the bottom, but the moment it finishes Xsane
> > crashes with a segmentation fault.
> >   I ran xsane through gdb with SANE_DEBUG_MICROTEK2=256 set in the
> > environment. The exact command under tcsh was:
> >
> > gdb ./xsane |& tee ~alex/xsane_debug.txt
> >
> > The tail end of the output looks like:
> >
> > <-----snip----->
> > [microtek2] sane_get_parameters: x_res=y_res=1000.000000
> > [microtek2] sane_get_parameters: x_ppm=39.370079, y_ppm=39.370079
> > [microtek2] sane_get_parameters: format=1, last_frame=1, lines=9115
> > [microtek2] sane_get_parameters: depth=16, ppl=7083, bpl=42501
> > (no debugging symbols found)...(no debugging symbols found)...
> > <------snip message repeating--->
> > (no debugging symbols found)...(no debugging symbols found)...
> > (no debugging symbols found)...
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x806ccbf in preview_autoselect_scanarea ()
> > (gdb) backtrace
> > #0  0x806ccbf in preview_autoselect_scanarea ()
> > #1  0x8062a58 in xsane_set_medium ()
> > #2  0x8061e78 in xsane_set_medium ()
> > #3  0x2829e504 in gdk_io_invoke () from /usr/X11R6/lib/libgdk12.so.2
> > #4  0x282cc64c in g_io_unix_dispatch () from /usr/local/lib/libglib12.so.3
> > #5  0x282cdcf3 in g_main_dispatch () from /usr/local/lib/libglib12.so.3
> > #6  0x282ce31c in g_main_iterate () from /usr/local/lib/libglib12.so.3
> > #7  0x282ce4b4 in g_main_run () from /usr/local/lib/libglib12.so.3
> > #8  0x281ee81f in gtk_main () from /usr/X11R6/lib/libgtk12.so.2
> > #9  0x809c4b9 in xsane_interface ()
> > #10 0x809cad2 in main ()
> > #11 0x8051a9d in _start ()
> > (gdb) quit
> >
> > You can download the complete output at
> > http://www.acatysmoof.com/problems/xsane_preview_problem.tar.gz
> >
> > File is 753812 bytes. Looks to me like a problem in
> > preview_autoselect_scanarea? I have also included in the tar.gz the preview
> > file that was created during the preview scan.
> >
> > BTW - I am using a Microtek ScanMaker5 that is not listed as working under
> > microtek2, but works great. Thanks Karsten!
> >
> > Thanks,
> > Alex
> > _______________________________________________
> > Sane-devel mailing list
> > Sane-devel@www.mostang.com
> > http://www.mostang.com/mailman/listinfo/sane-devel
------- End of Original Message -------