[sane-devel] [genesys] Crash with arithmetic exception with Canon LiDE 110

Paul Menzel paulepanter at users.sourceforge.net
Wed Oct 22 21:47:56 UTC 2014


Dear SANE developers,


using Debian Sid/unstable with libsane 1.0.24-3, XSane and Simple Scan
both crash with a arithmetic exception when doing a preview scan or
scan.

        Program received signal SIGFPE, Arithmetic exception.
        0xb552ae6c in gl124_led_calibration (dev=0x8207a08) at genesys_gl124.c:3143
        3143	genesys_gl124.c: Datei oder Verzeichnis nicht gefunden.

Please find the backtrace pasted at the end.


Thanks,

Paul


Thread 4 (Thread 0xb3d57b40 (LWP 32384)):
#0  0xb7fdcd4c in __kernel_vsyscall ()
No symbol table info available.
#1  0xb6f5f50b in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#2  0xb72e00b0 in poll (__timeout=-1, __nfds=2, __fds=0xb3402348) at /usr/include/i386-linux-gnu/bits/poll2.h:46
No locals.
#3  g_poll (fds=0xb3402348, nfds=2, timeout=-1) at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gpoll.c:124
No locals.
#4  0xb72d1054 in g_main_context_poll (priority=<optimized out>, n_fds=<optimized out>, fds=<optimized out>, timeout=<optimized out>, 
    context=<optimized out>) at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmain.c:4076
        poll_func = 0xffffffff
#5  g_main_context_iterate (context=0x82768d0, block=-1, block at entry=1, dispatch=1, self=<optimized out>)
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmain.c:3776
        max_priority = 2147483647
        timeout = -1
        some_ready = -1287642296
        fds = 0xb3402348
#6  0xb72d1479 in g_main_loop_run (loop=0x8276898) at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmain.c:3975
        __FUNCTION__ = "g_main_loop_run"
#7  0xb7552955 in gdbus_shared_thread_func (user_data=0x82768b8) at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gio/gdbusprivate.c:273
        data = 0x82768b8
#8  0xb72f83da in g_thread_proxy (data=0x8158460) at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gthread.c:764
No locals.
#9  0xb6e62efb in start_thread (arg=0xb3d57b40) at pthread_create.c:309
        __res = <optimized out>
        pd = 0xb3d57b40
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1226354688, -1277854912, 4001536, -1277857112, 275251610, 1993765264}, mask_was_saved = 0}}, 
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#10 0xb6f69d4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
No locals.

Thread 3 (Thread 0xb52bbb40 (LWP 32369)):
#0  0xb7fdcd4c in __kernel_vsyscall ()
No symbol table info available.
#1  0xb6f5f50b in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#2  0xb574bc19 in ?? () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
No symbol table info available.
#3  0xb574b69e in avahi_simple_poll_run () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
No symbol table info available.
#4  0xb574b8e8 in avahi_simple_poll_iterate () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
No symbol table info available.
#5  0xb574bb90 in avahi_simple_poll_loop () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
No symbol table info available.
#6  0xb574bc84 in ?? () from /usr/lib/i386-linux-gnu/libavahi-common.so.3
No symbol table info available.
#7  0xb6e62efb in start_thread (arg=0xb52bbb40) at pthread_create.c:309
        __res = <optimized out>
        pd = 0xb52bbb40
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1226354688, -1255425216, 4001536, -1255427416, -303562345, 1993765264}, mask_was_saved = 0}}, 
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#8  0xb6f69d4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
No locals.

Thread 2 (Thread 0xb657eb40 (LWP 32335)):
#0  0xb7fdcd4c in __kernel_vsyscall ()
No symbol table info available.
#1  0xb6f5f50b in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#2  0xb659ef3b in ?? () from /lib/i386-linux-gnu/libusb-1.0.so.0
No symbol table info available.
#3  0xb6e62efb in start_thread (arg=0xb657eb40) at pthread_create.c:309
        __res = <optimized out>
        pd = 0xb657eb40
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1226354688, -1235752128, 4001536, -1235754328, 357040529, 1993765264}, mask_was_saved = 0}}, 
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0xb6f69d4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
No locals.

Thread 1 (Thread 0xb6a02880 (LWP 32318)):
#0  0xb552ae6c in gl124_led_calibration (dev=0x8207a08) at genesys_gl124.c:3143
        i = 0
        val = 0
        avg = {0, 0, 0}
        fn = "\000\000\000\000S\006O\265\004\000\000\000\000\000\000\000u.S\300"
        exp = {388, 574, 393}
        sensor = 0x0
        acceptable = 0
        __FUNCTION__ = "gl124_led_calibration"
#1  0xb54f5ed2 in genesys_flatbed_calibration (dev=<optimized out>) at genesys.c:3336
        pixels_per_line = 19865600
#2  genesys_scanner_calibration (dev=0x8207a08) at genesys.c:3716
No locals.
#3  0xb54fd2be in genesys_start_scan (lamp_off=<optimized out>, dev=<optimized out>) at genesys.c:4050
        steps = 3086573347
        expected = 0
        empty = 3
#4  sane_genesys_start (handle=0x82561d8) at genesys.c:7582
        __FUNCTION__ = "sane_genesys_start"
#5  0xb7f9771c in sane_dll_start (handle=0x822af10) at dll.c:1264
        s = 0x822af10
#6  0xb7f948e8 in sane_start (h=0x822af10) at dll-s.c:48
No locals.
#7  0x0806e175 in ?? ()
No symbol table info available.
#8  0x0806f347 in ?? ()
No symbol table info available.
#9  0xb73c14e7 in g_cclosure_marshal_VOID__VOIDv (closure=0x833ec60, return_value=0x0, instance=0x83252f0, 
    args=0xbfffe7bc "i\363\220\267", <incomplete sequence \363\220\267>, marshal_data=0x0, n_params=0, param_types=0x0)
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gobject/gmarshal.c:115
        cc = 0x833ec60
        data1 = 0x83252f0
        data2 = <optimized out>
        callback = <optimized out>
#10 0xb73bfa5f in _g_closure_invoke_va (closure=0x833ec60, return_value=0x0, instance=0x83252f0, 
    args=0xbfffe7bc "i\363\220\267", <incomplete sequence \363\220\267>, n_params=0, param_types=0x0)
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gobject/gclosure.c:831
        marshal = 0xb73c14a0 <g_cclosure_marshal_VOID__VOIDv>
        marshal_data = 0x0
        in_marshal = 0
        real_closure = 0x833ec50
        __FUNCTION__ = "_g_closure_invoke_va"
#11 0xb73d97f9 in g_signal_emit_valist (instance=0x83252f0, signal_id=100, detail=0, 
    var_args=0xbfffe7bc "i\363\220\267", <incomplete sequence \363\220\267>) at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gobject/gsignal.c:3218
        return_accu = <optimized out>
        accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, 
              v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, 
              v_pointer = 0x0}}}
        accumulator = <optimized out>
        emission = {next = 0xbfffe930, instance = 0x83252f0, ihint = {signal_id = 100, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, 
          state = EMISSION_RUN, chain_type = 135666456}
        instance_type = <optimized out>
        emission_return = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, 
              v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, 
              v_double = 0, v_pointer = 0x0}}}
        rtype = 4
        static_scope = 0
        fastpath_handler = <optimized out>
        closure = 0x833ec60
        run_type = <optimized out>
        l = <optimized out>
        fastpath = <optimized out>
        instance_and_params = <optimized out>
        signal_return_type = <optimized out>
        param_values = <optimized out>
        i = <optimized out>
        n_params = <optimized out>
        __FUNCTION__ = "g_signal_emit_valist"
#12 0xb73da0d5 in g_signal_emit (instance=0x83252f0, signal_id=100, detail=0) at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gobject/gsignal.c:3365
        var_args = 0xbfffe7bc "i\363\220\267", <incomplete sequence \363\220\267>
#13 0xb790f3c1 in IA__gtk_button_clicked (button=0x83252f0) at /build/gtk+2.0-0IZDpU/gtk+2.0-2.24.25/gtk/gtkbutton.c:1115
No locals.
#14 0xb7910571 in gtk_real_button_released (button=0x83252f0) at /build/gtk+2.0-0IZDpU/gtk+2.0-2.24.25/gtk/gtkbutton.c:1712
        button = 0x83252f0
#15 0xb73c14c7 in g_cclosure_marshal_VOID__VOIDv (closure=0x824fa10, return_value=0x0, instance=0x83252f0, 
    args=0xbfffe9dc "\231", <incomplete sequence \362\220\267>, marshal_data=0xb7910530 <gtk_real_button_released>, n_params=0, param_types=0x0)
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gobject/gmarshal.c:115
        cc = 0x824fa10
        data1 = 0x83252f0
        data2 = <optimized out>
        callback = <optimized out>
#16 0xb73be2e2 in g_type_class_meta_marshalv (closure=0x824fa10, return_value=0x0, instance=0x83252f0, 
    args=0xbfffe9dc "\231", <incomplete sequence \362\220\267>, marshal_data=0x1a4, n_params=0, param_types=0x0)
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gobject/gclosure.c:988
        real_closure = 0x824fa00
        class = 0x824ed10
        callback = <optimized out>
        offset = 420
#17 0xb73bfa5f in _g_closure_invoke_va (closure=0x824fa10, return_value=0x0, instance=0x83252f0, 
    args=0xbfffe9dc "\231", <incomplete sequence \362\220\267>, n_params=0, param_types=0x0)
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gobject/gclosure.c:831
        marshal = 0xb73be2b0 <g_type_class_meta_marshalv>
        marshal_data = 0x1a4
        in_marshal = 0
        real_closure = 0x824fa00
        __FUNCTION__ = "_g_closure_invoke_va"
#18 0xb73d97f9 in g_signal_emit_valist (instance=0x83252f0, signal_id=99, detail=0, var_args=0xbfffe9dc "\231", <incomplete sequence \362\220\267>)
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gobject/gsignal.c:3218
        return_accu = <optimized out>
        accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, 
              v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, 
              v_pointer = 0x0}}}
        accumulator = <optimized out>
        emission = {next = 0xbfffeb80, instance = 0x83252f0, ihint = {signal_id = 99, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, 
          state = EMISSION_RUN, chain_type = 135666456}
        instance_type = <optimized out>
        emission_return = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, 
              v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, 
              v_double = 0, v_pointer = 0x0}}}
        rtype = 4
        static_scope = 0
        fastpath_handler = <optimized out>
        closure = 0x824fa10
        run_type = <optimized out>
        l = <optimized out>
        fastpath = <optimized out>
        instance_and_params = <optimized out>
        signal_return_type = <optimized out>
        param_values = <optimized out>
        i = <optimized out>
        n_params = <optimized out>
        __FUNCTION__ = "g_signal_emit_valist"
#19 0xb73da0d5 in g_signal_emit (instance=0x83252f0, signal_id=99, detail=0) at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gobject/gsignal.c:3365
        var_args = 0xbfffe9dc "\231", <incomplete sequence \362\220\267>
#20 0xb790f2f1 in gtk_button_released (button=0x83252f0) at /build/gtk+2.0-0IZDpU/gtk+2.0-2.24.25/gtk/gtkbutton.c:1107
No locals.
#21 0xb790f334 in gtk_button_button_release (widget=0x83252f0, event=0x8373780) at /build/gtk+2.0-0IZDpU/gtk+2.0-2.24.25/gtk/gtkbutton.c:1604
        button = 0x83252f0
#22 0xb79bcbac in _gtk_marshal_BOOLEAN__BOXED (closure=0x813b800, return_value=0xbfffeb6c, n_param_values=2, param_values=0xbfffebd0, 
    invocation_hint=0xbfffeb88, marshal_data=0xb790f300 <gtk_button_button_release>) at /build/gtk+2.0-0IZDpU/gtk+2.0-2.24.25/gtk/gtkmarshalers.c:86
        callback = <optimized out>
        cc = 0x813b800
        data1 = 0x83252f0
        data2 = <optimized out>
        v_return = <optimized out>
        __FUNCTION__ = "_gtk_marshal_BOOLEAN__BOXED"
#23 0xb73be394 in g_type_class_meta_marshal (closure=0x813b800, return_value=0xbfffeb6c, n_param_values=2, param_values=0xbfffebd0, 
    invocation_hint=0xbfffeb88, marshal_data=0xb4) at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gobject/gclosure.c:961
        class = <optimized out>
        callback = <optimized out>
        offset = 180
#24 0xb73bf83b in g_closure_invoke (closure=0x813b800, return_value=0xbfffeb6c, n_param_values=2, param_values=0xbfffebd0, 
    invocation_hint=0xbfffeb88) at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gobject/gclosure.c:768
        marshal = 0xb73be350 <g_type_class_meta_marshal>
        marshal_data = 0xb4
        in_marshal = 0
        real_closure = 0x813b7f0
        __FUNCTION__ = "g_closure_invoke"
#25 0xb73d1751 in signal_emit_unlocked_R (node=0x12f2000, node at entry=0x813b940, detail=detail at entry=0, instance=0x83252f0, 
    emission_return=0xbfffec6c, instance_and_params=0xbfffebd0) at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gobject/gsignal.c:3591
        emission = {next = 0x0, instance = 0x83252f0, ihint = {signal_id = 34, detail = 0, run_type = G_SIGNAL_RUN_LAST}, state = EMISSION_RUN, 
          chain_type = 135666456}
        accu = {g_type = 20, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, 
              v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, 
              v_pointer = 0x0}}}
#26 0xb73d9a52 in g_signal_emit_valist (instance=0x83252f0, signal_id=34, detail=0, var_args=0xbfffed30 "X\355\377\277\b\351\024\b")
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gobject/gsignal.c:3319
        return_value = {g_type = 20, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, 
              v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, 
              v_pointer = 0x0}}}
        error = 0x0
        rtype = 20
        static_scope = 0
        instance_and_params = <optimized out>
        signal_return_type = <optimized out>
        param_values = <optimized out>
        i = <optimized out>
        n_params = <optimized out>
        __FUNCTION__ = "g_signal_emit_valist"
#27 0xb73da0d5 in g_signal_emit (instance=0x83252f0, signal_id=34, detail=0) at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./gobject/gsignal.c:3365
        var_args = 0xbfffed2c "\200\067\067\bX\355\377\277\b\351\024\b"
#28 0xb7add8fc in gtk_widget_event_internal (widget=0x83252f0, event=0x8373780) at /build/gtk+2.0-0IZDpU/gtk+2.0-2.24.25/gtk/gtkwidget.c:5010
        signal_num = 19865600
        return_val = 0
#29 0xb7addbdc in IA__gtk_widget_event (widget=0x83252f0, event=0x8373780) at /build/gtk+2.0-0IZDpU/gtk+2.0-2.24.25/gtk/gtkwidget.c:4807
        __FUNCTION__ = "IA__gtk_widget_event"
#30 0xb79baf49 in IA__gtk_propagate_event (widget=0x83252f0, event=0x8373780) at /build/gtk+2.0-0IZDpU/gtk+2.0-2.24.25/gtk/gtkmain.c:2490
        tmp = <optimized out>
        handled_event = <optimized out>
        __FUNCTION__ = "IA__gtk_propagate_event"
#31 0xb79bb45d in IA__gtk_main_do_event (event=0x8373780) at /build/gtk+2.0-0IZDpU/gtk+2.0-2.24.25/gtk/gtkmain.c:1685
        tmp_list = 0x8373780
        __FUNCTION__ = "IA__gtk_main_do_event"
#32 0xb782d189 in gdk_event_dispatch (source=0x8131608, callback=0x0, user_data=0x0)
    at /build/gtk+2.0-0IZDpU/gtk+2.0-2.24.25/gdk/x11/gdkevents-x11.c:2403
        display = <optimized out>
        event = 0x8373780
#33 0xb72d0da4 in g_main_dispatch (context=<optimized out>) at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmain.c:3111
        user_data = 0x0
        callback = 0x0
        cb_funcs = 0x0
        source = 0x8131608
        current = 0x819a410
        i = 0
#34 g_main_context_dispatch (context=0x0) at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmain.c:3710
No locals.
#35 0xb72d10c9 in g_main_context_iterate (context=0x810a960, block=0, block at entry=1, dispatch=1, self=<optimized out>)
    at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmain.c:3781
        max_priority = 2147483647
        timeout = -1
        some_ready = 1
        fds = 0x1
#36 0xb72d1479 in g_main_loop_run (loop=0x8264670) at /build/glib2.0-BmD7JP/glib2.0-2.42.0/./glib/gmain.c:3975
        __FUNCTION__ = "g_main_loop_run"
#37 0xb79ba135 in IA__gtk_main () at /build/gtk+2.0-0IZDpU/gtk+2.0-2.24.25/gtk/gtkmain.c:1257
        tmp_list = 0x0
        functions = 0x0
        init = <optimized out>
        loop = 0x8264670
#38 0x080afd31 in ?? ()
No symbol table info available.
#39 0x0804ea8d in ?? ()
No symbol table info available.
#40 0xb6e99a63 in __libc_start_main (main=0x804e670, argc=1, argv=0xbffff604, init=0x80b0b60, fini=0x80b0bd0, rtld_fini=0xb7fedc90 <_dl_fini>, 
    stack_end=0xbffff5fc) at libc-start.c:287
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1224577024, 0, 0, 0, 1163985282, 1774167440}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 
              0x1, 0x804eb47}, data = {prev = 0x0, cleanup = 0x0, canceltype = 1}}}
        not_first_call = <optimized out>
#41 0x0804eb68 in ?? ()
No symbol table info available.
quit
A debugging session is active.

	Inferior 1 [process 32318] will be killed.

Quit anyway? (y or n) Not confirmed.
Continuing.
[Thread 0xb52bbb40 (LWP 32369) exited]
[Thread 0xb657eb40 (LWP 32335) exited]
[Thread 0xb6a02880 (LWP 32318) exited]

Program terminated with signal SIGFPE, Arithmetic exception.
The program no longer exists.
The program is not being run.
quit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20141022/28db13c3/attachment.sig>


More information about the sane-devel mailing list