[sane-devel] segmentation fault in sort_and_average() at avision.c:4409

Kenneth Redler kennyredler at gmail.com
Wed May 28 20:10:26 UTC 2008


(15:02:26) kennethr: I'm getting segmentation fault & core dump when
attempting to use an HPscanjet5300C with scanimage (sane-backends)
1.0.19; backend version 1.0.19 on Ubuntu 8.04(Hardy Heron).  What can
I do to get this issue resolved?
(15:02:31) kennethr: sort_and_average (format=0x7fffd7092280,
(15:02:31) kennethr:     data=0xcd12b0 "�\002�\002�002\002") at avision.c:4409
(15:02:31) kennethr: 4409    avision.c: No such file or directory.
(15:02:31) kennethr:         in avision.c


GDB Backtrace of core file:
(gdb) bt
#0  sort_and_average (format=0x7fffd7092280,
    data=0xcd12b0 "�\002�\002�002\002") at avision.c:4409
#1  0x00007f81be68a88c in normal_calibration (s=0x8f2440) at avision.c:4642
#2  0x00007f81be68b961 in sane_avision_start (handle=<value optimized out>)
    at avision.c:7828
#3  0x00000000004228c6 in preview_scan_start (p=0x98a8e0)
    at xsane-preview.c:2001
#4  0x0000000000422f02 in preview_scan (p=0x98a8e0) at xsane-preview.c:5103
#5  0x00007f81cb5f9bcf in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6  0x00007f81cb60d6bc in ?? () from /usr/lib/libgobject-2.0.so.0
#7  0x00007f81cb60f0d5 in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#8  0x00007f81cb60f483 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#9  0x00007f81cc6472c9 in gtk_real_button_released (button=0x1)
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkbutton.c:1484
#10 0x00007f81cb5f9bcf in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#11 0x00007f81cb60d386 in ?? () from /usr/lib/libgobject-2.0.so.0
#12 0x00007f81cb60f0d5 in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#13 0x00007f81cb60f483 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#14 0x00007f81cc645b99 in gtk_button_button_release (widget=0x1,
    event=0x987bb0) at /build/buildd/gtk+2.0-2.12.9/gtk/gtkbutton.c:1377
#15 0x00007f81cc70b87f in _gtk_marshal_BOOLEAN__BOXED (closure=0x6e1ac0,
    return_value=0x7fffd7093700, n_param_values=<value optimized out>,
    param_values=0x7fffd70937e0, invocation_hint=<value optimized out>,
    marshal_data=0x7f81cc645b80)
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmarshalers.c:84
#16 0x00007f81cb5f9bcf in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#17 0x00007f81cb60daa8 in ?? () from /usr/lib/libgobject-2.0.so.0
#18 0x00007f81cb60ede6 in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#19 0x00007f81cb60f483 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#20 0x00007f81cc812e55 in gtk_widget_event_internal (widget=0x994640,
    event=0xcc9c70) at /build/buildd/gtk+2.0-2.12.9/gtk/gtkwidget.c:4678
#21 0x00007f81cc704b92 in IA__gtk_propagate_event (widget=0x994640,
    event=0xcc9c70) at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c:2336
#22 0x00007f81cc705b35 in IA__gtk_main_do_event (event=0xcc9c70)
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c:1556
#23 0x00007f81cc36f58c in gdk_event_dispatch (source=<value optimized out>,
    callback=<value optimized out>, user_data=<value optimized out>)
    at /build/buildd/gtk+2.0-2.12.9/gdk/x11/gdkevents-x11.c:2351
#24 0x00007f81cb161262 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#25 0x00007f81cb164516 in ?? () from /usr/lib/libglib-2.0.so.0
#26 0x00007f81cb1647d7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#27 0x00007f81cc705f03 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c:1163
#28 0x0000000000471877 in xsane_interface (argc=1, argv=<value optimized out>)
    at xsane.c:6006
#29 0x00000000004727aa in main (argc=1, argv=0x7fffd7095548) at xsane.c:6199
(gdb)


Starting up Xsane and I hit this when I hit the "Acquire Preview" button.
Any help would be appreciated.

Thanks!

 - kr


More information about the sane-devel mailing list