Bug 377019 - Main menu crashed when restarting network
Summary: Main menu crashed when restarting network
Status: RESOLVED FIXED
: 374470 380282 380388 (view as bug list)
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Factory
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Tambet Ingo
QA Contact: E-mail List
URL:
Whiteboard: gnome-crash
Keywords:
Depends on:
Blocks: main-menu-behavior
  Show dependency treegraph
 
Reported: 2008-04-03 23:41 UTC by Hans Petter Jansson
Modified: 2008-04-16 14:48 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Update libnm-glib usage (5.02 KB, patch)
2008-04-11 12:44 UTC, Tambet Ingo
Details | Diff
Test RPM for i586 (182.07 KB, application/x-rpm)
2008-04-16 13:08 UTC, JP Rosevear
Details
Test RPM for i586 (90.56 KB, application/x-rpm)
2008-04-16 13:08 UTC, JP Rosevear
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Petter Jansson 2008-04-03 23:41:42 UTC
The GNOME main menu crashed when I ran "sudo /etc/init.d/network restart". The crash seems to be in libnm code, however. I have two eth interfaces on the mainboard, in case that matters, i.e:

Shutting down network interfaces:
    eth0      device: nVidia Corporation MCP55 Ethernet (rev a2)     done
    eth1      device: nVidia Corporation MCP55 Ethernet (rev a2)     done
    eth0      device: nVidia Corporation MCP55 Ethernet (rev a2)     done
    eth1      device: nVidia Corporation MCP55 Ethernet (rev a2)     done

Backtrace:

(gdb) bt
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb77bcb43 in __waitpid_nocancel () from /lib/libpthread.so.0
#2  0xb6e1c077 in IA__g_spawn_sync (working_directory=0x0, argv=0x825ca50, 
    envp=0x0, flags=<value optimized out>, child_setup=0, user_data=0x0, 
    standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x8081708)
    at gspawn.c:374
#3  0xb6e1c3bc in IA__g_spawn_command_line_sync (
    command_line=0x825c710 "bug-buddy --appname=\"slab\" --minidump=/tmp/08b57781-e730-ad2c-2d230d9d-7a9d0a50.dmp", standard_output=0x0, standard_error=0x0, 
    exit_status=0x0, error=0x8081708) at gspawn.c:682
#4  0xb6a1f883 in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#5  0xb6a1f94e in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#6  0xb6a20047 in google_breakpad::ExceptionHandler::InternalWriteMinidump ()
   from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#7  0xb6a20453 in google_breakpad::ExceptionHandler::HandleException ()
   from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#8  <signal handler called>
#9  0xffffe430 in __kernel_vsyscall ()
#10 0xb6c695e0 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#11 0xb6c6af18 in *__GI_abort () at abort.c:88
#12 0xb6caa363 in malloc_printerr (action=2, 
    str=0xb6d5f61b "free(): invalid pointer", ptr=0x82773d0) at malloc.c:5896
#13 0xb6cac1cb in *__GI___libc_free (mem=0x82773d0) at malloc.c:3590
#14 0xb6deb726 in IA__g_free (mem=0x82773d0) at gmem.c:190
#15 0xb7fe955a in finalize (object=0x825c398) at nm-device-802-3-ethernet.c:189
#16 0xb6e72d93 in IA__g_object_unref (_object=0x825c398) at gobject.c:1793
#17 0xb6dd550b in g_hash_table_remove_node (hash_table=0x8280180, 
    node_ptr_ptr=<value optimized out>, notify=1) at ghash.c:204
#18 0xb6dd5575 in g_hash_table_remove_all_nodes (hash_table=0x8280180, 
    notify=1) at ghash.c:231
#19 0xb6dd621a in IA__g_hash_table_remove_all (hash_table=0x8280180)
    at ghash.c:910
#20 0xb7fe6aad in manager_running (client=0x8258780, running=0)
    at nm-client.c:231
#21 0xb6e7e28c in IA__g_cclosure_marshal_VOID__BOOLEAN (closure=0x8258620, 
    return_value=0x0, n_param_values=2, param_values=0xbfe4cbe8, 
    invocation_hint=0xbfe4cb24, marshal_data=0xb7fe6a50) at gmarshal.c:111
#22 0xb6e6f389 in g_type_class_meta_marshal (closure=0x8258620, 
    return_value=0x0, n_param_values=2, param_values=0xbfe4cbe8, 
    invocation_hint=0xbfe4cb24, marshal_data=0x44) at gclosure.c:567
#23 0xb6e70c3b in IA__g_closure_invoke (closure=0x8258620, return_value=0x0, 
    n_param_values=2, param_values=0xbfe4cbe8, invocation_hint=0xbfe4cb24)
    at gclosure.c:490
#24 0xb6e84c76 in signal_emit_unlocked_R (node=0x8258670, detail=0, 
    instance=0x8258780, emission_return=0x0, instance_and_params=0xbfe4cbe8)
    at gsignal.c:2370
#25 0xb6e8694e in IA__g_signal_emit_valist (instance=0x8258780, signal_id=225, 
    detail=0, var_args=0xbfe4ce00 "�\0321\b\001") at gsignal.c:2199
#26 0xb6e86db6 in IA__g_signal_emit (instance=0x8258780, signal_id=225, 
    detail=0) at gsignal.c:2243
#27 0xb7fe7105 in proxy_name_owner_changed (proxy=0x825e418, 
    name=<value optimized out>, old_owner=0x8311b68 ":1.4", 
    new_owner=0x82e64a8 "", user_data=0x8258780) at nm-client.c:352
#28 0xb7bf3f7a in _dbus_g_marshal_VOID__STRING_STRING_STRING (
    closure=0x825e3b0, return_value=0x0, n_param_values=4, 
    param_values=0x8311ac0, invocation_hint=0xbfe4cff4, 
    marshal_data=0xb7fe7050) at dbus-gmarshal.c:83
#29 0xb7bfb7df in marshal_dbus_message_to_g_marshaller (closure=0x825e3b0, 
    return_value=0x0, n_param_values=3, param_values=0xbfe4d0b8, 
    invocation_hint=0xbfe4cff4, marshal_data=0x0) at dbus-gproxy.c:1651
#30 0xb6e70c3b in IA__g_closure_invoke (closure=0x825e3b0, return_value=0x0, 
    n_param_values=3, param_values=0xbfe4d0b8, invocation_hint=0xbfe4cff4)
    at gclosure.c:490
#31 0xb6e8541d in signal_emit_unlocked_R (node=0x82582c8, detail=1317, 
    instance=0x825e418, emission_return=0x0, instance_and_params=0xbfe4d0b8)
    at gsignal.c:2440
#32 0xb6e8694e in IA__g_signal_emit_valist (instance=0x825e418, signal_id=230, 
    detail=1317, var_args=0xbfe4d2d4 "t���s") at gsignal.c:2199
---Type <return> to continue, or q <return> to quit---
#33 0xb6e86db6 in IA__g_signal_emit (instance=0x825e418, signal_id=230, 
    detail=1317) at gsignal.c:2243
#34 0xb7bfca67 in dbus_g_proxy_manager_filter (connection=0x8280500, 
    message=0x8116818, user_data=0x8258368) at dbus-gproxy.c:1704
#35 0xb7a0b725 in dbus_connection_dispatch () from /lib/libdbus-1.so.3
#36 0xb7bf395d in message_queue_dispatch (source=0x823e1f0, callback=0, 
    user_data=0x0) at dbus-gmain.c:101
#37 0xb6de3468 in IA__g_main_context_dispatch (context=0x8082150)
    at gmain.c:2003
#38 0xb6de6b23 in g_main_context_iterate (context=0x8082150, block=1, 
    dispatch=1, self=0x805c100) at gmain.c:2636
#39 0xb6de7042 in IA__g_main_loop_run (loop=0x80a4120) at gmain.c:2844
#40 0xb78ac0a3 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#41 0xb78aa279 in bonobo_generic_factory_main_timeout ()
   from /usr/lib/libbonobo-2.so.0
#42 0xb78aa303 in bonobo_generic_factory_main () from /usr/lib/libbonobo-2.so.0
#43 0xb800993d in panel_applet_factory_main_closure ()
   from /usr/lib/libpanel-applet-2.so.0
#44 0xb8009a2b in panel_applet_factory_main ()
   from /usr/lib/libpanel-applet-2.so.0
#45 0x0804e4e3 in main (argc=Cannot access memory at address 0xb35
) at main-menu.c:35
Comment 1 Federico Mena Quintero 2008-04-07 15:30:18 UTC
*** Bug 374470 has been marked as a duplicate of this bug. ***
Comment 2 Federico Mena Quintero 2008-04-10 19:18:13 UTC
Reassigning to Tambet after talking to him:

* openSUSE 11 will get a new snapshot of NetworkManager pulled in

* That snapshot of NM changes the nm-glib API

* Tambet is going through all the callers of that API to fix them, including gnome-main-menu

* There are fixes in nm-glib that have to do with reference counting and device objects; this seems to be the cause of the crash.

Thanks, Tambet, for taking care of this :)  Please tell me if you need anything else on the gnome-main-menu front.
Comment 3 Tambet Ingo 2008-04-11 12:44:16 UTC
Created attachment 207486 [details]
Update libnm-glib usage
Comment 4 Tambet Ingo 2008-04-11 12:49:28 UTC
Federico, who can review and approve my patch? The latest NetworkManager I just submitted isn't in factory yet, but there are packages on http://w3.suse.de/~tambet/factory for testing.
Comment 5 Scott Reeves 2008-04-14 06:10:03 UTC
I added this patch and built on autobuild and it appears to look good.
Comment 6 Federico Mena Quintero 2008-04-15 17:24:36 UTC
(In reply to comment #4 from Tambet Ingo)
> Federico, who can review and approve my patch? The latest NetworkManager I just
> submitted isn't in factory yet, but there are packages on
> http://w3.suse.de/~tambet/factory for testing.

The patch looks good.  Thanks, Tambet :)

Scott, I just committed this to svn trunk.  Should we do a release soon? :)

Comment 7 Scott Reeves 2008-04-15 21:52:45 UTC
Submitted the latest version of g-m-m to autobuild and it's now available in factory. The updated NetworkManager is also now available.

Thanks Federico and Tambet. I will push out an official release of g-m-m
Comment 8 JP Rosevear 2008-04-16 12:46:24 UTC
*** Bug 380388 has been marked as a duplicate of this bug. ***
Comment 9 JP Rosevear 2008-04-16 12:58:38 UTC
*** Bug 380282 has been marked as a duplicate of this bug. ***
Comment 10 JP Rosevear 2008-04-16 13:08:11 UTC
Created attachment 208315 [details]
Test RPM for i586

Test RPM for i586
Comment 11 JP Rosevear 2008-04-16 13:08:29 UTC
Created attachment 208316 [details]
Test RPM for i586

Test RPM for i586
Comment 12 James Ogley 2008-04-16 14:48:18 UTC
Confirmed with these packages.