[touch] network-manager crashes with sigsegv when enabling data connection with ofono

Bug #1199575 reported by Ricardo Salveti
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
touch-preview-images
Fix Released
High
Mathieu Trudel-Lapierre
network-manager (Ubuntu)
Fix Released
High
Mathieu Trudel-Lapierre

Bug Description

NM crashes when trying to auto-connect with ofono when using Nexus 4.

Program received signal SIGSEGV, Segmentation fault.
0x4030d1b6 in g_object_unref (_object=0x12f320)
    at /build/buildd/glib2.0-2.37.3/./gobject/gobject.c:3086
3086 /build/buildd/glib2.0-2.37.3/./gobject/gobject.c: No such file or directory.
(gdb) bt full
#0 0x4030d1b6 in g_object_unref (_object=0x12f320)
    at /build/buildd/glib2.0-2.37.3/./gobject/gobject.c:3086
        __inst = 0x12f320
        __r = <optimized out>
        _g_boolean_var_ = <optimized out>
        object = 0x12f320
        old_ref = <optimized out>
        __PRETTY_FUNCTION__ = "g_object_unref"
#1 0x0007384e in ofono_properties_changed (proxy=<optimized out>,
    key=<optimized out>, value=<optimized out>, user_data=<optimized out>)
    at nm-modem-ofono.c:341
        found_simmanager = <optimized out>
        found_conn_manager = <optimized out>
        found_context_manager = <optimized out>
        i = <optimized out>
        self = 0x10f1e8
        priv = 0x10f170
        __PRETTY_FUNCTION__ = "ofono_properties_changed"
        __func__ = "ofono_properties_changed"
#2 0x400823aa in marshal_dbus_message_to_g_marshaller (closure=0x125c10,

Package 0.9.8.0-0ubuntu14phablet1 (phablet1 needed to disable polkit).

Revision history for this message
Ricardo Salveti (rsalveti) wrote :
Revision history for this message
Ricardo Salveti (rsalveti) wrote :
Changed in network-manager (Ubuntu):
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Changed in touch-preview-images:
importance: Undecided → High
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Something more than just connecting to 3G has to have happened for the code to crash in such a way.

I'm making a small change to hopefully guard against this kind of issue in the future, but it would be best to get full debug logs to make sure this gets fixed properly.

Changed in network-manager (Ubuntu):
status: New → In Progress
Changed in touch-preview-images:
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager - 0.9.8.0-0ubuntu15

---------------
network-manager (0.9.8.0-0ubuntu15) saucy; urgency=low

  * debian/patches/add_ofono_support.patch:
    - properly set Gateway for the new route once connected, if it's available.
    - guard against crashes due to quickly changing interfaces. (LP: #1199575)
 -- Mathieu Trudel-Lapierre <email address hidden> Wed, 10 Jul 2013 14:52:18 -0400

Changed in network-manager (Ubuntu):
status: In Progress → Fix Released
Tony Espy (awe)
Changed in touch-preview-images:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.