Re: nm-connection-editor unable to create system connection, returning "The connection could not be added due to an unknown error."
- From: Rodney Morris <rodamorris gmail com>
- To: networkmanager-list gnome org
- Subject: Re: nm-connection-editor unable to create system connection, returning "The connection could not be added due to an unknown error."
- Date: Wed, 5 Aug 2009 11:04:20 -0400
On Mon, Jul 27, 2009 at 2:58 PM, Dan Williams<dcbw redhat com> wrote:
> On Thu, 2009-07-23 at 20:52 -0400, Rodney Morris wrote:
>> When using nm-connection-editor to add a system connection,
>> nm-connection-editor fails create the system connections, responding
>> that "The connection could not be added due to an unknown error." I
>> am using F10 x86_64 and NetworkManager-0.7.1-1.fc10.x86_64.
>>
>> When run from a terminal window, nm-connection-editor outputs the
>> following to the terminal when adding a system connection:
>>
>> (nm-connection-editor:3174): GLib-GObject-WARNING **: instance of
>> invalid non-instantiatable type
>> `(null)'
>
> So the best way to figure this out is to
> 'gdb /usr/bin/nm-connection-editor', then 'r' to run until you are about
> to check the "Available to all users" box. At that point, Ctrl+C in the
> gdb window, and type "break g_log", then "c" to continue. Then do
> whatever you need to do to trigger the bug. When the breakpoint
> triggers, type "bt" to get a backtrace (hit enter if it asks to keep
> listing the backtrace), then "c" to continue until the next warning, and
> repeat this for each warning until you're sure you've passed these two.
> Mail the output from gdb so we can figure out what's going on.
>
> Thanks,
> Dan
>
>> (nm-connection-editor:3174): GLib-GObject-CRITICAL **:
>> g_signal_handlers_unblock_matched: assertion `G_TYPE_CHECK_INSTANCE
>> (instance)' failed
>>
>> ** (nm-connection-editor:3174): CRITICAL **:
>> nm_connection_editor_get_window: assertion `NM_IS_CONNECTION_EDITOR
>> (editor)' failed
>>
[snip]
Oops! Forgot to include the list in reply. Forwarding to the list:
Below are the backtraces generated at the breakpoint.
----Begin Backtrace---
Breakpoint 1, IA__g_log (log_domain=0x3686e321bc "GLib-GObject",
log_level=G_LOG_LEVEL_WARNING,
format=0x3686e36d38 "instance of invalid non-instantiatable type `%s'")
at gmessages.c:513
513 {
#0 IA__g_log (log_domain=0x3686e321bc "GLib-GObject",
log_level=G_LOG_LEVEL_WARNING,
format=0x3686e36d38 "instance of invalid non-instantiatable type `%s'")
at gmessages.c:513
#1 0x0000003686e23c25 in IA__g_type_check_instance (
type_instance=<value optimized out>) at gtype.c:3807
#2 0x0000003686e200f9 in IA__g_signal_handlers_unblock_matched (
instance=0x3686e321bc, mask=G_SIGNAL_MATCH_DATA, signal_id=2263051576,
detail=0, closure=0x36868e0448, func=0x304006dba0, data=0x7ade60)
at gsignal.c:2616
#3 0x000000304006d41f in gtk_action_unblock_activate_from ()
from /usr/lib64/libgtk-x11-2.0.so.0
#4 0x0000003686e0b7dd in IA__g_closure_invoke (closure=0x962770,
return_value=0x0, n_param_values=2, param_values=0x930590,
invocation_hint=0x7fffffffdae0) at gclosure.c:767
#5 0x0000003686e214bd in signal_emit_unlocked_R (node=0x726880, detail=0,
instance=0x7ade60, emission_return=0x0, instance_and_params=0x930590)
at gsignal.c:3244
#6 0x0000003686e22b68 in IA__g_signal_emit_valist (instance=0x7ade60,
signal_id=<value optimized out>, detail=0, var_args=0x7fffffffdcc0)
at gsignal.c:2977
#7 0x0000003686e23093 in IA__g_signal_emit (instance=0x3686e321bc,
signal_id=16, detail=2263051576) at gsignal.c:3034
#8 0x0000003043607c6d in _notify_callback (proxy=0xf4e180,
call=<value optimized out>, user_data=<value optimized out>)
at polkit-gnome-auth.c:82
#9 0x00007ffff6bad0da in complete_pending_call_and_unlock (
connection=0x6c36a0, pending=0xd30230, message=<value optimized out>)
at dbus-connection.c:2212
#10 0x00007ffff6badce1 in dbus_connection_dispatch (connection=0x6c36a0)
at dbus-connection.c:4352
#11 0x0000003693009765 in message_queue_dispatch (
source=<value optimized out>, callback=<value optimized out>,
user_data=<value optimized out>) at dbus-gmain.c:101
#12 0x00000036866377bb in g_main_dispatch () at gmain.c:2144
#13 IA__g_main_context_dispatch (context=0x67bb20) at gmain.c:2697
#14 0x000000368663af8d in g_main_context_iterate (context=0x67bb20, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:2778
#15 0x000000368663b4bd in IA__g_main_loop_run (loop=0x6c2c70) at gmain.c:2986
#16 0x0000000000417773 in main (argc=1, argv=0x7fffffffe2d8) at main.c:273
(nm-connection-editor:3493): GLib-GObject-WARNING **: instance of
invalid non-instantiatable type `(null)'
Breakpoint 1, IA__g_log (log_domain=0x3686e321bc "GLib-GObject",
log_level=G_LOG_LEVEL_CRITICAL,
format=0x3686694287 "%s: assertion `%s' failed") at gmessages.c:513
513 {
#0 IA__g_log (log_domain=0x3686e321bc "GLib-GObject",
log_level=G_LOG_LEVEL_CRITICAL,
format=0x3686694287 "%s: assertion `%s' failed") at gmessages.c:513
#1 0x0000003686e201e4 in IA__g_signal_handlers_unblock_matched (
instance=0x7b7390, mask=24, signal_id=0, detail=0, closure=0x0,
func=0x304006dba0, data=0x7ade60) at gsignal.c:2616
#2 0x000000304006d41f in gtk_action_unblock_activate_from ()
from /usr/lib64/libgtk-x11-2.0.so.0
#3 0x0000003686e0b7dd in IA__g_closure_invoke (closure=0x962770,
return_value=0x0, n_param_values=2, param_values=0x930590,
invocation_hint=0x7fffffffdae0) at gclosure.c:767
#4 0x0000003686e214bd in signal_emit_unlocked_R (node=0x726880, detail=0,
instance=0x7ade60, emission_return=0x0, instance_and_params=0x930590)
at gsignal.c:3244
#5 0x0000003686e22b68 in IA__g_signal_emit_valist (instance=0x7ade60,
signal_id=<value optimized out>, detail=0, var_args=0x7fffffffdcc0)
at gsignal.c:2977
#6 0x0000003686e23093 in IA__g_signal_emit (instance=0x3686e321bc,
signal_id=8, detail=2255045255) at gsignal.c:3034
#7 0x0000003043607c6d in _notify_callback (proxy=0xf4e180,
call=<value optimized out>, user_data=<value optimized out>)
at polkit-gnome-auth.c:82
#8 0x00007ffff6bad0da in complete_pending_call_and_unlock (
connection=0x6c36a0, pending=0xd30230, message=<value optimized out>)
at dbus-connection.c:2212
#9 0x00007ffff6badce1 in dbus_connection_dispatch (connection=0x6c36a0)
at dbus-connection.c:4352
#10 0x0000003693009765 in message_queue_dispatch (
source=<value optimized out>, callback=<value optimized out>,
user_data=<value optimized out>) at dbus-gmain.c:101
#11 0x00000036866377bb in g_main_dispatch () at gmain.c:2144
#12 IA__g_main_context_dispatch (context=0x67bb20) at gmain.c:2697
#13 0x000000368663af8d in g_main_context_iterate (context=0x67bb20, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:2778
#14 0x000000368663b4bd in IA__g_main_loop_run (loop=0x6c2c70) at gmain.c:2986
#15 0x0000000000417773 in main (argc=1, argv=0x7fffffffe2d8) at main.c:273
(nm-connection-editor:3493): GLib-GObject-CRITICAL **:
g_signal_handlers_unblock_matched: assertion `G_TYPE_CHECK_INSTANCE
(instance)' failed
Breakpoint 1, IA__g_log (log_domain=0x0, log_level=G_LOG_LEVEL_CRITICAL,
format=0x3686694287 "%s: assertion `%s' failed") at gmessages.c:513
513 {
#0 IA__g_log (log_domain=0x0, log_level=G_LOG_LEVEL_CRITICAL,
format=0x3686694287 "%s: assertion `%s' failed") at gmessages.c:513
#1 0x0000000000412102 in nm_connection_editor_get_window (editor=0x94a6b0)
at nm-connection-editor.c:706
#2 0x0000000000413fb9 in add_connection_cb (action=<value optimized out>,
gained_privilege=8, error=0x3686694287, user_data=0x43bc00)
at nm-connection-list.c:444
#3 0x0000003043607c6d in _notify_callback (proxy=0x94a720,
call=<value optimized out>, user_data=<value optimized out>)
at polkit-gnome-auth.c:82
#4 0x00007ffff6bad0da in complete_pending_call_and_unlock (
connection=0x6c36a0, pending=0xf39c90, message=<value optimized out>)
at dbus-connection.c:2212
#5 0x00007ffff6badce1 in dbus_connection_dispatch (connection=0x6c36a0)
at dbus-connection.c:4352
#6 0x0000003693009765 in message_queue_dispatch (
source=<value optimized out>, callback=<value optimized out>,
user_data=<value optimized out>) at dbus-gmain.c:101
#7 0x00000036866377bb in g_main_dispatch () at gmain.c:2144
#8 IA__g_main_context_dispatch (context=0x67bb20) at gmain.c:2697
#9 0x000000368663af8d in g_main_context_iterate (context=0x67bb20, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:2778
#10 0x000000368663b4bd in IA__g_main_loop_run (loop=0x6c2c70) at gmain.c:2986
#11 0x0000000000417773 in main (argc=1, argv=0x7fffffffe2d8) at main.c:273
---End Backtrace---
Please let me know of how I can be of further help or if you need me
to test some patches. Rebuilding the NetworkManager packages to test
patches is no problem
Rod
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]