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

[NMCI] crash in libreswan_nmstate_iface_dpd_rsa

    • NetworkManager-libreswan-1.2.18-2.el9
    • sst_network_management
    • ssg_networking
    • 3
    • False
    • Hide

      None

      Show
      None
    • NMT - RHEL 8.10/9.4 DTM 22

      What were you trying to do that didn't work?

      we see a crash while running libreswan_nmstate_iface_dpd_rsa test

      Please provide the package NVR for which bug is seen:

      NetworkManager-1.42.9-31890.copr.f76cdfee24.el9.x86_64
      NetworkManager-libreswan-1.2.14-2.el9_2.x86_64

      How reproducible:

      ~10%

      Steps to reproduce

      1. from NMCI test suite run: while ./test_run.sh libreswan_nmstate_iface_dpd_rsa  ; do :;done

      Expected results

      no crash

      Actual results

      crash
      Backtrace:
      /usr/libexec/gdb: warning: Couldn't determine a path for the index cache directory.
      [New LWP 636772]
      [New LWP 636773]
      [New LWP 636774]
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib64/libthread_db.so.1".
      Core was generated by `/usr/libexec/nm-libreswan-service --bus-name org.freedesktop.NetworkManager.lib'.
      Program terminated with signal SIGTRAP, Trace/breakpoint trap.
      #0 g_logv (log_domain=0x7fc1b4104012 "GLib-GObject", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413
      1413 g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));
      [Current thread is 1 (Thread 0x7fc1b3e392c0 (LWP 636772))]

      Thread 1 (Thread 0x7fc1b3e392c0 (LWP 636772)):
      #0 g_logv (log_domain=0x7fc1b4104012 "GLib-GObject", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413
      domain = 0x0
      data = 0x0
      depth = 0
      log_func = 0x7fc1b3fe6270 <g_log_default_handler>
      domain_fatal_mask = <optimized out>
      masquerade_fatal = <optimized out>
      test_level = <optimized out>
      was_fatal = <optimized out>
      was_recursion = <optimized out>
      msg = 0x55c3f5db1ca0 "g_object_unref: assertion 'G_IS_OBJECT (object)' failed"
      msg_alloc = 0x55c3f5db1ca0 "g_object_unref: assertion 'G_IS_OBJECT (object)' failed"
      i = 3
      #1 0x00007fc1b3fe6863 in g_log (log_domain=<optimized out>, log_level=<optimized out>, format=<optimized out>) at ../glib/gmessages.c:1451
      args = gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7ffdcf4f7fe0, reg_save_area = 0x7ffdcf4f7f20
      #2 0x00007fc1b3fdb313 in g_source_callback_unref (cb_data=0x7fc1a4006b70) at ../glib/gmain.c:1660
      callback = 0x7fc1a4006b70
      #3 g_source_callback_unref (cb_data=0x7fc1a4006b70) at ../glib/gmain.c:1653
      callback = 0x7fc1a4006b70
      #4 0x00007fc1b3fdf43c in g_source_destroy_internal (source=0x7fc1a4011860, context=0x55c3f5d8b320, have_lock=1) at ../glib/gmain.c:1329
      tmp_list = <optimized out>
      old_cb_data = 0x7fc1a4006b70
      old_cb_funcs = 0x7fc1b40c43a0 <g_source_callback_funcs>
      #5 0x00007fc1b3fe0f70 in g_main_dispatch (context=0x55c3f5d8b320) at ../glib/gmain.c:3367
      dispatch = <optimized out>
      prev_source = 0x0
      begin_time_nsec = 17841763274888
      was_in_call = <optimized out>
      user_data = 0x55c3f5d945d0
      callback = 0x7fc1b4226180 <call_in_idle_cb>
      cb_funcs = 0x7fc1b40c43a0 <g_source_callback_funcs>
      cb_data = 0x7fc1a4006b70
      need_destroy = <optimized out>
      source = 0x7fc1a4011860
      current = 0x55c3f5d991a0
      i = 0
      #6 g_main_context_dispatch (context=0x55c3f5d8b320) at ../glib/gmain.c:4055
      #7 0x00007fc1b4035508 in g_main_context_iterate.constprop.0 (context=0x55c3f5d8b320, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
      max_priority = 2147483647
      timeout = 60245
      some_ready = 1
      nfds = 3
      allocated_nfds = 3
      fds = <optimized out>
      begin_time_nsec = 17841755050919
      #8 0x00007fc1b3fe0483 in g_main_loop_run (loop=0x55c3f5da1a70) at ../glib/gmain.c:4329
      _func_ = "g_main_loop_run"
      #9 0x000055c3f48aa1f4 in main ()

      Thread 2 (Thread 0x7fc1b31aa640 (LWP 636773)):
      #0 0x00007fc1b3d426ef in _GI__poll (fds=0x55c3f5d62bc0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
      sc_ret = -516
      sc_cancel_oldtype = 0
      #1 0x00007fc1b403549c in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x55c3f5d62bc0, timeout=<optimized out>, context=0x55c3f5d85f00) at ../glib/gmain.c:4434
      ret = <optimized out>
      errsv = <optimized out>
      poll_func = 0x7fc1b3fefeb0 <g_poll>
      max_priority = 2147483647
      timeout = -1
      some_ready = <optimized out>
      nfds = 1
      allocated_nfds = 1
      fds = 0x55c3f5d62bc0
      begin_time_nsec = 17841763922336
      #2 g_main_context_iterate.constprop.0 (context=context@entry=0x55c3f5d85f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4126
      max_priority = 2147483647
      timeout = -1
      some_ready = <optimized out>
      nfds = 1
      allocated_nfds = 1
      fds = 0x55c3f5d62bc0
      begin_time_nsec = 17841763922336
      #3 0x00007fc1b3fde5f3 in g_main_context_iteration (context=0x55c3f5d85f00, may_block=may_block@entry=1) at ../glib/gmain.c:4196
      retval = <optimized out>
      #4 0x00007fc1b3fde641 in glib_worker_main (data=<optimized out>) at ../glib/gmain.c:6089
      #5 0x00007fc1b400f582 in g_thread_proxy (data=0x55c3f5d4fb60) at ../glib/gthread.c:826
      thread = 0x55c3f5d4fb60
      _func_ = "g_thread_proxy"
      #6 0x00007fc1b3c9f802 in start_thread (arg=<optimized out>) at pthread_create.c:443
      ret = <optimized out>
      pd = <optimized out>
      unwind_buf = {cancel_jmp_buf = {{jmp_buf =

      {140728081545888, -3109107485244589961, 140469910283840, 0, 140469921772848, 0, 3123630080278722679, 3123629679927687287}

      , mask_was_saved = 0}}, priv = {pad =

      {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
      not_first_call = <optimized out>
      #7 0x00007fc1b3c3f450 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

      Thread 3 (Thread 0x7fc1b29a9640 (LWP 636774)):
      #0 0x00007fc1b3d426ef in _GI__poll (fds=0x55c3f5d91ba0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
      sc_ret = -516
      sc_cancel_oldtype = 0
      #1 0x00007fc1b403549c in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x55c3f5d91ba0, timeout=<optimized out>, context=0x55c3f5d83740) at ../glib/gmain.c:4434
      ret = <optimized out>
      errsv = <optimized out>
      poll_func = 0x7fc1b3fefeb0 <g_poll>
      max_priority = 2147483647
      timeout = -1
      some_ready = <optimized out>
      nfds = 2
      allocated_nfds = 2
      fds = 0x55c3f5d91ba0
      begin_time_nsec = 17841765447403
      #2 g_main_context_iterate.constprop.0 (context=0x55c3f5d83740, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4126
      max_priority = 2147483647
      timeout = -1
      some_ready = <optimized out>
      nfds = 2
      allocated_nfds = 2
      fds = 0x55c3f5d91ba0
      begin_time_nsec = 17841765447403
      #3 0x00007fc1b3fe0483 in g_main_loop_run (loop=0x55c3f5d83830) at ../glib/gmain.c:4329
      _func_ = "g_main_loop_run"
      #4 0x00007fc1b4231e1a in gdbus_shared_thread_func (user_data=0x55c3f5d977c0) at ../gio/gdbusprivate.c:280
      data = 0x55c3f5d977c0
      #5 0x00007fc1b400f582 in g_thread_proxy (data=0x55c3f5d8e400) at ../glib/gthread.c:826
      thread = 0x55c3f5d8e400
      _func_ = "g_thread_proxy"
      #6 0x00007fc1b3c9f802 in start_thread (arg=<optimized out>) at pthread_create.c:443
      ret = <optimized out>
      pd = <optimized out>
      unwind_buf = {cancel_jmp_buf = jmp_buf = {140728081546176, -3109107485244589961, 140469901891136, 11, 140469921772848, 0, 3123631179253479543, 3123629679927687287}, mask_was_saved = 0, priv = {pad = {0x0, 0x0, 0x0, 0x0}

      , data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
      not_first_call = <optimized out>
      #7 0x00007fc1b3c3f450 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

            rhn-engineering-vbenes Vladimir Benes
            rhn-engineering-vbenes Vladimir Benes
            Beniamino Galvani Beniamino Galvani
            Vladimir Benes Vladimir Benes
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: