*** Error in `nm-applet': free(): invalid pointer: 0x00000000015edba0 ***

Bug #1229455 reported by Daniel O'Connor
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Invalid
Medium
Mathieu Trudel-Lapierre

Bug Description

When connecting to a bluetooth provided connection to my galaxy S3, I see nm-applet crashing unexpectedly.

Perhaps unrelated, the network name is often invalid:
(nm-applet:19607): GLib-CRITICAL **: g_variant_new_string: assertion `g_utf8_validate (string, -1, NULL)' failed

Full backtrace of issue:

*** Error in `nm-applet': free(): invalid pointer: 0x00000000015edba0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x80a46)[0x7f04f9f73a46]
nm-applet[0x416cbe]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x190)[0x7f04fa7e4620]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x21f00)[0x7f04fa7f5f00]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xe81)[0x7f04fa7fdd11]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f04fa7fdf92]
/usr/lib/x86_64-linux-gnu/libnm-glib.so.4(+0x141ae)[0x7f04fb1011ae]
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_simple_async_result_complete+0x87)[0x7f04fb3991d7]
/usr/lib/x86_64-linux-gnu/libnm-glib.so.4(+0xc9a8)[0x7f04fb0f99a8]
/usr/lib/x86_64-linux-gnu/libnm-glib.so.4(+0xd517)[0x7f04fb0fa517]
/usr/lib/x86_64-linux-gnu/libnm-glib.so.4(+0xc1df)[0x7f04fb0f91df]
/usr/lib/x86_64-linux-gnu/libnm-glib.so.4(+0xd28e)[0x7f04fb0fa28e]
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0(g_simple_async_result_complete+0x87)[0x7f04fb3991d7]
/usr/lib/x86_64-linux-gnu/libnm-glib.so.4(+0x218f1)[0x7f04fb10e8f1]
/lib/x86_64-linux-gnu/libdbus-1.so.3(+0xb88a)[0x7f04faa2e88a]
/lib/x86_64-linux-gnu/libdbus-1.so.3(dbus_connection_dispatch+0xa3)[0x7f04faa31953]
/usr/lib/x86_64-linux-gnu/libdbus-glib-1.so.2(+0xac95)[0x7f04fac71c95]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x135)[0x7f04fa520f05]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x49248)[0x7f04fa521248]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x6a)[0x7f04fa5216ba]
nm-applet(main+0x157)[0x410fb7]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f04f9f14ea5]
nm-applet[0x411009]
======= Memory map: ========
00400000-00447000 r-xp 00000000 08:08 3935235 /usr/bin/nm-applet
00646000-00647000 r--p 00046000 08:08 3935235 /usr/bin/nm-applet
00647000-00649000 rw-p 00047000 08:08 3935235 /usr/bin/nm-applet
01338000-01fc1000 rw-p 00000000 00:00 0 [heap]
7f04bc000000-7f04bc022000 rw-p 00000000 00:00 0
7f04bc022000-7f04c0000000 ---p 00000000 00:00 0
7f04c4000000-7f04c4022000 rw-p 00000000 00:00 0
7f04c4022000-7f04c8000000 ---p 00000000 00:00 0
7f04c8000000-7f04c8022000 rw-p 00000000 00:00 0
7f04c8022000-7f04cc000000 ---p 00000000 00:00 0
7f04cc000000-7f04cc022000 rw-p 00000000 00:00 0
7f04cc022000-7f04d0000000 ---p 00000000 00:00 0
7f04d0a00000-7f04d0a43000 r-xp 00000000 08:08 3939512 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.402.0
7f04d0a43000-7f04d0c42000 ---p 00043000 08:08 3939512 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.402.0
7f04d0c42000-7f04d0c44000 r--p 00042000 08:08 3939512 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.402.0
7f04d0c44000-7f04d0c45000 rw-p 00044000 08:08 3939512 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.0.402.0
7f04d0c45000-7f04d0c46000 rw-p 00000000 00:00 0
7f04d13c7000-7f04d1447000 rw-s 00000000 00:04 305692693 /SYSV00000000 (deleted)
7f04d1447000-7f04d1448000 ---p 00000000 00:00 0
7f04d1448000-7f04d1c48000 rw-p 00000000 00:00 0
7f04d1c48000-7f04d1c49000 ---p 00000000 00:00 0
7f04d1c49000-7f04d2449000 rw-p 00000000 00:00 0
7f04d2449000-7f04d244a000 ---p 00000000 00:00 0
7f04d244a000-7f04d2c4a000 rw-p 00000000 00:00 0
7f04d2c4a000-7f04d5625000 r--p 00000000 08:08 5123935 /usr/share/icons/hicolor/icon-theme.cache
7f04d5625000-7f04d8000000 r--p 00000000 08:08 5123935 /usr/share/icons/hicolor/icon-theme.cache
7f04d8000000-7f04d8021000 rw-p 00000000 00:00 0
7f04d8021000-7f04dc000000 ---p 00000000 00:00 0
7f04dc03a000-7f04dc040000 r-xp 00000000 08:08 4327362 /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so
7f04dc040000-7f04dc23f000 ---p 00006000 08:08 4327362 /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so
7f04dc23f000-7f04dc240000 r--p 00005000 08:08 4327362 /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so
7f04dc240000-7f04dc241000 rw-p 00006000 08:08 4327362 /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so
7f04dc241000-7f04dc25a000 r-xp 00000000 08:08 4325701 /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7f04dc25a000-7f04dc45a000 ---p 00019000 08:08 4325701 /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7f04dc45a000-7f04dc45d000 r--p 00019000 08:08 4325701 /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7f04dc45d000-7f04dc45e000 rw-p 0001c000 08:08 4325701 /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so
7f04dc45e000-7f04dc47f000 r-xp 00000000 08:08 2100988 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7f04dc47f000-7f04dc67e000 ---p 00021000 08:08 2100988 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7f04dc67e000-7f04dc67f000 r--p 00020000 08:08 2100988 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7f04dc67f000-7f04dc680000 rw-p 00021000 08:08 2100988 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7f04dc680000-7f04dc7d9000 r-xp 00000000 08:08 3932480 /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.0
7f04dc7d9000-7f04dc9d8000 ---p 00159000 08:08 3932480 /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.0
7f04dc9d8000-7f04dc9e0000 r--p 00158000 08:08 3932480 /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.0
7f04dc9e0000-7f04dc9e2000 rw-p 00160000 08:08 3932480 /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.0
7f04dc9e2000-7f04dc9e3000 rw-p 00000000 00:00 0
7f04dc9e3000-7f04dca1a000 r-xp 00000000 08:08 3939297 /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1
7f04dca1a000-7f04dcc19000 ---p 00037000 08:08 3939297 /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1
7f04dcc19000-7f04dcc1c000 r--p 00036000 08:08 3939297 /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1
7f04dcc1c000-7f04dcc1d000 rw-p 00039000 08:08 3939297 /usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1
7f04dcc1d000-7f04de20e000 r--p 00000000 08:08 5116883 /usr/share/icons/gnome/icon-theme.cache
7f04de20e000-7f04df7ff000 r--p 00000000 08:08 5116883 /usr/share/icons/gnome/icon-theme.cache
7f04df7ff000-7f04df800000 ---p 00000000 00:00 0 Aborted (core dumped)

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Unfortunately, I can't make much with a backtrace in this format.

Would you be so kind as to run NetworkManager in a debugger and provide me with the output for a full backtrace again?

This is how this can be achieved:

sudo apt-get install network-manager-dbg libglib2.0-0-dbg gdb
sudo stop network-manager
gdb --args /usr/sbin/NetworkManager --no-daemon --log-level=debug

(and now inside gdb)
run
(and once you've reproduced the issue and NM crashed)
bt full

If you can't actually get a backtrace with "bt full"; the full output of the session would actually be useful.

While there shouldn't be any sensitive details such as passwords or usernames in the output; please be mindful to check if other details such as your IP address or the name of WiFi networks you would rather not share aren't included. If you're unsure, feel free to email me the logs directly rather than attaching to the bug report.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

And I fail.

The packages you want to install are actually

sudo apt-get install network-manager-applet libglib2.0-0-dbg libgtk-3-0-dbg gdb

and then to run NM-applet in a debugger:

gdb --args /usr/bin/nm-applet
(the rest is the same as above, which would be for the NetworkManager daemon and unnecessary in this case)

Changed in network-manager (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

This bug was marked Incomplete some time ago and was supposed to autoclose after 90 days. I'm going to close it manually due to no activity (and likely the issue has gone away/been fixed).

Changed in network-manager (Ubuntu):
status: Incomplete → Invalid
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.