Package: simple-scan Version: 3.14.0-1 Severity: normal Usertags: crash I got a random crash when I was testing a scanner yesterday. I didn't notice the crash at the time and I don't have the scanner any longer. If the crash trace below isn't useful, please close this bug report.
$ gdb -batch -n -ex bt -ex 'thread apply all bt full' --core /var/crash/1000/21385-1000-1000-11-1426906727-chianamo--usr-bin-simple-scan.core /usr/bin/simple-scan [New LWP 21389] [New LWP 21390] [New LWP 21391] [New LWP 21388] [New LWP 21387] [New LWP 21385] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `simple-scan'. Program terminated with signal SIGSEGV, Segmentation fault. #0 sane_genesys_cancel (handle=0x7f2c8c0da900) at genesys.c:7821 7821 genesys.c: No such file or directory. #0 sane_genesys_cancel (handle=0x7f2c8c0da900) at genesys.c:7821 #1 0x00007f2cad0b6e19 in ?? () #2 0x00007f2cad0b86c8 in ?? () #3 0x00007f2caa4a3935 in g_thread_proxy (data=0x7f2cae734720) at /tmp/buildd/glib2.0-2.42.1/./glib/gthread.c:764 #4 0x00007f2ca98c20a4 in start_thread (arg=0x7f2c99a5a700) at pthread_create.c:309 #5 0x00007f2ca95f704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 6 (Thread 0x7f2cad04a980 (LWP 21385)): #0 0x00007f2ca98c34db in pthread_join (threadid=139829533058816, thread_return=thread_return@entry=0x0) at pthread_join.c:92 _tid = 21389 _buffer = {__routine = 0x7f2ca98c3410 <cleanup>, __arg = 0x7f2c99a5ad28, __canceltype = 0, __prev = 0x0} oldtype = 0 pd = 0x7f2c99a5a700 self = 0x7f2cad04a980 result = 0 #1 0x00007f2caa4c1437 in g_system_thread_wait (thread=0x7f2cae734720) at /tmp/buildd/glib2.0-2.42.1/./glib/gthread-posix.c:1218 error = <optimized out> pt = 0x7f2cae734720 __FUNCTION__ = "g_system_thread_wait" #2 0x00007f2caa4a3d85 in g_thread_join (thread=0x7f2cae734720) at /tmp/buildd/glib2.0-2.42.1/./glib/gthread.c:928 real = 0x7f2cae734720 retval = <optimized out> __FUNCTION__ = "g_thread_join" #3 0x00007f2cad0ba6f0 in scanner_free () No symbol table info available. #4 0x00007f2caa752474 in _g_closure_invoke_va (closure=0x7f2c99a5a9d0, closure@entry=0x7f2cae57f960, return_value=return_value@entry=0x0, instance=0x538d, instance@entry=0x7f2cae69e130, args=0xffffffffffffffff, args@entry=0x7ffdc7107aa0, n_params=0, param_types=0x0) at /tmp/buildd/glib2.0-2.42.1/./gobject/gclosure.c:831 marshal = 0xfffffffffffffe00 marshal_data = 0x0 __FUNCTION__ = "_g_closure_invoke_va" #5 0x00007f2caa76c087 in g_signal_emit_valist (instance=0x7f2cae69e130, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7ffdc7107aa0) at /tmp/buildd/glib2.0-2.42.1/./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 = 0x0 emission = {next = 0x0, instance = 0x7f2cae69e130, ihint = {signal_id = 202, detail = 0, run_type = G_SIGNAL_RUN_LAST}, state = EMISSION_RUN, chain_type = 139829880371568} signal_id = 202 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 = 0x7f2cae57f960 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" #6 0x00007f2caa76c9df in g_signal_emit (instance=instance@entry=0x7f2cae69e130, signal_id=<optimized out>, detail=detail@entry=0) at /tmp/buildd/glib2.0-2.42.1/./gobject/gsignal.c:3365 var_args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7ffdc7107b80, reg_save_area = 0x7ffdc7107ac0}} #7 0x00007f2cab79c302 in g_application_run (application=0x7f2cae69e130, argc=0, argv=0x0) at /tmp/buildd/glib2.0-2.42.1/./gio/gapplication.c:2288 arguments = 0x7f2cae5d05d0 status = 0 __FUNCTION__ = "g_application_run" #8 0x00007f2cad0b136c in simple_scan_main () No symbol table info available. #9 0x00007f2ca9532b45 in __libc_start_main (main=0x7f2cad0a13a0 <main>, argc=1, argv=0x7ffdc7107d08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdc7107cf8) at libc-start.c:287 result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -6678417440047409277, 139829858407356, 140727943200000, 0, 0, 6677413933698209667, 6703656555080406915}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7ffdc7107d18, 0x7f2cad0901a8}, data = {prev = 0x0, cleanup = 0x0, canceltype = -955220712}}} not_first_call = <optimized out> #10 0x00007f2cad0a13e5 in _start () No symbol table info available. Thread 5 (Thread 0x7f2ca0adb700 (LWP 21387)): #0 0x00007f2ca95ee50d in poll () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x00007f2caa47cee4 in g_main_context_poll (priority=2147483647, n_fds=3, fds=0x7f2c9c0010c0, timeout=-1, context=0x7f2cae4fa4a0) at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:4076 poll_func = 0x7f2caa48c310 <g_poll> #2 g_main_context_iterate (context=0x7f2cae4fa4a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3776 max_priority = 2147483647 timeout = -1 some_ready = <optimized out> nfds = 3 allocated_nfds = 3 fds = 0x7f2c9c0010c0 #3 0x00007f2caa47d272 in g_main_loop_run (loop=0x7f2cae4fe2b0) at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3975 __FUNCTION__ = "g_main_loop_run" #4 0x00007f2cab7d1f76 in gdbus_shared_thread_func (user_data=0x7f2cae4b4b70) at /tmp/buildd/glib2.0-2.42.1/./gio/gdbusprivate.c:273 data = 0x7f2cae4b4b70 #5 0x00007f2caa4a3935 in g_thread_proxy (data=0x7f2cae4a1cf0) at /tmp/buildd/glib2.0-2.42.1/./glib/gthread.c:764 thread = 0x7f2cae4a1cf0 #6 0x00007f2ca98c20a4 in start_thread (arg=0x7f2ca0adb700) at pthread_create.c:309 __res = <optimized out> pd = 0x7f2ca0adb700 now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139829651027712, -6678417440047409277, 0, 139829858332768, 139829812279520, 139829651027712, 6703678291711317891, 6703658213124429699}, 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" #7 0x00007f2ca95f704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 4 (Thread 0x7f2c9af7c700 (LWP 21388)): #0 0x00007f2ca95ee50d in poll () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x00007f2caa47cee4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f2c940010c0, timeout=-1, context=0x7f2cae799490) at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:4076 poll_func = 0x7f2caa48c310 <g_poll> #2 g_main_context_iterate (context=context@entry=0x7f2cae799490, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3776 max_priority = 2147483647 timeout = -1 some_ready = <optimized out> nfds = 1 allocated_nfds = 1 fds = 0x7f2c940010c0 #3 0x00007f2caa47cffc in g_main_context_iteration (context=0x7f2cae799490, may_block=1) at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3842 retval = <optimized out> #4 0x00007f2c9af8427d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so No symbol table info available. #5 0x00007f2caa4a3935 in g_thread_proxy (data=0x7f2cae7344f0) at /tmp/buildd/glib2.0-2.42.1/./glib/gthread.c:764 thread = 0x7f2cae7344f0 #6 0x00007f2ca98c20a4 in start_thread (arg=0x7f2c9af7c700) at pthread_create.c:309 __res = <optimized out> pd = 0x7f2c9af7c700 now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139829555218176, -6678417440047409277, 0, 139829858332768, 139829812279520, 139829555218176, 6703690885092300675, 6703658213124429699}, 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" #7 0x00007f2ca95f704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 3 (Thread 0x7f2c85e51700 (LWP 21391)): #0 0x00007f2ca95ee50d in poll () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x00007f2c8ab1c0ba in poll (__timeout=-1, __nfds=2, __fds=0x7f2c800008c0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 No locals. #2 poll_func (ufds=0x7f2c800008c0, nfds=2, timeout=-1, userdata=0x7f2c8c0981e0) at thread-watch.c:56 mutex = 0x7f2c8c0981e0 #3 0x00007f2c8ab1bc43 in avahi_simple_poll_run (s=0x7f2c8c0798d0) at simple-watch.c:527 s = 0x7f2c8c0798d0 #4 0x00007f2c8ab1be18 in avahi_simple_poll_iterate (s=0x7f2c8c0798d0, timeout=<optimized out>) at simple-watch.c:602 r = <optimized out> #5 0x00007f2c8ab1c04d in avahi_simple_poll_loop (s=0x7f2c8c0798d0) at simple-watch.c:646 r = <optimized out> __PRETTY_FUNCTION__ = "avahi_simple_poll_loop" #6 0x00007f2c8ab1c114 in thread (userdata=0x7f2c8c0981d0) at thread-watch.c:71 p = 0x7f2c8c0981d0 mask = {__val = {18446744067267100671, 18446744073709551615 <repeats 15 times>}} #7 0x00007f2ca98c20a4 in start_thread (arg=0x7f2c85e51700) at pthread_create.c:309 __res = <optimized out> pd = 0x7f2c85e51700 now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139829201671936, -6678417440047409277, 0, 139829858332768, 139829304585072, 139829201671936, 6703737181081655171, 6703658213124429699}, 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 0x00007f2ca95f704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 2 (Thread 0x7f2c98e2d700 (LWP 21390)): #0 0x00007f2ca95ee50d in poll () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x00007f2c98e3cfd8 in poll (__timeout=-1, __nfds=2, __fds=0x7f2c98e2ccc0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 No locals. #2 linux_udev_event_thread_main (arg=<optimized out>) at ../../libusb/os/linux_udev.c:176 dummy = 0 '\000' r = <optimized out> udev_dev = <optimized out> fds = {{fd = 13, events = 1, revents = 0}, {fd = 12, events = 1, revents = 0}} __FUNCTION__ = "linux_udev_event_thread_main" #3 0x00007f2ca98c20a4 in start_thread (arg=0x7f2c98e2d700) at pthread_create.c:309 __res = <optimized out> pd = 0x7f2c98e2d700 now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139829520291584, -6678417440047409277, 0, 139829858332768, 139829524656584, 139829520291584, 6703695444736956291, 6703658213124429699}, 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 0x00007f2ca95f704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 1 (Thread 0x7f2c99a5a700 (LWP 21389)): #0 sane_genesys_cancel (handle=0x7f2c8c0da900) at genesys.c:7821 s = 0x7f2c8c0da900 status = SANE_STATUS_GOOD __FUNCTION__ = "sane_genesys_cancel" #1 0x00007f2cad0b6e19 in ?? () No symbol table info available. #2 0x00007f2cad0b86c8 in ?? () No symbol table info available. #3 0x00007f2caa4a3935 in g_thread_proxy (data=0x7f2cae734720) at /tmp/buildd/glib2.0-2.42.1/./glib/gthread.c:764 thread = 0x7f2cae734720 #4 0x00007f2ca98c20a4 in start_thread (arg=0x7f2c99a5a700) at pthread_create.c:309 __res = <optimized out> pd = 0x7f2c99a5a700 now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139829533058816, -6678417440047409277, 0, 139829858332768, 139829812279520, 139829533058816, 6703693755204196227, 6703658213124429699}, 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" #5 0x00007f2ca95f704d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. -- Package-specific info: -- System Information: Debian Release: 8.0 APT prefers testing APT policy: (900, 'testing'), (890, 'buildd-testing-proposed-updates'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental'), (690, 'buildd-experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages simple-scan depends on: ii adwaita-icon-theme 3.14.0-2 ii dbus-x11 1.8.16-1 ii dconf-gsettings-backend [gsettings-backend] 0.22.0-1 ii gnome-icon-theme-symbolic 3.12.0-1 ii libatk1.0-0 2.14.0-1 ii libc6 2.19-15 ii libcairo-gobject2 1.14.0-2.1 ii libcairo2 1.14.0-2.1 ii libcolord2 1.2.1-1+b2 ii libgdk-pixbuf2.0-0 2.31.1-2+b1 ii libglib2.0-0 2.42.1-1 ii libgtk-3-0 3.14.5-1 ii libgudev-1.0-0 215-12 ii libpango-1.0-0 1.36.8-3 ii libpangocairo-1.0-0 1.36.8-3 ii libsane 1.0.24-8 ii xdg-utils 1.1.0~rc1+git20111210-7.4 ii zlib1g 1:1.2.8.dfsg-2+b1 simple-scan recommends no packages. simple-scan suggests no packages. -- no debconf information -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part