<div dir="ltr">Thanks Kip. I've tried a few more things to try to isolate.<div><br></div><div>First</div><div><br></div><div>$ cat /etc/lsb-release<br>DISTRIB_ID=LinuxMint<br>DISTRIB_RELEASE=19<br>DISTRIB_CODENAME=tara<br>DISTRIB_DESCRIPTION="Linux Mint 19 Tara"<br></div><div><br></div><div>Commenting pixma out of dll.conf avoids the buffer overflow but then of course the scanner is not found.</div><div><br></div><div>$ scanimage -L<br><br>No scanners were identified. If you were expecting something different,<br>check that the scanner is plugged in, turned on and detected by the<br>sane-find-scanner tool (if appropriate). Please read the documentation<br>which came with this software (README, FAQ, manpages).<br></div><div><br></div><div>valgrind might be of use here? Here's a rum with pixma uncommented in dll.conf:</div><div><br></div><div>$ valgrind scanimage -L<br>==16057== Memcheck, a memory error detector<br>==16057== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.<br>==16057== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info<br>==16057== Command: scanimage -L<br>==16057== <br>*** buffer overflow detected ***: scanimage terminated<br>==16057== <br>==16057== Process terminating with default action of signal 6 (SIGABRT)<br>==16057== at 0x5526E97: raise (raise.c:51)<br>==16057== by 0x5528800: abort (abort.c:79)<br>==16057== by 0x5571896: __libc_message (libc_fatal.c:181)<br>==16057== by 0x561CCFE: __fortify_fail_abort (fortify_fail.c:33)<br>==16057== by 0x561CD20: __fortify_fail (fortify_fail.c:44)<br>==16057== by 0x561AA0F: __chk_fail (chk_fail.c:28)<br>==16057== by 0x5619F28: _IO_str_chk_overflow (vsprintf_chk.c:31)<br>==16057== by 0x5576493: _IO_default_xsputn (genops.c:417)<br>==16057== by 0x5544FEA: vfprintf (vfprintf.c:1643)<br>==16057== by 0x5619FCA: __vsprintf_chk (vsprintf_chk.c:82)<br>==16057== by 0x5619EF9: __sprintf_chk (sprintf_chk.c:31)<br>==16057== by 0x6D08054: ??? (in /usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1.0.28)<br>==16057== <br>==16057== HEAP SUMMARY:<br>==16057== in use at exit: 23,779 bytes in 57 blocks<br>==16057== total heap usage: 2,975 allocs, 2,918 frees, 1,105,998 bytes allocated<br>==16057== <br>==16057== LEAK SUMMARY:<br>==16057== definitely lost: 0 bytes in 0 blocks<br>==16057== indirectly lost: 0 bytes in 0 blocks<br>==16057== possibly lost: 10,968 bytes in 30 blocks<br>==16057== still reachable: 12,811 bytes in 27 blocks<br>==16057== suppressed: 0 bytes in 0 blocks<br>==16057== Rerun with --leak-check=full to see details of leaked memory<br>==16057== <br>==16057== For counts of detected and suppressed errors, rerun with: -v<br>==16057== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)<br>Aborted<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 5, 2019 at 1:21 PM Kip Shaffer <<a href="mailto:kip@shafferhouse.org">kip@shafferhouse.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi David! Here is my output from the same command. I have nothing in my pixma.conf file.<div><br></div><div>SANE_DEBUG_BJNP=5 scanimage -L 2>&1<br>[sanei_debug] Setting debug level of bjnp to 5.<br>[bjnp] sanei_bjnp_find_devices, pixma backend version: 0.23.4<br>[bjnp] sanei_bjnp_find_devices: No devices specified in configuration file.<br>[bjnp] sanei_bjnp_find_devices: Added all configured scanners, now do auto detection...<br>[bjnp] prepare_socket: lo is not a valid IPv4 interface, skipping...<br>[bjnp] prepare_socket: eth0 is IPv4 capable, sending broadcast, socket = 39<br>[bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...<br>[bjnp] prepare_socket: eth0 is IPv6 capable, sending broadcast, socket = 40<br>[bjnp] sanei_bjnp_find_devices: Select returned, time left 0.499992....<br>[bjnp] sanei_find_devices: Discover response:<br>[bjnp] 00000000:4d 46 4e 50 82 01 00 00 00 00 00 00 00 00 00 10 <br>[bjnp] 00000010:00 01 80 00 06 04 f4 a9 97 c9 3d 62 c0 a8 01 6f <br>[bjnp] get_scanner_name: Name for 192.168.1.111 not found : Name or service not known<br>[bjnp] bjnp_allocate_device(mfnp://<a href="http://192.168.1.111:8610/timeout=10000" target="_blank">192.168.1.111:8610/timeout=10000</a>) 0<br>[bjnp] get_scanner_name: Name for 192.168.1.111 not found : Name or service not known<br>[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.111 port 8610<br>[bjnp] bjnp_get_scanner_mac_address: Discover response:<br>[bjnp] 00000000:4d 46 4e 50 82 01 00 00 00 00 00 00 00 00 00 10 <br>[bjnp] 00000010:00 01 80 00 06 04 f4 a9 97 c9 3d 62 c0 a8 01 6f <br>[bjnp] bjnp_allocate_device: Scanner not yet in our list, added it: <a href="http://192.168.1.111:8610" target="_blank">192.168.1.111:8610</a><br>[bjnp] get_scanner_id: Get scanner identity<br>[bjnp] 00000000:4d 46 4e 50 02 30 00 00 00 01 00 00 00 00 00 00 <br>[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.111 port 8610<br>[bjnp] get_scanner_id: scanner identity:<br>[bjnp] 00000000:4d 46 4e 50 82 30 00 00 00 01 00 00 00 00 00 5a <br>[bjnp] 00000010:4d 46 47 3a 43 41 4e 4f 4e 3b 43 4d 44 3a 4d 46 <br>[bjnp] 00000020:4e 50 31 2c 4d 75 6c 74 69 50 41 53 53 20 32 2e <br>[bjnp] 00000030:31 3b 4d 44 4c 3a 4d 46 36 34 32 43 2f 36 34 33 <br>[bjnp] 00000040:43 2f 36 34 34 43 3b 43 4c 53 3a 49 4d 47 3b 44 <br>[bjnp] 00000050:45 53 3a 43 61 6e 6f 6e 20 4d 46 36 34 32 43 2f <br>[bjnp] 00000060:36 34 33 43 2f 36 34 34 43 3b <br>[bjnp] get_scanner_id: Scanner identity string = MFG:CANON;CMD:MFNP1,MultiPASS 2.1;MDL:MF642C/643C/644C;CLS:IMG;DES:Canon MF642C/643C/644C; - length = 90<br>[bjnp] get_scanner_id: Scanner model = MF642C/643C/644C<br>[bjnp] add_scanner: New scanner added: mfnp://<a href="http://192.168.1.111:8610/timeout=10000" target="_blank">192.168.1.111:8610/timeout=10000</a>, serial 192.168.1.111, mac address: f4a997c93d62.<br>[bjnp] sanei_bjnp_find_devices: Select returned, time left 0.499997....<br>[bjnp] sanei_find_devices: Discover response:<br>[bjnp] 00000000:4d 46 4e 50 82 01 00 00 00 00 00 00 00 00 00 10 <br>[bjnp] 00000010:00 01 80 00 06 04 f4 a9 97 c9 3d 62 c0 a8 01 6f <br>[bjnp] get_scanner_name: Name for 192.168.1.111 not found : Name or service not known<br>[bjnp] bjnp_allocate_device(mfnp://<a href="http://192.168.1.111:8610/timeout=10000" target="_blank">192.168.1.111:8610/timeout=10000</a>) 1<br>[bjnp] get_scanner_name: Name for 192.168.1.111 not found : Name or service not known<br>[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.111 port 8610<br>[bjnp] bjnp_get_scanner_mac_address: Discover response:<br>[bjnp] 00000000:4d 46 4e 50 82 01 00 00 00 00 00 00 00 00 00 10 <br>[bjnp] 00000010:00 01 80 00 06 04 f4 a9 97 c9 3d 62 c0 a8 01 6f <br>[bjnp] add_scanner: Scanner at mfnp://<a href="http://192.168.1.111:8610/timeout=10000" target="_blank">192.168.1.111:8610/timeout=10000</a> was added before, good!<br>[bjnp] sanei_find_devices: scanner discovery finished...<br>device `pixma:MF642C/643C/644C_192.168.1.111' is a CANON Canon i-SENSYS MF640 Series multi-function peripheral<br></div></div><div class="gmail_quote"><div><br></div><div> </div></div></div>
</blockquote></div>