Bug 1436993
| Summary: | [NMCI] nmcli segfault when entering editor for new connection | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Vladimir Benes <vbenes> |
| Component: | NetworkManager | Assignee: | Francesco Giudici <fgiudici> |
| Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.4 | CC: | atragler, bgalvani, fgiudici, lrintel, rkhan, sukulkar, thaller |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | NetworkManager-1.8.0-0.4.rc2.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-01 09:24:38 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fixed upstream: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=0e73a0664690f8e3190c9750c7fba86673bc2996 Ported on nm-1-8: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=9a38eb4c66a34af34551cae582b1dfc4904909c2 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 |
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