Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-9

VHOST VIRTIO driver crashes in debug-mode.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • None

      Two VMs are instantiated with one vhost interface each cross connected in VPP. A ping from one VM to another crashes VPP. This happens only in debug mode and not in non-debug mode.

      Stack trace:

      0x00007ffff5948cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
      56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
      (gdb) where
      #0 0x00007ffff5948cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
      #1 0x00007ffff594c0d8 in __GI_abort () at abort.c:89
      #2 0x000000000040a6ae in os_panic () at /scratch/localadmin/openvpp/vpp/build-data/../vpp/vnet/main.c:266
      #3 0x00007ffff64f9aef in debugger () at /scratch/localadmin/openvpp/vpp/build-data/../vppinfra/vppinfra/error.c:81
      #4 0x00007ffff64f9efe in _clib_error (how_to_die=2, function_name=0x0, line_number=0,
      fmt=0x7ffff712e250 "%s:%d (%s) assertion `%s' fails")
      at /scratch/localadmin/openvpp/vpp/build-data/../vppinfra/vppinfra/error.c:139
      #5 0x00007ffff709f46c in vhost_user_intfc_tx (vm=0x7fffc51d4504, node=0x7fffc509ae74, frame=0x7fffc5184d00)
      at /scratch/localadmin/openvpp/vpp/build-data/../vnet/vnet/devices/virtio/vhost-user.c:1219
      #6 0x00007ffff753b963 in dispatch_node (vm=0x7fffc51d4504, node=0x7fffc509ae74, type=VLIB_NODE_TYPE_INTERNAL,
      dispatch_state=VLIB_NODE_STATE_POLLING, frame=0x7fffc5184d00, last_time_stamp=5135275865732395)
      at /scratch/localadmin/openvpp/vpp/build-data/../vlib/vlib/main.c:996
      #7 0x00007ffff753bd7f in dispatch_pending_node (vm=0x7fffc51d4504, p=0x7fffc527943c,
      last_time_stamp=5135275865732395) at /scratch/localadmin/openvpp/vpp/build-data/../vlib/vlib/main.c:1124
      #8 0x00007ffff7089438 in dpdk_worker_thread_internal (vm=0x7fffc51d4504, callback=0x0, have_io_threads=0)
      at /scratch/localadmin/openvpp/vpp/build-data/../vnet/vnet/devices/dpdk/threads.c:219
      #9 0x00007ffff70895c7 in dpdk_worker_thread (w=0x7fffc5512c68, io_name=0x7ffff712b96d "io", callback=0x0)
      at /scratch/localadmin/openvpp/vpp/build-data/../vnet/vnet/devices/dpdk/threads.c:259
      #10 0x00007ffff7089629 in dpdk_worker_thread_fn (arg=0x7fffc5512c68)
      at /scratch/localadmin/openvpp/vpp/build-data/../vnet/vnet/devices/dpdk/threads.c:266
      #11 0x00007ffff650d270 in clib_calljmp ()
      at /scratch/localadmin/openvpp/vpp/build-data/../vppinfra/vppinfra/longjmp.S:110
      #12 0x00007fff9a70fbb0 in ?? ()
      #13 0x00007ffff755bb75 in vlib_worker_thread_bootstrap_fn (arg=0x7fffc5512c68)
      at /scratch/localadmin/openvpp/vpp/build-data/../vlib/vlib/threads.c:480
      Backtrace stopped: previous frame inner to this frame (corrupt stack?)

            shesha Shesha Sreenivasamurthy
            shesha Shesha Sreenivasamurthy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: