Hello Alison Chaiken, > Here is the backtrace from GDB. I'd be happy to compile the package > again from source and gather more info, although not if I must compile > GTK, too!
No need to compile just for debug information as the debug information is now widely available in separate deb packages. [1] Unfortunately xsane and libsane got not yet such dbgsym packages. But for them are "manual" crafted packages xsane-dbg libsane-dbg available. I have tried to figure out how the last lines would have looked with debug information from the last lines of your stack trace. So I think the crash happened in sane-backends-1.0.25/backend/genesys.c line 2722. Unfortunately for further investigation the real hardware is probably needed. Or the maintainer has some pointers. Kind regards, Bernhard [1] https://wiki.debian.org/AutomaticDebugPackages [2] https://wiki.debian.org/HowToGetABacktrace apt install xserver-xorg lightdm openbox gdb valgrind dpkg-dev devscripts mc git xsane-dbg libsane-dbg apt source libsane gdb -q --args /usr/bin/xsane set pagination off directory /home/benutzer/libsane/sane-backends-1.0.25 run disassemble sane_genesys_start disassemble compute_planar_coefficients #0 0x00007fffe4ef4ffb in () at /usr/lib/x86_64-linux-gnu/sane/libsane-genesys.so.1 0x00007fffe80aaff7 <+327>: add $0x1,%r9d 0x00007fffe80aaffb <+331>: movzbl (%r15,%rsi,1),%r11d 0x00007fffe80ab000 <+336>: movzbl (%rdx,%rsi,1),%esi #1 0x00007fffe4ef56e6 in () at /usr/lib/x86_64-linux-gnu/sane/libsane-genesys.so.1 0x00007fffe80ab6dc <+636>: mov 0x40(%rsp),%rdx 0x00007fffe80ab6e1 <+641>: callq 0x7fffe80aaeb0 <compute_planar_coefficients> 0x00007fffe80ab6e6 <+646>: add $0x30,%rsp #2 0x00007fffe4eff1d0 in sane_genesys_start () at /usr/lib/x86_64-linux-gnu/sane/libsane-genesys.so.1 0x00007fffe80b51c8 <+2504>: mov %rbx,%rdi 0x00007fffe80b51cb <+2507>: callq 0x7fffe80ab460 <genesys_send_shading_coefficient> 0x00007fffe80b51d0 <+2512>: test %eax,%eax (gdb) disassemble /m compute_planar_coefficients Dump of assembler code for function compute_planar_coefficients: ... 2719 { 2720 dk += 2721 256 * dev->dark_average_data[((x+i) + pixels_per_line * c) * 2 + 1]; 0x00007fffe80aaff0 <+320>: lea 0x1(%r8),%r10d 0x00007fffe80ab008 <+344>: movzbl (%r15,%r10,1),%ecx 0x00007fffe80ab00d <+349>: shl $0x8,%ecx 2722 dk += dev->dark_average_data[((x+i) + pixels_per_line * c) * 2]; 0x00007fffe80aaff4 <+324>: mov %r8d,%esi 0x00007fffe80aaffb <+331>: movzbl (%r15,%rsi,1),%r11d <------------- Crash happened at this instruction 0x00007fffe80ab010 <+352>: add %r11d,%ecx 0x00007fffe80ab013 <+355>: add %ecx,%eax 2723 br += 2724 256 * dev->white_average_data[((x+i) + pixels_per_line * c) * 2 + 1]; 0x00007fffe80ab015 <+357>: movzbl (%rdx,%r10,1),%ecx 0x00007fffe80ab01a <+362>: shl $0x8,%ecx

