backend/escl: Fail with any tags in /etc/sane.d/escl.conf
Hello,
with any changes at /etc/sane.d/escl.conf
[device] model HP DeskJet 4200 series type https ip 192.168.0.83 port 443
scanimage -L crash with Segmentation fault.
Debug output:
`
LANG=en_US.UTF-8 SANE_DEBUG_ESCL=255 gdb --args scanimage -L
GNU gdb (Debian 16.3-5) 16.3 Copyright (C) 2024 Free Software Foundation, Inc. [...] Reading symbols from scanimage... Reading symbols from /usr/lib/debug/.build-id/27/5d72be0f0a78c3c92a3b3129695afbc02c0cd9.debug... (gdb) run Starting program: /usr/bin/scanimage -L [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff79716c0 (LWP 127267)] [11:51:45.199562] [sanei_debug] Setting debug level of escl to 255. [11:51:45.199583] [escl] escl sane_init [11:51:45.199596] [escl] escl sane_get_devices
Thread 1 "scanimage" received signal SIGSEGV, Segmentation fault. 0x00007ffff7e26987 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
` Without the new lines no error.
CU Jörg
PS.: There is a Debian bug with the similar error: