Description of problem:
I just started a VNC server on Fedora 11 PowerPC and nm-applet crashed leaving behind these errors:
(nm-applet:2295): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Connection ":1.63" is not allowed to own the service "org.freedesktop.NetworkManagerUserSettings" due to security policies in the configuration file
** (nm-applet:2295): WARNING **: <WARN> request_name(): Could not acquire the NetworkManagerUserSettings service.
*** glibc detected *** /usr/bin/nm-applet: double free or corruption (out): 0x100da040 ***
Version-Release number of selected component (if applicable):
Steps to Reproduce:
nm-applet is started by Gnome, but it crashes
manually trying to start nm-applet crashes in the same way
Created attachment 358724 [details]
full output of nm-applet crash
I installed the debuginfo packages and ran nm-applet through gdb to get a more detailed backtrace:
Program received signal SIGABRT, Aborted.
0x0eb2786c in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
Current language: auto; currently minimal
#0 0x0eb2786c in *__GI_raise (sig=6)
#1 0x0eb29604 in *__GI_abort () at abort.c:88
#2 0x0eb6d538 in __libc_message (do_abort=2,
fmt=0x400 <Address 0x400 out of bounds>)
#3 0x0eb756f4 in malloc_printerr (action=3,
str=0xec5d6f8 "double free or corruption (out)", ptr=<value optimized out>)
#4 0x0ed02ca4 in IA__g_free (mem=<value optimized out>) at gmem.c:190
#5 0x0ece2604 in IA__g_error_free (error=0x100c0988) at gerror.c:125
#6 0x10014ab4 in request_name (proxy=<value optimized out>,
flags=<value optimized out>) at applet-dbus-manager.c:152
#7 0x10014b90 in applet_dbus_manager_start_service (self=0x100dedb0)
#8 0x10010e00 in constructor (type=<value optimized out>,
n_props=<value optimized out>, construct_props=<value optimized out>)
#9 0x0eded0d0 in IA__g_object_newv (object_type=269017224, n_parameters=1,
parameters=<value optimized out>) at gobject.c:1215
#10 0x0ededbfc in IA__g_object_new_valist (object_type=269017224,
first_property_name=0x0, var_args=0xbf85e0c4) at gobject.c:1319
#11 0x0ededeac in IA__g_object_new (object_type=269017224,
first_property_name=0x1004686c "loop") at gobject.c:1060
#12 0x1000e020 in nm_applet_new (loop=0x1008e078) at applet.c:2745
#13 0x1000c890 in main (argc=1, argv=0xbf85e384) at main.c:73
Created attachment 358745 [details]
patch to fix corrupt free
It looks like the problem is in 6 in the backtrace, request_name at applet-dbus-manager.c:152
The attached patch fixes the problem for me.
*** Bug 522830 has been marked as a duplicate of this bug. ***
NetworkManager-0.7.1.998-1.fc11, mobile-broadband-provider-info-1.20090918-1.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update NetworkManager mobile-broadband-provider-info'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10696
*** Bug 526739 has been marked as a duplicate of this bug. ***
No more segfault, just:
No protocol specified
(nm-applet:20819): Gtk-WARNING **: cannot open display: :1
which I suppose may be expected.
mobile-broadband-provider-info-1.20090918-1.fc11, NetworkManager-0.7.2-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '11'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 11's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 11 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.