Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-1411

[NMCI] fix crash in nmtui_ipv6_routes_set_basic_route

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • NetworkManager-1.45.5-1.el9
    • None
    • None
    • 1
    • rhel-net-mgmt
    • ssg_networking
    • 11
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • NMT - RHEL 8.10/9.4 DTM 06
    • Hide

      Given a RHEL machine with NetworkManager running

      When running the 'nmtui_ipv6_routes_set_basic_route' NMCI tests

      Then, no crash should happen and the test should pass successfully

      Definition of Done

      • The implementation meets the acceptance criteria
      • The code is part of a build attached to an errata
      Show
      Given a RHEL machine with NetworkManager running When running the 'nmtui_ipv6_routes_set_basic_route' NMCI tests Then, no crash should happen and the test should pass successfully Definition of Done The implementation meets the acceptance criteria The code is part of a build attached to an errata
    • Pass
    • None
    • If docs needed, set a value
    • None
    • 0

      Description of problem:
      we see a crash during nmtui_ipv6_routes_set_basic_route test. This is a regression.

      Version-Release number of selected component (if applicable):
      NetworkManager of 1.42.7-31856.copr.707febe83b.el9 and newer

      How reproducible:
      sometimes

      Steps to Reproduce:
      1. run nmtui_ipv6_routes_set_basic_route from NMCI

      Actual results:
      crash

      Expected results:
      no crash

      Additional info:

      Reading symbols from /usr/sbin/NetworkManager...
      Reading symbols from /usr/lib/debug/usr/sbin/NetworkManager-1.42.7-31856.copr.707febe83b.el9.x86_64.debug...
      [New LWP 705662]
      [New LWP 705663]
      [New LWP 705664]
      [New LWP 705665]
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib64/libthread_db.so.1".
      Core was generated by `/usr/sbin/NetworkManager --no-daemon'.
      Program terminated with signal SIGABRT, Aborted.
      #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
      44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
      [Current thread is 1 (Thread 0x7f0f7feb3500 (LWP 705662))]
      (gdb) #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
      #1 0x00007f0f80ea15b3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
      #2 0x00007f0f80e54d46 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
      #3 0x00007f0f80e287f3 in __GI_abort () at abort.c:79
      #4 0x00007f0f81192d4c in g_assertion_message (domain=<optimized out>, file=<optimized out>, line=<optimized out>, func=<optimized out>, message=<optimized out>) at ../glib/gtestutils.c:3065
      #5 0x00007f0f811edcaf in g_assertion_message_expr (domain=0x565520dada24 "nm", file=0x565520d79ddb "src/core/nm-l3cfg.c", line=3049, func=0x565520dd96d0 <_func_.54.lto_priv.28> "nm_l3cfg_check_ready", expr=<optimized out>) at ../glib/gtestutils.c:3091
      #6 0x0000565520b902ec in nm_l3cfg_check_ready (self=0x5655221d67f0, l3cd=0x56552233e320, addr_family=2, flags=(NM_L3CFG_CHECK_READY_FLAGS_IP4_ACD_READY | NM_L3CFG_CHECK_READY_FLAGS_IP6_DAD_READY), conflicts=0x7ffc2e043010) at src/core/nm-l3cfg.c:3049
      #7 0x0000565520c99e2e in _dev_ipmanual_check_ready (self=0x565522275230) at src/core/devices/nm-device.c:10155
      #11 0x00007f0f8186da73 in <emit signal ??? on instance ???> (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at ../gobject/gsignal.c:3553
      #8 0x00007f0f8184fc7f in g_closure_invoke (closure=0x56552226e470, return_value=0x0, n_param_values=2, param_values=0x7ffc2e0431f0, invocation_hint=0x7ffc2e043170) at ../gobject/gclosure.c:810
      #9 0x00007f0f8186bf96 in signal_emit_unlocked_R (node=node@entry=0x5655221da260, detail=detail@entry=0, instance=instance@entry=0x5655221d67f0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffc2e0431f0) at ../gobject/gsignal.c:3741
      #10 0x00007f0f8186d85a in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7ffc2e0433c0) at ../gobject/gsignal.c:3497
      #12 0x0000565520c548fc in _nm_l3cfg_emit_signal_notify (self=0x5655221d67f0, notify_data=0x7ffc2e043e20) at src/core/nm-l3cfg.c:629
      #13 0x0000565520c74a24 in _nm_l3cfg_emit_signal_notify_simple (notify_type=NM_L3_CONFIG_NOTIFY_TYPE_POST_COMMIT, self=<optimized out>) at src/core/nm-l3cfg.c:638
      #14 _l3_commit (self=<optimized out>, commit_type=<optimized out>, is_idle=<optimized out>) at src/core/nm-l3cfg.c:4813
      #15 0x0000565520c74ea8 in _l3_commit_on_idle_cb (user_data=user_data@entry=0x5655221d67f0) at src/core/nm-l3cfg.c:3167
      #16 0x00007f0f811c513b in g_idle_dispatch (source=0x565522281e50, callback=0x565520c74e50 <_l3_commit_on_idle_cb>, user_data=0x5655221d67f0) at ../glib/gmain.c:5848
      #17 0x00007f0f811c8e2f in g_main_dispatch (context=0x56552218e6b0) at ../glib/gmain.c:3337
      #18 g_main_context_dispatch (context=0x56552218e6b0) at ../glib/gmain.c:4055
      #19 0x00007f0f8121d508 in g_main_context_iterate.constprop.0 (context=0x56552218e6b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
      #20 0x00007f0f811c8483 in g_main_loop_run (loop=0x56552218dd70) at ../glib/gmain.c:4329
      #21 0x0000565520a8267d in main (argc=<optimized out>, argv=<optimized out>) at src/core/main.c:515
      (gdb) quit

              rh-ee-jvaclav Ján Václav
              rhn-engineering-vbenes Vladimir Benes
              Network Management Team Network Management Team
              Filip Pokryvka Filip Pokryvka
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: