Re: ModemManager crash (just compiled from git master)
- From: nf2 <nf2 email gmail com>
- To: networkmanager-list gnome org
- Subject: Re: ModemManager crash (just compiled from git master)
- Date: Mon, 8 Mar 2010 03:07:30 +0100
this fixed it...
----------------------------- src/mm-generic-gsm.c -----------------------------
index 6f0cd71..b131bed 100644
@@ -548,7 +548,7 @@ cgreg1_done (MMSerialPort *port,
priv->poll_id = g_timeout_add_seconds (10,
periodic_poll_cb, info->modem);
}
/* Success; get initial state */
- mm_serial_port_queue_command (port, "+CGREG?", 10,
reg_poll_response, info);
+ mm_serial_port_queue_command (port, "+CGREG?", 10,
reg_poll_response, info->modem);
}
mm_callback_info_schedule (info);
}
@@ -570,7 +570,7 @@ cgreg2_done (MMSerialPort *port,
mm_serial_port_queue_command (port, "+CGREG=1", 3,
cgreg1_done, info);
} else {
/* Success; get initial state */
- mm_serial_port_queue_command (port, "+CGREG?", 10,
reg_poll_response, info);
+ mm_serial_port_queue_command (port, "+CGREG?", 10,
reg_poll_response, info->modem);
/* All done */
mm_callback_info_schedule (info);
@@ -602,7 +602,7 @@ creg1_done (MMSerialPort *port,
priv->poll_id = g_timeout_add_seconds (10,
periodic_poll_cb, info->modem);
}
/* Success; get initial state */
- mm_serial_port_queue_command (port, "+CREG?", 10,
reg_poll_response, info);
+ mm_serial_port_queue_command (port, "+CREG?", 10,
reg_poll_response, info->modem);
/* Now try to set up CGREG messages */
mm_serial_port_queue_command (port, "+CGREG=2", 3, cgreg2_done, info);
On Mon, Mar 8, 2010 at 12:44 AM, nf2 <nf2 email gmail com> wrote:
> Hi,
>
> I just got a SIGSEGV when trying to connect with my Huawei E1552
>
> (debug output and stack trace below)
>
> Any ideas?
>
> regards,
> Norbert
>
>
> killall -9 modem-manager; /usr/sbin/modem-manager --debug
> ** Message: Loaded plugin Nokia
> ** Message: Loaded plugin Gobi
> ** Message: Loaded plugin Generic
> ** Message: Loaded plugin Sierra
> ** Message: Loaded plugin Novatel
> ** Message: Loaded plugin Option High-Speed
> ** Message: Loaded plugin AnyData
> ** Message: Loaded plugin Ericsson MBM
> ** Message: Loaded plugin Option
> ** Message: Loaded plugin Longcheer
> ** Message: Loaded plugin ZTE
> ** Message: Loaded plugin Huawei
> ** Message: Loaded plugin MotoC
> ** (modem-manager:3335): DEBUG: (Huawei): (ttyUSB1) deferring support check
> ** (modem-manager:3335): DEBUG: (Huawei): (ttyUSB2) deferring support check
> ** Message: (ttyUSB0) opening serial device...
> ** (modem-manager:3335): DEBUG: (ttyUSB0): probe requested by plugin 'Huawei'
> ** (modem-manager:3335): DEBUG: (ttyUSB0): --> 'AT+GCAP<CR>'
> ** (modem-manager:3335): DEBUG: (ttyUSB0): <-- '<CR><LF>+GCAP:
> +CGSM,+DS,+ES<CR><LF><CR><LF>OK<CR><LF>'
> ** Message: (ttyUSB0) closing serial device...
> ** Message: (ttyUSB0) opening serial device...
> ** Message: (Huawei): GSM modem
> /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3 claimed port ttyUSB0
> ** (modem-manager:3335): DEBUG: Added modem
> /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3
> ** (modem-manager:3335): DEBUG: (ttyUSB0): --> 'AT+CPIN?<CR>'
> ** (modem-manager:3335): DEBUG: (ttyUSB0): <-- '<CR><LF>+CPIN:
> READY<CR><LF><CR><LF>OK<CR><LF>'
> ** Message: (ttyUSB0) closing serial device...
> ** (modem-manager:3335): DEBUG: Exported modem
> /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3 as
> /org/freedesktop/ModemManager/Modems/0
> ** (modem-manager:3335): DEBUG: (ttyUSB1): re-checking support...
> ** Message: (ttyUSB1) opening serial device...
> ** (modem-manager:3335): DEBUG: (ttyUSB2): re-checking support...
> ** Message: (ttyUSB2) opening serial device...
> ** (modem-manager:3335): DEBUG: (ttyUSB2): <--
> '<CR><LF>^RSSI:10<CR><LF><CR><LF>^BOOT:35745091,0,0,0,87<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^BOOT:35745091,0,0,0,87<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^BOOT:35745091,0,0,0,87<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^BOOT:35745091,0,0,0,87<CR><LF><CR><LF>^RSSI:7<CR><LF>'
> ** Message: (ttyUSB2) closing serial device...
> ** Message: (Huawei): GSM modem
> /sys/devices/pci0000:00/0000:00:04.1/usb2/2-3 claimed port ttyUSB2
> ** Message: (ttyUSB1) closing serial device...
> ** Message: (ttyUSB1) opening serial device...
> ** (modem-manager:3335): DEBUG: (ttyUSB1): probe requested by plugin 'Generic'
> ** (modem-manager:3335): DEBUG: (ttyUSB1): --> 'AT+GCAP<CR>'
> q** (modem-manager:3335): DEBUG: (ttyUSB1): --> 'AT+GCAP<CR>'
> ** (modem-manager:3335): DEBUG: (ttyUSB1): --> 'AT+GCAP<CR>'
> ** Message: (ttyUSB1) closing serial device...
> ** Message: (ttyUSB0) opening serial device...
> ** Message: Modem /org/freedesktop/ModemManager/Modems/0: state
> changed (disabled -> enabling)
> ** (modem-manager:3335): DEBUG: (ttyUSB0): --> 'ATZ E0 V1 +CMEE=1<CR>'
> ** (modem-manager:3335): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
> ** (modem-manager:3335): DEBUG: (ttyUSB0): --> 'ATE0 +CMEE=1<CR>'
> ** (modem-manager:3335): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
> ** (modem-manager:3335): DEBUG: (ttyUSB0): --> 'ATX4 &C1<CR>'
> ** (modem-manager:3335): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
> ** (modem-manager:3335): DEBUG: (ttyUSB0): --> 'AT+CFUN=1<CR>'
> ** (modem-manager:3335): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
> ** Message: Modem /org/freedesktop/ModemManager/Modems/0: state
> changed (enabling -> enabled)
> ** Message: (ttyUSB2) opening serial device...
> ** (modem-manager:3335): DEBUG: (ttyUSB2): <--
> '<CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^BOOT:35745091,0,0,0,87<CR><LF><CR><LF>^RSSI:7<CR><LF><CR><LF>^RSSI:10<CR><LF><CR><LF>^RSSI:10<CR><LF><CR><LF>^RSSI:10<CR><LF><CR><LF>^RSSI:10<CR><LF><CR><LF>^RSSI:10<CR><LF><CR><LF>^BOOT:35745091,0,0,0,87<CR><LF><CR><LF>^RSSI:10<CR><LF><CR><LF>^RSSI:10<CR><LF><CR><LF>^RSSI:10<CR><LF><CR><LF>^RSSI:10<CR><LF><CR><LF>^RSSI:10<CR><LF><CR><LF>^RSSI:10<CR><LF><CR><LF>^BOOT:35745091,0,0,0,87<CR><LF><CR><LF>^RSSI:10<CR><LF>'
> ** (modem-manager:3335): DEBUG: (ttyUSB0): --> 'AT+CREG=2<CR>'
> ** (modem-manager:3335): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
> ** (modem-manager:3335): DEBUG: (ttyUSB0): --> 'AT+CREG?<CR>'
> ** (modem-manager:3335): DEBUG: (ttyUSB0): <-- '<CR><LF>+CREG:
> 2,5,0A,9A22<CR><LF><CR><LF>OK<CR><LF>'
> ** (modem-manager:3335): DEBUG: Registration state changed: 5
> ** Message: Modem /org/freedesktop/ModemManager/Modems/0: state
> changed (enabled -> registered)
>
>
>
> (gdb) cont
> Continuing.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007f7d06746240 in g_type_check_instance_cast () from
> /usr/lib/libgobject-2.0.so.0
> (gdb) bt
> #0 0x00007f7d06746240 in g_type_check_instance_cast () from
> /usr/lib/libgobject-2.0.so.0
> #1 0x000000000041be5c in reg_poll_response (port=<value optimized
> out>, response=0x175e6e0, error=0x0, user_data=0x173f6d0)
> at mm-generic-gsm.c:501
> #2 0x0000000000410722 in mm_serial_port_got_response (self=0x1760280,
> error=0x0) at mm-serial-port.c:520
> #3 0x00000000004125b0 in data_available (source=<value optimized
> out>, condition=24503680, data=<value optimized out>)
> at mm-serial-port.c:749
> #4 0x00007f7d0648fbce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
> #5 0x00007f7d06493598 in ?? () from /lib/libglib-2.0.so.0
> #6 0x00007f7d064939f5 in g_main_loop_run () from /lib/libglib-2.0.so.0
> #7 0x0000000000409dfe in main (argc=<value optimized out>,
> argv=<value optimized out>) at main.c:200
> (gdb)
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]