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

Segmentation violation

Post by joseo » Mon Sep 28, 2015 2:38 pm

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: Wed Sep 16, 2015 5:53 am

Re: Segmentation violation

Post by joseo » Tue Sep 29, 2015 1:42 pm

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: 6546
Joined: Sat Nov 03, 2007 12:30 am

Re: Segmentation violation

Post by Josh » Sun Oct 04, 2015 8:41 am

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: Wed Sep 16, 2015 5:53 am

Re: Segmentation violation

Post by joseo » Thu Nov 05, 2015 2:31 pm

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