[SANE] *** buffer overflow detected *** app terminated. Is it driver/sane problem?
WTR:
Try to list devices
Result:
GDB log
*** buffer overflow detected ***: /home/NAME/Downloads/bins/scanner.x64 terminated
Thread 7 "scanner.x64" received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff1b6d700 (LWP 11104)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: Нет такого файла или каталога.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff75df801 in __GI_abort () at abort.c:79
#2 0x00007ffff7628897 in __libc_message (action=action@entry=(do_abort | do_backtrace), fmt=fmt@entry=0x7ffff7755988 "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:181
#3 0x00007ffff76d3cff in __GI___fortify_fail_abort (need_backtrace=need_backtrace@entry=true, msg=msg@entry=0x7ffff7755905 "buffer overflow detected") at fortify_fail.c:33
#4 0x00007ffff76d3d21 in __GI___fortify_fail (msg=msg@entry=0x7ffff7755905 "buffer overflow detected") at fortify_fail.c:44
#5 0x00007ffff76d1a10 in __GI___chk_fail () at chk_fail.c:28
#6 0x00007ffff76d3c0a in __fdelt_chk (d=<optimized out>) at fdelt_chk.c:25
#7 0x00007fffd9e46f40 in sanei_bjnp_find_devices () from /usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1
#8 0x00007fffd9e3959d in sanei_pixma_collect_devices () from /usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1
#9 0x00007fffd9e36d51 in sane_pixma_get_devices () from /usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1
#10 0x00007ffff738d1ea in sane_dll_get_devices () from /usr/lib/x86_64-linux-gnu/libsane.so.1
#11 0x00007ffff7bc5e69 in lis_sane_list_devices (impl=0x8ae850, locations=LIS_DEVICE_LOCATIONS_ANY, out_dev_descs=0x7ffff1b6ca70) at ../subprojects/libinsane/src/bases/sane.c:317
#12 0x00007ffff7bb6e3e in lis_multi_list_devices (impl=0x8ae890, locations=LIS_DEVICE_LOCATIONS_ANY, out_dev_descs=0x7ffff1b6ce18) at ../subprojects/libinsane/src/multiplexer.c:177
#13 0x00007ffff7bb49b1 in lis_bw_list_devices (impl=0x8ae910, locations=LIS_DEVICE_LOCATIONS_ANY, dev_infos=0x7ffff1b6ce18) at ../subprojects/libinsane/src/basewrapper.c:157
#14 0x00007ffff7bc27f6 in cache_list_devices (impl=0x8ae9b0, locs=LIS_DEVICE_LOCATIONS_ANY, dev_infos=0x7ffff1b6ce18) at ../subprojects/libinsane/src/workarounds/cache.c:523
#15 0x00007ffff7bbebda in lis_sn_list_devices (impl=0x8ae9f0, locations=LIS_DEVICE_LOCATIONS_ANY, dev_infos=0x7ffff1b6ce18) at ../subprojects/libinsane/src/normalizers/source_nodes.c:146
#16 0x00007ffff7bb49b1 in lis_bw_list_devices (impl=0x8aea20, locations=LIS_DEVICE_LOCATIONS_ANY, dev_infos=0x7ffff1b6ce18) at ../subprojects/libinsane/src/basewrapper.c:157
#17 0x00007ffff7bb7528 in opts_list_devices (impl=0x8aeac0, locs=LIS_DEVICE_LOCATIONS_ANY, dev_infos=0x7ffff1b6ce18) at ../subprojects/libinsane/src/normalizers/all_opts_on_all_sources.c:106
#18 0x00007ffff7bb49b1 in lis_bw_list_devices (impl=0x8bc930, locations=LIS_DEVICE_LOCATIONS_ANY, dev_infos=0x7ffff1b6ce18) at ../subprojects/libinsane/src/basewrapper.c:157
#19 0x00007ffff7bb49b1 in lis_bw_list_devices (impl=0x8bc9d0, locations=LIS_DEVICE_LOCATIONS_ANY, dev_infos=0x7ffff1b6ce18) at ../subprojects/libinsane/src/basewrapper.c:157
#20 0x00007ffff7bb49b1 in lis_bw_list_devices (impl=0x8bca70, locations=LIS_DEVICE_LOCATIONS_ANY, dev_infos=0x7ffff1b6ce18) at ../subprojects/libinsane/src/basewrapper.c:157
#21 0x00007ffff7bb49b1 in lis_bw_list_devices (impl=0x8bcb10, locations=LIS_DEVICE_LOCATIONS_ANY, dev_infos=0x7ffff1b6ce18) at ../subprojects/libinsane/src/basewrapper.c:157
#22 0x00007ffff7bb49b1 in lis_bw_list_devices (impl=0x8bcbb0, locations=LIS_DEVICE_LOCATIONS_ANY, dev_infos=0x7ffff1b6ce18) at ../subprojects/libinsane/src/basewrapper.c:157
#23 0x00007ffff7bb49b1 in lis_bw_list_devices (impl=0x8bde00, locations=LIS_DEVICE_LOCATIONS_ANY, dev_infos=0x7ffff1b6ce18) at ../subprojects/libinsane/src/basewrapper.c:157
#24 0x00007ffff7bb49b1 in lis_bw_list_devices (impl=0x8bdea0, locations=LIS_DEVICE_LOCATIONS_ANY, dev_infos=0x7ffff1b6ce18) at ../subprojects/libinsane/src/basewrapper.c:157
#25 0x00007ffff7bb9222 in impl_list_devices (impl=0x8bdf40, loc=LIS_DEVICE_LOCATIONS_ANY, out_dev_descs=0xc00009a128) at ../subprojects/libinsane/src/normalizers/clean_dev_descs.c:87
#26 0x00007ffff7bb49b1 in lis_bw_list_devices (impl=0x8bdf80, locations=LIS_DEVICE_LOCATIONS_ANY, dev_infos=0xc00009a128) at ../subprojects/libinsane/src/basewrapper.c:157
#27 0x00007ffff7bc3551 in real_impl_list_devices (_data=0x7fffffffdb50) at ../subprojects/libinsane/src/workarounds/dedicated_thread.c:288
#28 0x00007ffff7bc2f86 in main_loop (arg=0x8be020) at ../subprojects/libinsane/src/workarounds/dedicated_thread.c:166
#29 0x00007ffff79976db in start_thread (arg=0x7ffff1b6d700) at pthread_create.c:463
#30 0x00007ffff76c088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Environment:
libinsane `1.0.2-32-ga49b6ba`
$ dpkg -l | grep sane
ii libsane-common 1.0.27-1~experimental3ubuntu2.2 all API library for scanners -- documentation and support files
ii libsane-extras:amd64 1.0.22.5 amd64 API library for scanners -- extra backends
ii libsane-extras-common 1.0.22.5 all API library for scanners -- documentation and support files
ii libsane-hpaio:amd64 3.17.10+repack0-5 amd64 HP SANE backend for multi-function peripherals
ii libsane1:amd64 1.0.27-1~experimental3ubuntu2.2 amd64 API library for scanners
ii sane 1.0.14-12build1 amd64 scanner graphical frontends
ii sane-utils 1.0.27-1~experimental3ubuntu2.2 amd64 API library for scanners -- utilities
ii xsane 0.999-5ubuntu2 amd64 featureful graphical frontend for SANE (Scanner Access Now Easy)
ii xsane-common 0.999-5ubuntu2 all xsane architecture independent files