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



>> 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... :-/
> 
> 
> Sure.  Just had to figure out how not to strip these things be default
> in my hackish Debian packages... There you go:
> 
> ModemManager[16122]: <info>  [1346430944.042515] [mm-manager.c:340] device_removed(): (net/wwan0): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4
> ModemManager[16122]: <info>  [1346430944.044142] [mm-manager.c:340] device_removed(): (tty/ttyUSB0): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4
> ModemManager[16122]: <info>  [1346430944.049454] [mm-manager.c:340] device_removed(): (tty/ttyUSB1): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4
> ModemManager[16122]: <info>  [1346430944.051733] [mm-manager.c:340] device_removed(): (tty/ttyUSB2): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4
> ModemManager[16122]: [/dev/cdc-wdm0] unexpected port hangup!
> ModemManager[16122]: <info>  [1346430944.055539] [mm-manager.c:340] device_removed(): (usbmisc/cdc-wdm0): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4
> ModemManager[16122]: <info>  [1346430944.062661] [mm-manager.c:340] device_removed(): (net/wwan1): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4
> ModemManager[16122]: <info>  [1346430944.070724] [mm-manager.c:340] device_removed(): (usbmisc/cdc-wdm1): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4
> ModemManager[16122]: <info>  [1346430944.079644] [mm-manager.c:340] device_removed(): (net/wwan2): released by modem /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000000497366 in data_available (source=0x7f57d0, condition=24, self=0x7e6e00) at qmi-device.c:1160
> 1160            g_debug ("[%s] unexpected port hangup!",
> (gdb) bt
> #0  0x0000000000497366 in data_available (source=0x7f57d0, condition=24, self=0x7e6e00) at qmi-device.c:1160
> #1  0x00007ffff6d09205 in g_main_dispatch (context=0x7964f0) at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
> #2  g_main_context_dispatch (context=context@entry=0x7964f0) at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
> #3  0x00007ffff6d09538 in g_main_context_iterate (context=0x7964f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
>     at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
> #4  0x00007ffff6d09932 in g_main_loop_run (loop=0x7a57b0) at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3340
> #5  0x00000000004380d7 in main (argc=<optimized out>, argv=<optimized out>) at main.c:150
> 

Thanks for the extended info. I pushed a fix to libqmi, can you test it
and tell me if that was enough?

Cheers!

-- 
Aleksander


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