Re: [MM] 'qmi-support' branch merged to git master



>> Pushed a fix to use the global packet data handle if this ever happens;
>> should at least fix the segfault.
> 
> Yup, confirmed.  But I got another one for you... Disconnecting the USB
> device results in:
> 
> 
> ModemManager[25297]: <debug> [1346422178.492667] [mm-modem-helpers-qmi.c:190] add_qmi_bands(): Cannot add the following bands: 'gsm-900-primary'
> ModemManager[25297]: <debug> [1346422178.493434] [mm-serial-port.c:969] mm_serial_port_close(): (ttyUSB2) device open count is 0 (close)
> ModemManager[25297]: <info>  [1346422178.493495] [mm-serial-port.c:984] mm_serial_port_close(): (ttyUSB2) closing serial port...
> ModemManager[25297]: <info>  [1346422178.494083] [mm-serial-port.c:1005] mm_serial_port_close(): (ttyUSB2) serial port closed
> ModemManager[25297]: <debug> [1346422178.494172] [mm-base-modem.c:755] initialize_ready(): Couldn't finish initialization in the current state: 'Modem is currently locked, cannot fully initialize'
> ModemManager[25297]: <debug> [1346422178.495707] [mm-device.c:395] export_modem(): Exported modem '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4' at path '/org/freedesktop/ModemManager1/Modem/0'
> ModemManager[25297]: <debug> [1346422178.495784] [mm-device.c:403] export_modem(): (/org/freedesktop/ModemManager1/Modem/0): 'Gobi' modem, VID 0x1199 PID 0x68A2 (usb)
> ModemManager[25297]: <info>  [1346422182.109369] [mm-manager.c:340] device_removed(): (tty/ttyUSB1): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4
> ModemManager[25297]: <info>  [1346422182.114959] [mm-manager.c:340] device_removed(): (net/wwan0): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4
> ModemManager[25297]: <info>  [1346422182.117419] [mm-manager.c:340] device_removed(): (tty/ttyUSB0): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4
> ModemManager[25297]: [/dev/cdc-wdm0] unexpected port hangup!
> ModemManager[25297]: <info>  [1346422182.120690] [mm-manager.c:340] device_removed(): (usbmisc/cdc-wdm0): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4
> ModemManager[25297]: <info>  [1346422182.122515] [mm-manager.c:340] device_removed(): (tty/ttyUSB2): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4
> ModemManager[25297]: <info>  [1346422182.127730] [mm-manager.c:340] device_removed(): (net/wwan1): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4
> ModemManager[25297]: <info>  [1346422182.140570] [mm-manager.c:340] device_removed(): (usbmisc/cdc-wdm1): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000000496c38 in data_available ()
> (gdb) bt
> #0  0x0000000000496c38 in data_available ()
> #1  0x00007ffff6d09205 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #2  0x00007ffff6d09538 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #3  0x00007ffff6d09932 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #4  0x00000000004380d7 in main (argc=<optimized out>, argv=<optimized out>) at main.c:150
> 

Are you able to compile both MM and libqmi with CFLAGS="-ggdb -O0" and
get me a bit more info about where in data_available() the thing
crashed? I don't even know if that's the data_available() from MM or
libqmi-glib... :-/

-- 
Aleksander


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]