RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1032490 - NetworkManager: "nmcli c reload" triggers server crash
Summary: NetworkManager: "nmcli c reload" triggers server crash
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Dan Williams
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-20 09:49 UTC by Florian Weimer
Modified: 2014-06-13 11:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 11:02:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2013-11-20 09:49:57 UTC
The backtrace looks like this:

#0  g_str_hash (v=0x0) at ghash.c:1732
#1  0x00007fd301250840 in g_hash_table_lookup_node (hash_return=<synthetic pointer>, key=0x0, 
    hash_table=0x7fd305c80de0) at ghash.c:365
#2  g_hash_table_insert_internal (hash_table=0x7fd305c80de0, key=0x0, value=0x7fd305c71820, keep_new_key=0)
    at ghash.c:1153
#3  0x00007fd3053a9973 in read_connections (config=<optimized out>) at settings/plugins/keyfile/plugin.c:349
#4  0x00007fd3053a5ed8 in impl_settings_reload_connections (self=0x7fd305c0c080, context=0x7fd305c7fe90)
    at settings/nm-settings.c:1279
#5  0x00007fd30385d669 in invoke_object_method (message=0x7fd305c078c0, connection=0x7fd305c9d320, 
    method=0x7fd3056709a0 <dbus_glib_nm_settings_methods+96>, object_info=<optimized out>, object=0x7fd305c0c080)
    at dbus-gobject.c:1899
#6  object_registration_message (connection=0x7fd305c9d320, message=message@entry=0x7fd305c078c0, 
    user_data=user_data@entry=0x7fd305c86600) at dbus-gobject.c:2161
#7  0x00007fd303626e26 in _dbus_object_tree_dispatch_and_unlock (tree=0x7fd305c89b90, 
    message=message@entry=0x7fd305c078c0, found_object=found_object@entry=0x7fffefde2d04) at dbus-object-tree.c:862
#8  0x00007fd303619a01 in dbus_connection_dispatch (connection=connection@entry=0x7fd305c9d320)
    at dbus-connection.c:4672
#9  0x00007fd30385ac85 in message_queue_dispatch (source=source@entry=0x7fd305c9fc00, callback=<optimized out>, 
    user_data=<optimized out>) at dbus-gmain.c:90
#10 0x00007fd301260e06 in g_main_dispatch (context=0x7fd305bf91e0) at gmain.c:3054
#11 g_main_context_dispatch (context=context@entry=0x7fd305bf91e0) at gmain.c:3630
#12 0x00007fd301261158 in g_main_context_iterate (context=0x7fd305bf91e0, block=block@entry=1, 
    dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3701
#13 0x00007fd30126155a in g_main_loop_run (loop=0x7fd305bf8d40) at gmain.c:3895
#14 0x00007fd305376c0d in main (argc=1, argv=0x7fffefde3348) at main.c:623

nm_keyfile_connection_get_path (data) returns NULL here:

347		g_hash_table_iter_init (&iter, priv->connections);
348		while (g_hash_table_iter_next (&iter, NULL, &data))
349			g_hash_table_insert (oldconns, g_strdup (nm_keyfile_connection_get_path (data)), data);

This is with NetworkManager-0.9.9.0-24.git20131108.el7.x86_64.

Comment 2 Jirka Klimes 2013-11-20 15:08:23 UTC
Already fixed in upstream master:
http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=07bf4eb802166edc737f2c742f3987a1aa39189e

The fix will propagate to a RHEL7 build soon (with the next update).

Comment 4 Ludek Smid 2014-06-13 11:02:33 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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