xsane crashes when started

Bug #1730336 reported by David Kedves
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xsane (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ gdb xsane
GNU gdb (Ubuntu 8.0.1-0ubuntu1) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from xsane...Reading symbols from /usr/lib/debug/.build-id/26/27d490a959f1f414cf058f163573e4fda323f4.debug...done.
done.
(gdb) start
Temporary breakpoint 1 at 0x1e2c0: file xsane.c, line 6031.
Starting program: /usr/bin/xsane
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Temporary breakpoint 1, main (argc=1, argv=0x7fffffffd498) at xsane.c:6031
6031 xsane.c: No such file or directory.
(gdb) cont
Continuing.
[New Thread 0x7fffeb22b700 (LWP 26097)]
[New Thread 0x7fffeaa2a700 (LWP 26098)]
[New Thread 0x7fffea229700 (LWP 26099)]
[New Thread 0x7fffe9261700 (LWP 26101)]
[New Thread 0x7fffd30c7700 (LWP 26736)]

Thread 1 "xsane" received signal SIGSEGV, Segmentation fault.
0x00007ffff500aaca in libusb_attach_kernel_driver () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
(gdb) back
#0 0x00007ffff500aaca in libusb_attach_kernel_driver () at /lib/x86_64-linux-gnu/libusb-1.0.so.0
#1 0x00007fffcb2e0be2 in SamsungFramework::USBSDK::Inner::SLibUSBDevice::reattachDriverToInterface(unsigned char) () at /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1
#2 0x00007fffcb2e1630 in SamsungFramework::USBSDK::Inner::SLibUSBDevice::close() ()
    at /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1
#3 0x00007fffcb30719b in SamsungFramework::USBSDK::Inner::SUSBDeviceImpl::close() ()
    at /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1
#4 0x00007fffcb3067bb in SamsungFramework::USBSDK::SUSBDevice::close() ()
    at /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1
#5 0x00007fffcb306309 in SamsungFramework::USBSDK::Inner::FillExtendedDeviceID(SamsungFramework::USBSDK::SUSBDeviceInfo&) () at /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1
#6 0x00007fffcb2e34c5 in SamsungFramework::USBSDK::Inner::SLibUSBDevice::SFindAllDevicesFunctor::operator()(usb_device*) () at /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1
#7 0x00007fffcb2e1c2f in SamsungFramework::USBSDK::Inner::SLibUSBDevice::FindUSBDevices(SamsungFramework::USBSDK::Inner::SLibUSBDevice::SFunctor&) () at /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1
#8 0x00007fffcb2e2327 in SamsungFramework::USBSDK::Inner::SLibUSBDevice::FindUSBDevices(SamsungFramework::USBSDK::SUSBDeviceFinder::SFunctor&) () at /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1
#9 0x00007fffcb2dd0a6 in SamsungFramework::USBSDK::SUSBDeviceFinder::FindAllDevices(std::vector<SamsungFramework::USBSDK::SUSBDeviceInfo, std::allocator<SamsungFramework::USBSDK::SUSBDeviceInfo> >&) ()
    at /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1
#10 0x00007fffcb2abfef in SamsungFramework::DiscoverySDK::SUSBDiscovery::getDevices(std::vector<SamsungFramework::Common::USB::SUSBDeviceInfo, std::allocator<SamsungFramework::Common::USB::SUSBDeviceInfo> >&) ()
    at /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1
#11 0x00007fffcb281248 in ULDCommon::Search::find_UsbDevice_list(std::list<ULDCommon::DeviceInfo, std::allocator<ULDCommon::DeviceInfo> >&) const () at /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1
#12 0x00007fffcb25ce20 in SANEBackendSMFP::backend_get_devices(SANE_Device const***, int) ()
    at /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1
#13 0x00007fffcb26a8b4 in sane_smfp_get_devices () at /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1
#14 0x00007ffff7bc415a in sane_dll_get_devices () at /usr/lib/x86_64-linux-gnu/libsane.so.1
#15 0x00005555555dc084 in xsane_init (argc=<optimized out>, argv=<optimized out>) at xsane.c:5909
#16 0x00005555555e17e9 in xsane_interface (argc=1, argv=0x7fffffffd498) at xsane.c:5972
#17 0x000055555557272a in main (argc=1, argv=0x7fffffffd498) at xsane.c:6217
(gdb)

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: xsane 0.999-5ubuntu2
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
CurrentDesktop: GNOME-Flashback:GNOME
Date: Mon Nov 6 10:26:35 2017
SourcePackage: xsane
UpgradeStatus: Upgraded to artful on 2017-10-19 (17 days ago)

Revision history for this message
David Kedves (kedazo) wrote :
Revision history for this message
David Kedves (kedazo) wrote :

Hi,

After thinking a bit, it turned out this might not an really Ubuntu issue, as the crash seems to be originates from

$ dpkg -S libsane-smfp
suld-driver2-1.00.36: /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1
suld-driver2-1.00.36: /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so.1.0.1
suld-driver2-1.00.36: /usr/lib/sane/libsane-smfp.so.1
suld-driver2-1.00.36: /usr/lib/sane/libsane-smfp.so
suld-driver2-1.00.36: /usr/lib/x86_64-linux-gnu/sane/libsane-smfp.so
suld-driver2-1.00.36: /usr/lib/sane/libsane-smfp.so.1.0.1

which is an external package.... however, the same package / sane driver was working fine with the previous ubuntu's i wonder what has changed...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.