Why are we doing an exit instead of forcing a crash here?
On doing a abort() on exit, I was able to catch this in gdb and the backtrace looks like this
(gdb) bt
#0 0x00007fad2b834067 in __GI_raise (address@hidden)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007fad2b835448 in __GI_abort () at abort.c:89
#2 0x00007fad30a35728 in exit () from /home/pharidos/local/lib/catchexit.so
#3 0x000055b352884815 in virtqueue_get_head (address@hidden,
idx=<optimized out>)
at /home/pharidos/src/qemu-2.5+dfsg/hw/virtio/virtio.c:342
#4 0x000055b3528857fd in virtqueue_pop (vq=0x55b3537ec758,
address@hidden)
at /home/pharidos/src/qemu-2.5+dfsg/hw/virtio/virtio.c:518
#5 0x000055b352873e6e in virtio_net_flush_tx (address@hidden)
at /home/pharidos/src/qemu-2.5+dfsg/hw/net/virtio-net.c:1152
#6 0x000055b352873ff5 in virtio_net_tx_bh (opaque=0x55b353806700)
at /home/pharidos/src/qemu-2.5+dfsg/hw/net/virtio-net.c:1305
#7 0x000055b352a7836d in aio_bh_call (bh=<optimized out>)
at /home/pharidos/src/qemu-2.5+dfsg/async.c:64
#8 aio_bh_poll (address@hidden)
at /home/pharidos/src/qemu-2.5+dfsg/async.c:92
#9 0x000055b352a84cf0 in aio_dispatch (ctx=0x55b353569050)
at /home/pharidos/src/qemu-2.5+dfsg/aio-posix.c:305
#10 0x000055b352a7815e in aio_ctx_dispatch (source=<optimized out>,
callback=<optimized out>, user_data=<optimized out>)
at /home/pharidos/src/qemu-2.5+dfsg/async.c:231
#11 0x00007fad2c52fc5d in g_main_dispatch (context=0x55b353569410)
at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3111
#12 g_main_context_dispatch (address@hidden)
at /tmp/buildd/glib2.0-2.42.1/./glib/gmain.c:3710
#13 0x000055b352a83676 in glib_pollfds_poll ()
at /home/pharidos/src/qemu-2.5+dfsg/main-loop.c:211
#14 os_host_main_loop_wait (timeout=<optimized out>)
at /home/pharidos/src/qemu-2.5+dfsg/main-loop.c:256
#15 main_loop_wait (nonblocking=<optimized out>)
at /home/pharidos/src/qemu-2.5+dfsg/main-loop.c:504
#16 0x000055b35280abee in main_loop ()
at /home/pharidos/src/qemu-2.5+dfsg/vl.c:1927
#17 main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>)
at /home/pharidos/src/qemu-2.5+dfsg/vl.c:4683
--
Regards
H.Prem Anand