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

virtqemud crashed when starting guest with ovs bridge interface and qos setting

    • libvirt-10.10.0-2.el9
    • No
    • Moderate
    • rhel-sst-virtualization
    • ssg_virtualization
    • 20
    • 2
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • x86_64
    • None

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

      virtqemud crashed when starting guest with ovs bridge interface and qos setting.

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      libvirt-10.10.0-1.el10.x86_64

      How reproducible is this bug?:

      10%

      Steps to reproduce   

      1. Create ovs bridge:
      # tmux -c "ovs-vsctl add-br ovs_br_jNF;ovs-vsctl add-port ovs_br_jNF eno1;dhclient -r;sleep 5 ;dhclient ovs_br_jNF"2.Can see guest crash on the target host sometimes:       

          2.Start a guest with ovs bridge interface and qos setting, virtqemud crashed during guest staring:

      # virsh dumpxml avocado-vt-vm1 --xpath //interface
      <interface type="bridge">
        <mac address="52:54:00:5b:ff:f0"/>
        <source bridge="ovs_br_jNF"/>
        <virtualport type="openvswitch">
          <parameters interfaceid="e9b30702-4468-47a5-9ada-1d4a3068946a"/>
        </virtualport>
        <bandwidth>
          <outbound average="200" peak="400" burst="600"/>
        </bandwidth>
        <model type="virtio"/>
        <address type="pci" domain="0x0000" bus="0x10" slot="0x01" function="0x0"/>
      </interface>
      
      # virsh start avocado-vt-vm1 
      error: Disconnected from qemu:///system due to end of file
      error: Failed to start domain 'avocado-vt-vm1'
      error: End of file while reading data: Input/output error  

        3.The backtrace is as follows:

      Core was generated by `/usr/sbin/virtqemud --timeout 120'.
      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  0x00007f2cafb14b3c in virNetDevOpenvswitchInterfaceSetQos (ifname=0x7f2c840319c0 "vnet2", bandwidth=bandwidth@entry=0x7f2c8c0534b0, 
          vmuuid=vmuuid@entry=0x7f2c8c034438 "\r\317ѳ\361$Km\243o\344H\211?\206P", swapped=<optimized out>) at ../src/util/virnetdevopenvswitch.c:961
      961            if (rx->peak && tx->peak != rx->average) {
      [Current thread is 1 (Thread 0x7f2c9edfc6c0 (LWP 14484))]
      Missing separate debuginfos, use: dnf debuginfo-install libnbd-1.20.3-2.el10.x86_64 libnl3-3.11.0-1.el10.x86_64 libtasn1-4.19.0-9.el10.x86_64 p11-kit-0.25.5-7.el10.x86_64
      (gdb) t a a btThread 20 (Thread 0x7f2c8bfff6c0 (LWP 14505)):
      #0  0x00007f2caf6f05cf in __GI___poll (fds=0x7f2c3c00a1f0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
      #1  0x00007f2caffda5c6 in g_main_context_poll_unlocked (priority=2147483647, context=0x7f2c24001480, timeout=<optimized out>, fds=0x7f2c3c00a1f0, n_fds=3) at ../glib/gmain.c:4521
      #2  g_main_context_iterate_unlocked.isra.0 (context=0x7f2c24001480, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4212
      #3  0x00007f2caff8087f in g_main_loop_run (loop=0x7f2c24001600) at ../glib/gmain.c:4419
      #4  0x00007f2cafae540e in virEventThreadWorker (opaque=0x7f2c24001640) at ../src/util/vireventthread.c:124
      #5  0x00007f2caffa9d52 in g_thread_proxy (data=0x7f2c240016a0) at ../glib/gthread.c:835
      #6  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #7  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 19 (Thread 0x7f2c9d5f96c0 (LWP 14487)):
      #0  0x00007f2caf68a28e in __futex_abstimed_wait_common64 (private=0, futex_word=0x55a3b5ccc378, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55a3b5ccc378, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
      #2  0x00007f2caf68a30f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a3b5ccc378, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x00007f2caf68cc40 in __pthread_cond_wait_common (cond=0x55a3b5ccc350, mutex=0x55a3b5ccc288, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
      #4  ___pthread_cond_wait (cond=cond@entry=0x55a3b5ccc350, mutex=mutex@entry=0x55a3b5ccc288) at pthread_cond_wait.c:618
      #5  0x00007f2cafb3bc1a in virCondWait (c=c@entry=0x55a3b5ccc350, m=m@entry=0x55a3b5ccc288) at ../src/util/virthread.c:171
      #6  0x00007f2cafb3f973 in virThreadPoolWorker (opaque=<optimized out>) at ../src/util/virthreadpool.c:121
      #7  0x00007f2cafb3e358 in virThreadHelper (data=<optimized out>) at ../src/util/virthread.c:256
      #8  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #9  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 18 (Thread 0x7f2c967fc6c0 (LWP 14492)):
      #0  0x00007f2caf68a28e in __futex_abstimed_wait_common64 (private=0, futex_word=0x55a3b5cc0618, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55a3b5cc0618, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
      #2  0x00007f2caf68a30f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a3b5cc0618, expected=expected@entry=0, clockid=--Type <RET> for more, q to quit, c to continue without paging--
      clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x00007f2caf68cc40 in __pthread_cond_wait_common (cond=0x55a3b5cc05f0, mutex=0x55a3b5cc05c8, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
      #4  ___pthread_cond_wait (cond=cond@entry=0x55a3b5cc05f0, mutex=mutex@entry=0x55a3b5cc05c8) at pthread_cond_wait.c:618
      #5  0x00007f2cafb3bc1a in virCondWait (c=c@entry=0x55a3b5cc05f0, m=m@entry=0x55a3b5cc05c8) at ../src/util/virthread.c:171
      #6  0x00007f2cafb3f873 in virThreadPoolWorker (opaque=<optimized out>) at ../src/util/virthreadpool.c:121
      #7  0x00007f2cafb3e358 in virThreadHelper (data=<optimized out>) at ../src/util/virthread.c:256
      #8  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #9  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 17 (Thread 0x7f2ca05ff6c0 (LWP 14481)):
      #0  0x00007f2caf68a28e in __futex_abstimed_wait_common64 (private=0, futex_word=0x55a3b5ccc2dc, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55a3b5ccc2dc, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
      #2  0x00007f2caf68a30f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a3b5ccc2dc, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x00007f2caf68cc40 in __pthread_cond_wait_common (cond=0x55a3b5ccc2b0, mutex=0x55a3b5ccc288, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
      #4  ___pthread_cond_wait (cond=cond@entry=0x55a3b5ccc2b0, mutex=mutex@entry=0x55a3b5ccc288) at pthread_cond_wait.c:618
      #5  0x00007f2cafb3bc1a in virCondWait (c=c@entry=0x55a3b5ccc2b0, m=m@entry=0x55a3b5ccc288) at ../src/util/virthread.c:171
      #6  0x00007f2cafb3f873 in virThreadPoolWorker (opaque=<optimized out>) at ../src/util/virthreadpool.c:121
      #7  0x00007f2cafb3e358 in virThreadHelper (data=<optimized out>) at ../src/util/virthread.c:256
      #8  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #9  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 16 (Thread 0x7f2c8affd6c0 (LWP 14498)):
      #0  0x00007f2caf6f05cf in __GI___poll (fds=0x7f2c3c00a7e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
      #1  0x00007f2caffda5c6 in g_main_context_poll_unlocked (priority=2147483647, context=0x7f2c3c00a540, timeout=<optimized out>, fds=0x7f2c3c00a7e0, n_fds=1) at ../glib/gmain.c:4521
      #2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f2c3c00a540, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4212
      #3  0x00007f2caff7be60 in g_main_context_iteration (context=0x7f2c3c00a540, may_block=may_block@entry=1) at ../glib/gmain.c:4282
      #4  0x00007f2caff7beb1 in glib_worker_main (data=<optimized out>) at ../glib/gmain.c:6442
      #5  0x00007f2caffa9d52 in g_thread_proxy (data=0x7f2c3c00a780) at ../glib/gthread.c:835
      --Type <RET> for more, q to quit, c to continue without paging--
      #6  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #7  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 15 (Thread 0x7f2c8a7fc6c0 (LWP 14499)):
      #0  0x00007f2caf6f05cf in __GI___poll (fds=0x7f2c28000b90, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
      #1  0x00007f2caffda5c6 in g_main_context_poll_unlocked (priority=2147483647, context=0x7f2c3c015280, timeout=<optimized out>, fds=0x7f2c28000b90, n_fds=2) at ../glib/gmain.c:4521
      #2  g_main_context_iterate_unlocked.isra.0 (context=0x7f2c3c015280, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4212
      #3  0x00007f2caff8087f in g_main_loop_run (loop=0x7f2c3c015380) at ../glib/gmain.c:4419
      #4  0x00007f2caf93aafa in gdbus_shared_thread_func (user_data=0x7f2c3c015250) at ../gio/gdbusprivate.c:284
      #5  0x00007f2caffa9d52 in g_thread_proxy (data=0x55a3b5cc9c00) at ../glib/gthread.c:835
      #6  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #7  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 14 (Thread 0x7f2c96ffd6c0 (LWP 14491)):
      #0  0x00007f2caf68a28e in __futex_abstimed_wait_common64 (private=0, futex_word=0x55a3b5cc0618, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55a3b5cc0618, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
      #2  0x00007f2caf68a30f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a3b5cc0618, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x00007f2caf68cc40 in __pthread_cond_wait_common (cond=0x55a3b5cc05f0, mutex=0x55a3b5cc05c8, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
      #4  ___pthread_cond_wait (cond=cond@entry=0x55a3b5cc05f0, mutex=mutex@entry=0x55a3b5cc05c8) at pthread_cond_wait.c:618
      #5  0x00007f2cafb3bc1a in virCondWait (c=c@entry=0x55a3b5cc05f0, m=m@entry=0x55a3b5cc05c8) at ../src/util/virthread.c:171
      #6  0x00007f2cafb3f873 in virThreadPoolWorker (opaque=<optimized out>) at ../src/util/virthreadpool.c:121
      #7  0x00007f2cafb3e358 in virThreadHelper (data=<optimized out>) at ../src/util/virthread.c:256
      #8  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #9  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 13 (Thread 0x7f2c8b7fe6c0 (LWP 14497)):
      #0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
      #1  0x00007f2caffd7784 in g_cond_wait (cond=0x7f2c3c007328, mutex=0x7f2c3c007320) at ../glib/gthread-posix.c:1552
      #2  0x00007f2caff461cb in g_async_queue_pop_intern_unlocked (queue=0x7f2c3c007320, wait=1, end_time=-1) at ../glib/gasyncqueue.c:375
      --Type <RET> for more, q to quit, c to continue without paging--
      #3  0x00007f2caffaaef2 in g_thread_pool_spawn_thread (data=<optimized out>) at ../glib/gthreadpool.c:297
      #4  0x00007f2caffa9d52 in g_thread_proxy (data=0x7f2c3c00a210) at ../glib/gthread.c:835
      #5  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #6  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 12 (Thread 0x7f2c94ff96c0 (LWP 14495)):
      #0  0x00007f2caf68a28e in __futex_abstimed_wait_common64 (private=0, futex_word=0x55a3b5cc0618, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55a3b5cc0618, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
      #2  0x00007f2caf68a30f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a3b5cc0618, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x00007f2caf68cc40 in __pthread_cond_wait_common (cond=0x55a3b5cc05f0, mutex=0x55a3b5cc05c8, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
      #4  ___pthread_cond_wait (cond=cond@entry=0x55a3b5cc05f0, mutex=mutex@entry=0x55a3b5cc05c8) at pthread_cond_wait.c:618
      #5  0x00007f2cafb3bc1a in virCondWait (c=c@entry=0x55a3b5cc05f0, m=m@entry=0x55a3b5cc05c8) at ../src/util/virthread.c:171
      #6  0x00007f2cafb3f873 in virThreadPoolWorker (opaque=<optimized out>) at ../src/util/virthreadpool.c:121
      #7  0x00007f2cafb3e358 in virThreadHelper (data=<optimized out>) at ../src/util/virthread.c:256
      #8  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #9  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 11 (Thread 0x7f2c9cdf86c0 (LWP 14488)):
      #0  0x00007f2caf68a28e in __futex_abstimed_wait_common64 (private=0, futex_word=0x55a3b5ccc378, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55a3b5ccc378, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
      #2  0x00007f2caf68a30f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a3b5ccc378, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x00007f2caf68cc40 in __pthread_cond_wait_common (cond=0x55a3b5ccc350, mutex=0x55a3b5ccc288, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
      #4  ___pthread_cond_wait (cond=cond@entry=0x55a3b5ccc350, mutex=mutex@entry=0x55a3b5ccc288) at pthread_cond_wait.c:618
      #5  0x00007f2cafb3bc1a in virCondWait (c=c@entry=0x55a3b5ccc350, m=m@entry=0x55a3b5ccc288) at ../src/util/virthread.c:171
      #6  0x00007f2cafb3f973 in virThreadPoolWorker (opaque=<optimized out>) at ../src/util/virthreadpool.c:121
      #7  0x00007f2cafb3e358 in virThreadHelper (data=<optimized out>) at ../src/util/virthread.c:256
      #8  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      --Type <RET> for more, q to quit, c to continue without paging--
      #9  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 10 (Thread 0x7f2c977fe6c0 (LWP 14490)):
      #0  0x00007f2caf68a28e in __futex_abstimed_wait_common64 (private=0, futex_word=0x55a3b5ccc378, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55a3b5ccc378, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
      #2  0x00007f2caf68a30f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a3b5ccc378, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x00007f2caf68cc40 in __pthread_cond_wait_common (cond=0x55a3b5ccc350, mutex=0x55a3b5ccc288, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
      #4  ___pthread_cond_wait (cond=cond@entry=0x55a3b5ccc350, mutex=mutex@entry=0x55a3b5ccc288) at pthread_cond_wait.c:618
      #5  0x00007f2cafb3bc1a in virCondWait (c=c@entry=0x55a3b5ccc350, m=m@entry=0x55a3b5ccc288) at ../src/util/virthread.c:171
      #6  0x00007f2cafb3f973 in virThreadPoolWorker (opaque=<optimized out>) at ../src/util/virthreadpool.c:121
      #7  0x00007f2cafb3e358 in virThreadHelper (data=<optimized out>) at ../src/util/virthread.c:256
      #8  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #9  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 9 (Thread 0x7f2c97fff6c0 (LWP 14489)):
      #0  0x00007f2caf68a28e in __futex_abstimed_wait_common64 (private=0, futex_word=0x55a3b5ccc378, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55a3b5ccc378, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
      #2  0x00007f2caf68a30f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a3b5ccc378, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x00007f2caf68cc40 in __pthread_cond_wait_common (cond=0x55a3b5ccc350, mutex=0x55a3b5ccc288, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
      #4  ___pthread_cond_wait (cond=cond@entry=0x55a3b5ccc350, mutex=mutex@entry=0x55a3b5ccc288) at pthread_cond_wait.c:618
      #5  0x00007f2cafb3bc1a in virCondWait (c=c@entry=0x55a3b5ccc350, m=m@entry=0x55a3b5ccc288) at ../src/util/virthread.c:171
      #6  0x00007f2cafb3f973 in virThreadPoolWorker (opaque=<optimized out>) at ../src/util/virthreadpool.c:121
      #7  0x00007f2cafb3e358 in virThreadHelper (data=<optimized out>) at ../src/util/virthread.c:256
      #8  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #9  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 8 (Thread 0x7f2c9e5fb6c0 (LWP 14485)):
      --Type <RET> for more, q to quit, c to continue without paging--
      #0  0x00007f2caf68a28e in __futex_abstimed_wait_common64 (private=0, futex_word=0x55a3b5ccc2d8, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55a3b5ccc2d8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
      #2  0x00007f2caf68a30f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a3b5ccc2d8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x00007f2caf68cc40 in __pthread_cond_wait_common (cond=0x55a3b5ccc2b0, mutex=0x55a3b5ccc288, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
      #4  ___pthread_cond_wait (cond=cond@entry=0x55a3b5ccc2b0, mutex=mutex@entry=0x55a3b5ccc288) at pthread_cond_wait.c:618
      #5  0x00007f2cafb3bc1a in virCondWait (c=c@entry=0x55a3b5ccc2b0, m=m@entry=0x55a3b5ccc288) at ../src/util/virthread.c:171
      #6  0x00007f2cafb3f873 in virThreadPoolWorker (opaque=<optimized out>) at ../src/util/virthreadpool.c:121
      #7  0x00007f2cafb3e358 in virThreadHelper (data=<optimized out>) at ../src/util/virthread.c:256
      #8  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #9  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 7 (Thread 0x7f2c95ffb6c0 (LWP 14493)):
      #0  0x00007f2caf68a28e in __futex_abstimed_wait_common64 (private=0, futex_word=0x55a3b5cc0618, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55a3b5cc0618, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
      #2  0x00007f2caf68a30f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a3b5cc0618, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x00007f2caf68cc40 in __pthread_cond_wait_common (cond=0x55a3b5cc05f0, mutex=0x55a3b5cc05c8, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
      #4  ___pthread_cond_wait (cond=cond@entry=0x55a3b5cc05f0, mutex=mutex@entry=0x55a3b5cc05c8) at pthread_cond_wait.c:618
      #5  0x00007f2cafb3bc1a in virCondWait (c=c@entry=0x55a3b5cc05f0, m=m@entry=0x55a3b5cc05c8) at ../src/util/virthread.c:171
      #6  0x00007f2cafb3f873 in virThreadPoolWorker (opaque=<optimized out>) at ../src/util/virthreadpool.c:121
      #7  0x00007f2cafb3e358 in virThreadHelper (data=<optimized out>) at ../src/util/virthread.c:256
      #8  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #9  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 6 (Thread 0x7f2c957fa6c0 (LWP 14494)):
      #0  0x00007f2caf68a28e in __futex_abstimed_wait_common64 (private=0, futex_word=0x55a3b5cc0618, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55a3b5cc0618, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@--Type <RET> for more, q to quit, c to continue without paging--
      entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
      #2  0x00007f2caf68a30f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a3b5cc0618, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x00007f2caf68cc40 in __pthread_cond_wait_common (cond=0x55a3b5cc05f0, mutex=0x55a3b5cc05c8, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
      #4  ___pthread_cond_wait (cond=cond@entry=0x55a3b5cc05f0, mutex=mutex@entry=0x55a3b5cc05c8) at pthread_cond_wait.c:618
      #5  0x00007f2cafb3bc1a in virCondWait (c=c@entry=0x55a3b5cc05f0, m=m@entry=0x55a3b5cc05c8) at ../src/util/virthread.c:171
      #6  0x00007f2cafb3f873 in virThreadPoolWorker (opaque=<optimized out>) at ../src/util/virthreadpool.c:121
      #7  0x00007f2cafb3e358 in virThreadHelper (data=<optimized out>) at ../src/util/virthread.c:256
      #8  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #9  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 5 (Thread 0x7f2cae1f1ac0 (LWP 14480)):
      #0  0x00007f2caf6f05cf in __GI___poll (fds=0x55a3b5cca950, nfds=8, timeout=4865) at ../sysdeps/unix/sysv/linux/poll.c:29
      #1  0x00007f2caffda5c6 in g_main_context_poll_unlocked (priority=2147483647, context=0x55a3b5cc7310, timeout=<optimized out>, fds=0x55a3b5cca950, n_fds=8) at ../glib/gmain.c:4521
      #2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x55a3b5cc7310, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4212
      #3  0x00007f2caff7be60 in g_main_context_iteration (context=0x55a3b5cc7310, context@entry=0x0, may_block=may_block@entry=1) at ../glib/gmain.c:4282
      #4  0x00007f2cafae5744 in virEventGLibRunOnce () at ../src/util/vireventglib.c:515
      #5  0x00007f2cafc07262 in virNetDaemonRun (dmn=dmn@entry=0x55a3b5ccc0c0) at ../src/rpc/virnetdaemon.c:837
      #6  0x000055a37962fba2 in main (argc=<optimized out>, argv=<optimized out>) at ../src/remote/remote_daemon.c:1214Thread 4 (Thread 0x7f2c9f5fd6c0 (LWP 14483)):
      #0  0x00007f2caf68a28e in __futex_abstimed_wait_common64 (private=0, futex_word=0x55a3b5ccc2dc, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55a3b5ccc2dc, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
      #2  0x00007f2caf68a30f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a3b5ccc2dc, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x00007f2caf68cc40 in __pthread_cond_wait_common (cond=0x55a3b5ccc2b0, mutex=0x55a3b5ccc288, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
      #4  ___pthread_cond_wait (cond=cond@entry=0x55a3b5ccc2b0, mutex=mutex@entry=0x55a3b5ccc288) at pthread_cond_wait.c:618
      #5  0x00007f2cafb3bc1a in virCondWait (c=c@entry=0x55a3b5ccc2b0, m=m@entry=0x55a3b5ccc288) at ../src/util/virthread.c:171
      --Type <RET> for more, q to quit, c to continue without paging--
      #6  0x00007f2cafb3f873 in virThreadPoolWorker (opaque=<optimized out>) at ../src/util/virthreadpool.c:121
      #7  0x00007f2cafb3e358 in virThreadHelper (data=<optimized out>) at ../src/util/virthread.c:256
      #8  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #9  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 3 (Thread 0x7f2c9ddfa6c0 (LWP 14486)):
      #0  0x00007f2caf68a28e in __futex_abstimed_wait_common64 (private=0, futex_word=0x55a3b5ccc378, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55a3b5ccc378, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
      #2  0x00007f2caf68a30f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a3b5ccc378, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x00007f2caf68cc40 in __pthread_cond_wait_common (cond=0x55a3b5ccc350, mutex=0x55a3b5ccc288, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
      #4  ___pthread_cond_wait (cond=cond@entry=0x55a3b5ccc350, mutex=mutex@entry=0x55a3b5ccc288) at pthread_cond_wait.c:618
      #5  0x00007f2cafb3bc1a in virCondWait (c=c@entry=0x55a3b5ccc350, m=m@entry=0x55a3b5ccc288) at ../src/util/virthread.c:171
      #6  0x00007f2cafb3f973 in virThreadPoolWorker (opaque=<optimized out>) at ../src/util/virthreadpool.c:121
      #7  0x00007f2cafb3e358 in virThreadHelper (data=<optimized out>) at ../src/util/virthread.c:256
      #8  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #9  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 2 (Thread 0x7f2c9fdfe6c0 (LWP 14482)):
      #0  0x00007f2caf68a28e in __futex_abstimed_wait_common64 (private=0, futex_word=0x55a3b5ccc2dc, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
      #1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55a3b5ccc2dc, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
      #2  0x00007f2caf68a30f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a3b5ccc2dc, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
      #3  0x00007f2caf68cc40 in __pthread_cond_wait_common (cond=0x55a3b5ccc2b0, mutex=0x55a3b5ccc288, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
      #4  ___pthread_cond_wait (cond=cond@entry=0x55a3b5ccc2b0, mutex=mutex@entry=0x55a3b5ccc288) at pthread_cond_wait.c:618
      #5  0x00007f2cafb3bc1a in virCondWait (c=c@entry=0x55a3b5ccc2b0, m=m@entry=0x55a3b5ccc288) at ../src/util/virthread.c:171
      #6  0x00007f2cafb3f873 in virThreadPoolWorker (opaque=<optimized out>) at ../src/util/virthreadpool.c:121
      #7  0x00007f2cafb3e358 in virThreadHelper (data=<optimized out>) at ../src/util/virthread.c:256
      #8  0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      --Type <RET> for more, q to quit, c to continue without paging--
      #9  0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78Thread 1 (Thread 0x7f2c9edfc6c0 (LWP 14484)):
      #0  0x00007f2cafb14b3c in virNetDevOpenvswitchInterfaceSetQos (ifname=0x7f2c840319c0 "vnet2", bandwidth=bandwidth@entry=0x7f2c8c0534b0, vmuuid=vmuuid@entry=0x7f2c8c034438 "\r\317ѳ\361$Km\243o\344H\211?\206P", swapped=<optimized out>) at ../src/util/virnetdevopenvswitch.c:961
      #1  0x00007f2c9c2a3b5f in qemuBuildInterfaceCommandLine (driver=<optimized out>, vm=<optimized out>, cmd=<optimized out>, net=0x7f2c8c053140, qemuCaps=<optimized out>, vmop=<optimized out>, nnicindexes=<optimized out>, nicindexes=<optimized out>) at ../src/qemu/qemu_command.c:8693
      #2  qemuBuildNetCommandLine (driver=0x7f2c3c0195e0, vm=0x7f2c3c3be7f0, cmd=0x7f2c8403f780, qemuCaps=0x7f2c84002640, vmop=VIR_NETDEV_VPORT_PROFILE_OP_CREATE, nnicindexes=0x7f2c9edfb4a0, nicindexes=0x7f2c9edfb498) at ../src/qemu/qemu_command.c:8795
      #3  qemuBuildCommandLine (vm=0x7f2c3c3be7f0, migrateURI=0x0, snapshot=0x0, vmop=VIR_NETDEV_VPORT_PROFILE_OP_CREATE, nnicindexes=0x7f2c9edfb4a0, nicindexes=0x7f2c9edfb498) at ../src/qemu/qemu_command.c:10511
      #4  0x00007f2c9c352199 in qemuProcessLaunch (conn=conn@entry=0x7f2c8c000f50, driver=driver@entry=0x7f2c3c0195e0, vm=vm@entry=0x7f2c3c3be7f0, asyncJob=asyncJob@entry=VIR_ASYNC_JOB_START, incoming=incoming@entry=0x0, snapshot=snapshot@entry=0x0, vmop=VIR_NETDEV_VPORT_PROFILE_OP_CREATE, flags=17) at ../src/qemu/qemu_process.c:7839
      #5  0x00007f2c9c356d28 in qemuProcessStart (conn=0x7f2c8c000f50, driver=0x7f2c3c0195e0, vm=0x7f2c3c3be7f0, updatedCPU=<optimized out>, asyncJob=VIR_ASYNC_JOB_START, migrateFrom=0x0, migrateFd=-1, migratePath=0x0, snapshot=0x0, vmop=VIR_NETDEV_VPORT_PROFILE_OP_CREATE, flags=17) at ../src/qemu/qemu_process.c:8317
      #6  0x00007f2c9c37a698 in qemuDomainObjStart.constprop.0 (conn=0x7f2c8c000f50, driver=0x7f2c3c0195e0, vm=0x7f2c3c3be7f0, flags=0, asyncJob=<optimized out>) at ../src/qemu/qemu_driver.c:6336
      #7  0x00007f2c9c2d1011 in qemuDomainCreateWithFlags (dom=0x7f2c84002460, flags=0) at ../src/qemu/qemu_driver.c:6385
      #8  0x00007f2cafd134f9 in virDomainCreate (domain=domain@entry=0x7f2c84002460) at ../src/libvirt-domain.c:7079
      #9  0x000055a37964fdf1 in remoteDispatchDomainCreate (server=0x55a3b5ccb360, msg=0x55a3b5caa010, client=<optimized out>, rerr=0x7f2c9edfb9f0, args=0x7f2c84003060) at src/remote/remote_daemon_dispatch_stubs.h:5050
      #10 remoteDispatchDomainCreateHelper (server=0x55a3b5ccb360, client=<optimized out>, msg=0x55a3b5caa010, rerr=0x7f2c9edfb9f0, args=0x7f2c84003060, ret=0x0) at src/remote/remote_daemon_dispatch_stubs.h:5029
      #11 0x00007f2cafc05159 in virNetServerProgramDispatchCall (prog=0x55a3b5cc4000, server=0x55a3b5ccb360, client=0x55a3b5cd54c0, msg=0x55a3b5caa010) at ../src/rpc/virnetserverprogram.c:423
      #12 virNetServerProgramDispatch (prog=0x55a3b5cc4000, server=server@entry=0x55a3b5ccb360, client=client@entry=0x55a3b5cd54c0, msg=msg@entry=0x55a3b5caa010) at ../src/rpc/virnetserverprogram.c:299
      #13 0x00007f2cafc05752 in virNetServerProcessMsg (srv=srv@entry=0x55a3b5ccb360, client=0x55a3b5cd54c0, prog=<optimized out>, msg=0x55a3b5caa010) at ../src/rpc/virnetserver.c:135
      #14 0x00007f2cafc05861 in virNetServerHandleJob (jobOpaque=0x55a3b5cc0510, opaque=0x55a3b5ccb360) at ../src/rpc/virnetserver.c:155
      #15 0x00007f2cafb3f8f5 in virThreadPoolWorker (opaque=<optimized out>) at ../src/util/virthreadpool.c:164
      #16 0x00007f2cafb3e358 in virThreadHelper (data=<optimized out>) at ../src/util/virthread.c:256
      #17 0x00007f2caf68da29 in start_thread (arg=<optimized out>) at pthread_create.c:447
      --Type <RET> for more, q to quit, c to continue without paging--
      #18 0x00007f2caf6fd4fc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
       

      Expected results

      Guest should start successfully with ovs bridge interface and qos setting and virtqemud should not crash.

      Actual results

      virtqemud crashed when starting guest with ovs bridge interface and qos setting 

              jdenemar@redhat.com Jiri Denemark
              rhn-support-yafu Yan Fu
              Jiri Denemark Jiri Denemark
              Yanqiu Zhang Yanqiu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: