On 10/01/13 15:50, John wrote: > sorry, forgot to change "From:", sending again > > On Tue, Oct 01, 2013 at 02:45:29PM +0100, John wrote: >> On Tue, Oct 01, 2013 at 02:41:22PM +0200, Hans Petter Selasky wrote: >>> >>> Hi, >>> >>> Could you enter "bt" in GDB and show the output when this crash happens? >>> >>> --HPS >> >> Sure! Thanks for looking at the problem. >> >> Program received signal SIGBUS, Bus error. >> [Switching to Thread 802c07400 (LWP 101021/scanimage)] >> 0x00000008063c1829 in scsi_inquiry () >> from /usr/local/lib/sane/libsane-microtek2.so.1 >> (gdb) bt >> #0 0x00000008063c1829 in scsi_inquiry () >> from /usr/local/lib/sane/libsane-microtek2.so.1 >> #1 0x00000008063b384c in attach () >> from /usr/local/lib/sane/libsane-microtek2.so.1 >> #2 0x00000008063b4a69 in attach_one () >> from /usr/local/lib/sane/libsane-microtek2.so.1 >> #3 0x000000080083205b in sanei_scsi_find_devices () >> from /usr/local/lib/libsane.so.1 >> #4 0x000000080082ef1e in sanei_config_attach_matching_devices () >> from /usr/local/lib/libsane.so.1 >> #5 0x00000008063b4993 in sane_microtek2_init () >> from /usr/local/lib/sane/libsane-microtek2.so.1 >> #6 0x000000080083acb4 in init () from /usr/local/lib/libsane.so.1 >> #7 0x000000080083a944 in sane_dll_get_devices () >> from /usr/local/lib/libsane.so.1 >> #8 0x0000000000402089 in ?? () >> #9 0x0000000000401c41 in ?? () >> #10 0x0000000800628000 in ?? () >> #11 0x0000000000000000 in ?? () >> (gdb) >> >> -- >> John > Hi, Can you try to apply the attached patch to: cd /usr/ports/graphics/sane-backends make clean extract patch cd /usr/ports/graphics/sane-backends/work/sane-backends-1.0.23 cat sane-backend-debug.diff | patch -p1 cd /usr/ports/graphics/sane-backends make all deinstall install Maybe you can figure out exactly what line is causing the crash by adding more printf's like shown in the attached patch. --HPS
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC