Bug 438047 - nm-connection-editor explodes when trying to add new connection
nm-connection-editor explodes when trying to add new connection
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: NetworkManager (Show other bugs)
8
i686 Linux
low Severity high
: ---
: ---
Assigned To: Dan Williams
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-18 15:54 EDT by Jes Sorensen
Modified: 2008-03-19 18:12 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-03-19 18:12:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jes Sorensen 2008-03-18 15:54:07 EDT
Description of problem:
nm-connection-editor explodes if I try to add a new connection.

Version-Release number of selected component (if applicable):
NetworkManager-0.7.0-0.6.7.svn3235.fc8

How reproducible:
Every time

Steps to Reproduce:
1. Launch nm-connection-editor (as root or normal user)
2. Click 'Add'
3. Watch the fireworks
  
Actual results:
[root@mini ~]# nm-connection-editor 

** (nm-connection-editor:10070): WARNING **: No connections defined

** ERROR **: file nm-connection-editor.c: line 177
(nm_connection_editor_update_title): assertion failed: (s_con)
aborting...
Aborted


Expected results:


Additional info:
I tried both as an individual user and as root - this is on a Mac Mini, that was
recently upgraded to FC8. I never ran NM on this system before as it's assigned
a static IP address, but was testing this because pidgin no longer runs for me
and fails with a network manager related problem. BZ 438042
Comment 1 Jes Sorensen 2008-03-19 14:18:10 EDT
Backtrace of running as root, with no connections registered and pressing the
'Add' button.

[root@mini ~]# gdb /usr/bin/nm-connection-editor 
GNU gdb Red Hat Linux (6.6-45.fc8rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/nm-connection-editor 
[Thread debugging using libthread_db enabled]
[New Thread -1208768832 (LWP 6550)]
[Detaching after fork from child process 6553. (Try `set detach-on-fork off'.)]

** (nm-connection-editor:6550): WARNING **: No connections defined

** ERROR **: file nm-connection-editor.c: line 177
(nm_connection_editor_update_title): assertion failed: (s_con)
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread -1208768832 (LWP 6550)]
0x00110402 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 1 (Thread -1208768832 (LWP 6550)):
#0  0x00110402 in __kernel_vsyscall ()
#1  0x00a0f690 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0x00a10f91 in abort () at abort.c:88
#3  0x00d0601a in IA__g_logv (log_domain=<value optimized out>, 
    log_level=G_LOG_LEVEL_ERROR, 
    format=0xd527cc "file %s: line %d (%s): assertion failed: (%s)", 
    args1=0xbf89639c "�M\006\b�") at gmessages.c:497
#4  0x00d06059 in IA__g_log (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, 
    format=0xd527cc "file %s: line %d (%s): assertion failed: (%s)")
    at gmessages.c:517
#5  0x00d060d6 in IA__g_assert_warning (log_domain=0x0, 
    file=0x8064df3 "nm-connection-editor.c", line=177, 
    pretty_function=0x8065360 "nm_connection_editor_update_title", 
    expression=0x8064ded "s_con") at gmessages.c:552
#6  0x0804df30 in nm_connection_editor_update_title (editor=0x9b72b60)
    at nm-connection-editor.c:177
#7  0x080509f4 in nm_connection_editor_set_connection (editor=0x9b72b60, 
    connection=0x9b10d08) at nm-connection-editor.c:1006
#8  0x08051196 in nm_connection_editor_new (connection=0x9b10d08)
    at nm-connection-editor.c:426
#9  0x08051a2b in add_connection_cb (button=0x9a3fdf8, user_data=0x9a42c00)
    at nm-connection-list.c:45
#10 0x00dd0409 in IA__g_cclosure_marshal_VOID__VOID (closure=0x9a90e20, 
    return_value=0x0, n_param_values=1, param_values=0xbf8966bc, 
    invocation_hint=0xbf8965cc, marshal_data=0x8051a10) at gmarshal.c:77
#11 0x00dc2f83 in IA__g_closure_invoke (closure=0x9a90e20, return_value=0x0, 
    n_param_values=1, param_values=0xbf8966bc, invocation_hint=0xbf8965cc)
    at gclosure.c:490
#12 0x00dd348d in signal_emit_unlocked_R (node=0x9a76608, detail=0, 
    instance=0x9a3fdf8, emission_return=0x0, instance_and_params=0xbf8966bc)
    at gsignal.c:2440
#13 0x00dd4997 in IA__g_signal_emit_valist (instance=0x9a3fdf8, signal_id=122, 
    detail=0, var_args=0xbf8968fc "t\226�") at gsignal.c:2199
#14 0x00dd4b59 in IA__g_signal_emit (instance=0x9a3fdf8, signal_id=122, 
    detail=0) at gsignal.c:2243
#15 0x00338bb9 in IA__gtk_button_clicked (button=0x9a3fdf8) at gtkbutton.c:889
#16 0x0033a506 in gtk_real_button_released (button=0x9a3fdf8)
    at gtkbutton.c:1484
#17 0x00dd0409 in IA__g_cclosure_marshal_VOID__VOID (closure=0x9a779d0, 
    return_value=0x0, n_param_values=1, param_values=0xbf896b8c, 
---Type <return> to continue, or q <return> to quit---
    invocation_hint=0xbf896a9c, marshal_data=0x33a4c2) at gmarshal.c:77
#18 0x00dc1779 in g_type_class_meta_marshal (closure=0x9a779d0, 
    return_value=0x0, n_param_values=1, param_values=0xbf896b8c, 
    invocation_hint=0xbf896a9c, marshal_data=0x1a4) at gclosure.c:567
#19 0x00dc2f83 in IA__g_closure_invoke (closure=0x9a779d0, return_value=0x0, 
    n_param_values=1, param_values=0xbf896b8c, invocation_hint=0xbf896a9c)
    at gclosure.c:490
#20 0x00dd391a in signal_emit_unlocked_R (node=0x9a779f8, detail=0, 
    instance=0x9a3fdf8, emission_return=0x0, instance_and_params=0xbf896b8c)
    at gsignal.c:2370
#21 0x00dd4997 in IA__g_signal_emit_valist (instance=0x9a3fdf8, signal_id=121, 
    detail=0, var_args=0xbf896dcc "\221��") at gsignal.c:2199
#22 0x00dd4b59 in IA__g_signal_emit (instance=0x9a3fdf8, signal_id=121, 
    detail=0) at gsignal.c:2243
#23 0x00338b12 in IA__gtk_button_released (button=0x9a3fdf8) at gtkbutton.c:881
#24 0x0033a258 in gtk_button_button_release (widget=0x9a3fdf8, event=0x9a82ad8)
    at gtkbutton.c:1377
#25 0x00458068 in _gtk_marshal_BOOLEAN__BOXED (closure=0x9a527d8, 
    return_value=0xbf896fc0, n_param_values=2, param_values=0xbf89709c, 
    invocation_hint=0xbf896fac, marshal_data=0x33a219) at gtkmarshalers.c:84
#26 0x00dc1779 in g_type_class_meta_marshal (closure=0x9a527d8, 
    return_value=0xbf896fc0, n_param_values=2, param_values=0xbf89709c, 
    invocation_hint=0xbf896fac, marshal_data=0xb4) at gclosure.c:567
#27 0x00dc2f83 in IA__g_closure_invoke (closure=0x9a527d8, 
    return_value=0xbf896fc0, n_param_values=2, param_values=0xbf89709c, 
    invocation_hint=0xbf896fac) at gclosure.c:490
#28 0x00dd3ad3 in signal_emit_unlocked_R (node=0x9a52900, detail=0, 
    instance=0x9a3fdf8, emission_return=0xbf89725c, 
    instance_and_params=0xbf89709c) at gsignal.c:2478
#29 0x00dd475f in IA__g_signal_emit_valist (instance=0x9a3fdf8, signal_id=36, 
    detail=0, var_args=<value optimized out>) at gsignal.c:2209
#30 0x00dd4b59 in IA__g_signal_emit (instance=0x9a3fdf8, signal_id=36, 
    detail=0) at gsignal.c:2243
#31 0x005e3cb4 in gtk_widget_event_internal (widget=0x9a3fdf8, event=0x9a82ad8)
    at gtkwidget.c:4675
#32 0x005e37b8 in IA__gtk_widget_event (widget=0x9a3fdf8, event=0x9a82ad8)
    at gtkwidget.c:4475
#33 0x004563ff in IA__gtk_propagate_event (widget=0x9a3fdf8, event=0x9a82ad8)
    at gtkmain.c:2336
#34 0x00454d3e in IA__gtk_main_do_event (event=0x9a82ad8) at gtkmain.c:1556
#35 0x0082b5f6 in gdk_event_dispatch (source=0x9a3f6d8, callback=0, 
    user_data=0x0) at gdkevents-x11.c:2351
---Type <return> to continue, or q <return> to quit---
#36 0x00cfd1ac in IA__g_main_context_dispatch (context=0x9a3f720)
    at gmain.c:2061
#37 0x00d005ef in g_main_context_iterate (context=0x9a3f720, block=1, 
    dispatch=1, self=0x9a436c0) at gmain.c:2694
#38 0x00d00999 in IA__g_main_loop_run (loop=0x9d05330) at gmain.c:2898
#39 0x003a3cc3 in IA__gtk_dialog_run (dialog=0x9a72060) at gtkdialog.c:1041
#40 0x080512da in nm_connection_list_run_and_close (list=0x9a42c00)
    at nm-connection-list.c:268
#41 0x08051c20 in main (argc=Cannot access memory at address 0x1996
) at main.c:44
(gdb) 
Comment 2 Dan Williams 2008-03-19 18:12:19 EDT
The Add and Edit buttons aren't actually supposed to be enabled; this is fixed
in f8-updates-testing.

Note You need to log in before you can comment on or make changes to this bug.