GDB info with debug symbols attached. I could not find dl-deps.c source file. There is dll.c and load() seems to be the problem.
./sane-backends-1.0.21/backend/dll.c (gdb) backtrace full #0 _dl_map_object_deps (map=<value optimised out>, preloads=<value optimised out>, npreloads=<value optimised out>, trace_mode=0, open_mode=-2147483648) at dl-deps.c:224 ... #8 0x00132886 in load (be=0x814a398) at dll.c:497 ... (gdb) info registers eax 0x0 0 ecx 0x1a9cef4 27905780 edx 0x80000000 -2147483648 ... (gdb) x/16i $pc => 0x11cb19 <_dl_map_object_deps+297>: mov 0x4(%eax),%eax 0x11cb1c <_dl_map_object_deps+300>: mov %edx,-0x28(%ebp) 0x11cb1f <_dl_map_object_deps+303>: mov %edi,-0x30(%ebp) ... Thread 1 (Thread 0xb7fda820 (LWP 29499)): #0 _dl_map_object_deps (map=<value optimised out>, preloads=<value optimised out>, npreloads=<value optimised out>, trace_mode=0, open_mode=-2147483648) at dl-deps.c:224 #1 0x00122606 in dl_open_worker (a=0xbfffb830) at dl-open.c:263 #2 0x0011e266 in _dl_catch_error (objname=<value optimised out>, errstring=<value optimised out>, mallocedp=<value optimised out>, operate=0x122470 <dl_open_worker>, args=0xbfffb830) at dl-error.c:178 #3 0x00122046 in _dl_open (file=0xbfffba7c "/usr/lib/sane/libsane-v4l.so.1", mode=<value optimised out>, caller_dlopen=0x132886, nsid=-2, argc=1, argv=0xbffff414, env=0xbffff41c) at dl-open.c:555 #4 0x00dd6c0b in dlopen_doit (a=0xbfffba10) at dlopen.c:67 #5 0x0011e266 in _dl_catch_error (objname=<value optimised out>, errstring=<value optimised out>, mallocedp=<value optimised out>, operate=0xdd6b70 <dlopen_doit>, args=0xbfffba10) at dl-error.c:178 #6 0x00dd709c in _dlerror_run (operate=<value optimised out>, args=<value optimised out>) at dlerror.c:164 #7 0x00dd6b41 in __dlopen (file=0xbfffba7c "/usr/lib/sane/libsane-v4l.so.1", mode=1) at dlopen.c:88 #8 0x00132886 in load (be=0x814a398) at dll.c:497 #9 0x00132b00 in init (be=0x0) at dll.c:606 #10 0x00132e57 in sane_dll_get_devices (device_list=0x80eab88, local_only=0) at dll.c:1034 #11 0x00130984 in sane_get_devices (dl=0x80eab88, local=0) at dll-s.c:17 #12 0x080cc39d in xsane_init (argc=1, argv=0xbffff414) at xsane.c:5930 #13 0x080cc539 in xsane_interface (argc=1, argv=0xbffff414) at xsane.c:5993 #14 0x080cccb2 in main (argc=1, argv=0xbffff414) at xsane.c:6238 (gdb) quit A debugging session is active. ** Attachment added: "GDB info with symbols" https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/691921/+attachment/1778428/+files/gdb-xsane.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/691921 Title: xsane chrashes before scanning -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
