[sane-devel] XSane preview crashes under FreeBSD

Oliver Rauch oliver.rauch@rauch-domain.de
Sun, 1 Dec 2002 11:59:42 +0100


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 happen=
s.
> 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=3D256 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=3Dy_res=3D1000.000000
> [microtek2] sane_get_parameters: x_ppm=3D39.370079, y_ppm=3D39.370079
> [microtek2] sane_get_parameters: format=3D1, last_frame=3D1, lines=3D91=
15
> [microtek2] sane_get_parameters: depth=3D16, ppl=3D7083, bpl=3D42501
> (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.s=
o.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 pre=
view
> file that was created during the preview scan.
>
> BTW - I am using a Microtek ScanMaker5 that is not listed as working un=
der
> 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