Here it is:
Starting program: /usr/sbin/usb_modeswitch -W -v 05c6 -p 1000 -K
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Take all parameters from the command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.5.2 (C) Josua Dietze 2017
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x05c6
DefaultProduct= 0x1000
StandardEject=1
[New Thread 0x77d58700 (LWP 4900)]
Look for default devices ...
found USB ID 17ef:481d
found USB ID 0781:5567
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 05c6:1000
vendor ID matched
product ID matched
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 1d6b:0001
found USB ID 1d6b:0001
Found devices in default mode (1)
Access device 006 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 8
Use endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
Error: could not get description string "serial number"
-
Manufacturer: Qualcomm, Incorporated
Product: Qualcomm CDMA Technologies MSM
Serial No.: read error
-
Sending standard EJECT sequence
Looking for active drivers ...
Thread 1 "usb_modeswitch" received signal SIGSEGV, Segmentation fault.
0x9771 in detachDrivers () at usb_modeswitch.c:1478
1478usb_modeswitch.c: No such file or directory.
(gdb) bt
#0 0x9771 in detachDrivers () at usb_modeswitch.c:1478
#1 0x7109 in main (argc=, argv=) at
usb_modeswitch.c:737
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1880191
Title:
usb_modeswitch 2.5.2 segfault
Status in usb-modeswitch package in Ubuntu:
Incomplete
Bug description:
The version that is shipped with Ubuntu 20.04 x64 segfaults:
Starting program: /usr/sbin/usb_modeswitch -W -v 05c6 -p 1000 -K
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Take all parameters from the command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.5.2 (C) Josua Dietze 2017
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x05c6
DefaultProduct= 0x1000
StandardEject=1
[New Thread 0x77d58700 (LWP 16370)]
Look for default devices ...
found USB ID 05ac:8406
found USB ID 1d6b:0003
found USB ID 05ac:0291
found USB ID 05ac:828f
found USB ID 0a5c:4500
found USB ID 05c6:1000
vendor ID matched
product ID matched
found USB ID 0781:5567
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 015 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 8
Use endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
Error: could not get description string "serial number"
-
Manufacturer: Qualcomm, Incorporated
Product: Qualcomm CDMA Technologies MSM
Serial No.: read error
-
Sending standard EJECT sequence
Looking for active drivers ...
libusb: error [_open_sysfs_attr] open
/sys/bus/usb/devices/1-2/bConfigurationValue failed ret=-1 errno=2
Thread 1 "usb_modeswitch" received signal SIGSEGV, Segmentation fault.
0x9771 in ?? ()
(gdb) bt
#0 0x9771 in ?? ()
#1 0x7109 in ?? ()
#2 0x77dd10b3 in __libc_start_main (main=0x6820, argc=7,
argv=0x7fffe098, init=, fini=,
rtld_fini=, stack_end=0x7fffe088) at
../csu/libc-start.c:308
#3 0x7bde in ?? ()
I tried to compile latest available version: usb-
modeswitch-2.6.0.tar.bz2 (md5: be73dcc84025794081a1d4d4e5a75e4c) and
it does not crash
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1880191/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp