The C Source, Patches and (shudder!) Bugs
Post Reply
joseo
Posts: 3
Joined: 16 Sep 2015, 05:53

Segmentation violation

Post by joseo » 28 Sep 2015, 14:38

Hi I have a problem with usb-modeswitch-2.2.5. This is message in /var/log/upstart/usb-modeswitch-upstart.log

libusb:error[op_clear_halt] clear_hat Failed error -1 errno 71
child killed : segmentation violation
while executing
"exec /usr/sbin/usb_modeswitch -W -D.......

I haven't found the solution . Can somebody help me? I'd appreciate it thanks
I have :
a laptop DELL Inspiron 6400
Ubuntu 12.04 (32 bits)
Modem Alcatel X030

joseo
Posts: 3
Joined: 16 Sep 2015, 05:53

Re: Segmentation violation

Post by joseo » 29 Sep 2015, 13:42

usb-modeswitch crrashed! . this is message when I write dmes command;

I saw "usb_modeswitch[2369] : segfault .... Any idea what happens?

96.488082] usb 3-1: new full-speed USB device number 2 using uhci_hcd
[ 96.653118] usb 3-1: New USB device found, idVendor=1c9e, idProduct=1001
[ 96.653127] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 96.653131] usb 3-1: Product: USB MMC Storage
[ 96.653135] usb 3-1: Manufacturer: USB Modem
[ 96.653139] usb 3-1: SerialNumber: 000000000002
[ 96.941920] usb-storage 3-1:1.0: USB Mass Storage device detected
[ 96.942332] scsi2 : usb-storage 3-1:1.0
[ 96.943010] usbcore: registered new interface driver usb-storage
[ 97.792271] usb_modeswitch[2369]: segfault at 34 ip b771178d sp bfb53fd0 error 4 in libusb-1.0.so.0.1.0[b770f000+e000]
[ 97.864134] usb 3-1: USB disconnect, device number 2
[ 99.344072] usb 3-1: new full-speed USB device number 3 using uhci_hcd
[ 99.496861] init: usb-modeswitch-upstart main process (2349) terminated with status 1
[ 99.709127] usb 3-1: New USB device found, idVendor=1c9e, idProduct=6061
[ 99.709137] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 99.709141] usb 3-1: Product: USB Modem
[ 99.709145] usb 3-1: Manufacturer: USB Modem
[ 141.805125] usbcore: registered new interface driver usbserial
[ 141.805153] usbcore: registered new interface driver usbserial_generic
[ 141.805172] usbserial: USB Serial support registered for generic
[ 141.805195] usbserial_generic 3-1:1.0: The "generic" usb-serial driver is only for testing and one-off prototypes.
[ 141.805199] usbserial_generic 3-1:1.0: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[ 141.805203] usbserial_generic 3-1:1.0: generic converter detected
[ 141.806903] usb 3-1: generic converter now attached to ttyUSB0
[ 141.806952] usbserial_generic 3-1:1.1: The "generic" usb-serial driver is only for testing and one-off prototypes.
[ 141.806956] usbserial_generic 3-1:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[ 141.806960] usbserial_generic 3-1:1.1: generic converter detected
[ 141.807081] usb 3-1: generic converter now attached to ttyUSB1
[ 141.807101] usbserial_generic 3-1:1.2: The "generic" usb-serial driver is only for testing and one-off prototypes.
[ 141.807105] usbserial_generic 3-1:1.2: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[ 141.807108] usbserial_generic 3-1:1.2: generic converter detected
[ 141.807202] usb 3-1: generic converter now attached to ttyUSB2
[ 256.958498] PPP BSD Compression module registered
[ 257.020182] PPP Deflate Compression module registered

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Segmentation violation

Post by Josh » 04 Oct 2015, 08:41

This looks like an error in libusb.

Can you install a newer version? The one in your system is quite dated.

joseo
Posts: 3
Joined: 16 Sep 2015, 05:53

Re: Segmentation violation

Post by joseo » 05 Nov 2015, 14:31

Thanks :D I installed older version and It's working , for your information Ubuntu 12.04 doesn't work with version usb-modeswitch 2.2.5 right now I have installed usb-modeswitch 1.1.2 it's ok. Thanks so much for your message

Joseo

Post Reply