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 1436993 - [NMCI] nmcli segfault when entering editor for new connection
Summary: [NMCI] nmcli segfault when entering editor for new connection
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Francesco Giudici
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-29 08:42 UTC by Vladimir Benes
Modified: 2017-08-01 09:24 UTC (History)
7 users (show)

Fixed In Version: NetworkManager-1.8.0-0.4.rc2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 09:24:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:2299 0 normal SHIPPED_LIVE Moderate: NetworkManager and libnl3 security, bug fix and enhancement update 2017-08-01 12:40:28 UTC

Description Vladimir Benes 2017-03-29 08:42:22 UTC
Description of problem:
vbenes@krakonosovo:~$ nmcli  connection edit type bond
Segmentation fault (core dumped)

vbenes@krakonosovo:~$ nmcli con edit id ethernet
Segmentation fault (core dumped)

leads to the same issue in utils.c

    error=error@entry=0x7fffffffd920) at clients/cli/utils.c:144
144						*(p->value) = **argv;

Version-Release number of selected component (if applicable):
NetworkManager-1.8.0-0.4.rc1.el7.x86_64


Additional info:
Starting program: /usr/bin/nmcli con edit type bond
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffebc65700 (LWP 8173)]
[New Thread 0x7fffeb464700 (LWP 8174)]
[New Thread 0x7fffeac63700 (LWP 8175)]

Program received signal SIGSEGV, Segmentation fault.
nmc_parse_args (arg_arr=arg_arr@entry=0x7fffffffd9b0, last=last@entry=1, argc=0x7fffffffd8e8, argc@entry=0x7fffffffd8ec, argv=0x7fffffffd8e8, argv@entry=0x7fffffffd8e0, 
    error=error@entry=0x7fffffffd920) at clients/cli/utils.c:144
144						*(p->value) = **argv;
(gdb) bt full
#0  0x00005555555bc7b9 in nmc_parse_args (arg_arr=arg_arr@entry=0x7fffffffd9b0, last=last@entry=1, argc=0x7fffffffd8e8, argc@entry=0x7fffffffd8ec, argv=0x7fffffffd8e8, 
    argv@entry=0x7fffffffd8e0, error=error@entry=0x7fffffffd920) at clients/cli/utils.c:144
        p = 0x7fffffffd9b0
        found = <optimized out>
        have_mandatory = <optimized out>
        __func__ = "nmc_parse_args"
#1  0x0000555555586f68 in do_connection_edit (nmc=0x555555805920 <nm_cli>, argc=2, argv=0x7fffffffdef0) at clients/cli/connections.c:7901
        connections = <optimized out>
        connection = 0x0
        s_con = <optimized out>
        connection_type = <optimized out>
        uuid = <optimized out>
        default_name = 0x0
        type = 0x0
        type_ask = 0x0
        con_name = 0x0
        con = 0x0
        con_id = 0x0
        con_uuid = 0x0
        con_path = 0x0
        selector = 0x0
        tmp_str = 0x7fffffffdef0 "K\342\377\377\377\177"
        error = 0x0
        err1 = 0x0
        exp_args = 
            {{name = 0x5555555c31e5 "type", has_value = 1, value = 0x7fffffffd8f8, mandatory = 0, found = 0}, {name = 0x5555555c364d "con-name", has_value = 1, value = 0x7fffffffd900, mandatory = 0, found = 0}, {name = 0x5555555cfa8a "id", has_value = 1, value = 0x7fffffffd908, mandatory = 0, found = 0}, {name = 0x5555555cf7a5 "uuid", has_value = 1, value = 0x7fffffffd910, mandatory = 0, found = 0}, {name = 0x5555555cf4ec "path", has_value = 1, value = 0x7fffffffd918, mandatory = 0, found = 0}, {name = 0x0, has_value = 0, value = 0x0, mandatory = 0, found = 0}}
        __func__ = "do_connection_edit"
#2  0x0000555555578a76 in call_cmd (nmc=0x555555805920 <nm_cli>, simple=0x55555581d490 [GSimpleAsyncResult], cmd=0x5555557f4ce0 <connection_cmds+128>, argc=2, argv=0x7fffffffdef0)
    at clients/cli/common.c:1672
        call = <optimized out>
#3  0x0000555555578b75 in got_client (source_object=<optimized out>, res=<optimized out>, user_data=0x55555581ca30) at clients/cli/common.c:1654
        error = 0x0
        call = 0x55555581ca30
        nmc = 0x555555805920 <nm_cli>
#4  0x00007ffff590b727 in g_simple_async_result_complete (simple=0x55555581d500 [GSimpleAsyncResult]) at gsimpleasyncresult.c:801
        current_source = 0x555555898d30
        current_context = <optimized out>
        __FUNCTION__ = "g_simple_async_result_complete"
#5  0x00007ffff78c72d6 in client_inited (source=0x555555819480 [NMClient], result=0x5555558215f0, user_data=0x55555581d500) at libnm/nm-client.c:1832
        simple = 0x55555581d500 [GSimpleAsyncResult]
        error = 0x0
#6  0x00007ffff590b727 in g_simple_async_result_complete (simple=0x5555558215f0 [GSimpleAsyncResult]) at gsimpleasyncresult.c:801
        current_source = 0x555555898d30
        current_context = <optimized out>
        __FUNCTION__ = "g_simple_async_result_complete"
#7  0x00007ffff78c64cd in init_async_complete (init_data=init_data@entry=0x555555811840) at libnm/nm-client.c:2329
#8  0x00007ffff78c655e in async_inited_obj_nm (object=0x55555583f9e0 [NMRemoteConnection], result=0x555555868200, user_data=0x555555811840) at libnm/nm-client.c:2347
        init_data = 0x555555811840
---Type <return> to continue, or q <return> to quit---
        error = 0x0
#9  0x00007ffff590b727 in g_simple_async_result_complete (simple=0x555555868200 [GSimpleAsyncResult]) at gsimpleasyncresult.c:801
        current_source = 0x555555898d30
        current_context = <optimized out>
        __FUNCTION__ = "g_simple_async_result_complete"
#10 0x00007ffff78e520b in init_async_parent_inited (error=0x0, init_data=0x7fffe0015630) at libnm/nm-remote-connection.c:677
        init_data = 0x7fffe0015630
#11 0x00007ffff78e520b in init_async_parent_inited (source=<optimized out>, result=<optimized out>, user_data=0x7fffe0015630) at libnm/nm-remote-connection.c:689
        init_data = 0x7fffe0015630
#12 0x00007ffff590b727 in g_simple_async_result_complete (simple=0x555555867c30 [GSimpleAsyncResult]) at gsimpleasyncresult.c:801
        current_source = 0x555555898d30
        current_context = <optimized out>
        __FUNCTION__ = "g_simple_async_result_complete"
#13 0x00007ffff590b789 in complete_in_idle_cb (data=data@entry=0x555555867c30) at gsimpleasyncresult.c:813
        simple = 0x555555867c30 [GSimpleAsyncResult]
#14 0x00007ffff53770d7 in g_idle_dispatch (source=0x555555898d30, callback=0x7ffff590b780 <complete_in_idle_cb>, user_data=0x555555867c30) at gmain.c:5543
        again = <optimized out>
#15 0x00007ffff537a4c9 in g_main_context_dispatch (context=0x555555819ec0) at gmain.c:3201
        dispatch = 0x7ffff53770c0 <g_idle_dispatch>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0x555555867c30
        callback = 0x7ffff590b780 <complete_in_idle_cb>
        cb_funcs = 0x7ffff5640920 <g_source_callback_funcs>
        cb_data = 0x555555898da0
        need_destroy = <optimized out>
        source = 0x555555898d30
        current = 0x55555580f750
        i = 0
#16 0x00007ffff537a4c9 in g_main_context_dispatch (context=context@entry=0x555555819ec0) at gmain.c:3854
#17 0x00007ffff537a818 in g_main_context_iterate (context=0x555555819ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3927
        max_priority = 0
        timeout = 0
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 1
        fds = 0x555555825520
#18 0x00007ffff537aaea in g_main_loop_run (loop=0x555555810bc0) at gmain.c:4123
        __FUNCTION__ = "g_main_loop_run"
#19 0x0000555555577c96 in main (argc=<optimized out>, argv=<optimized out>) at clients/cli/nmcli.c:613

Comment 5 errata-xmlrpc 2017-08-01 09:24:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:2299


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