qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug] qemu_coroutine_enter abort and report error "Co-routi


From: Halsey Pian
Subject: [Qemu-devel] [Bug] qemu_coroutine_enter abort and report error "Co-routine re-entered recursively"
Date: Fri, 6 Mar 2015 15:03:58 +0800

Hi All,

 

I have two threads to write two seperate qcow2 files,  but after a while,  the writing would be aborted in qemu_coroutine_enter, and report error “"Co-routine re-entered recursively” .

 

Qemu should be thread safe, right? It seems that there are some variables is not thread safe? Could you have a chance to look it? Thanks!

 

Call stack:

 

#0 0x7ffff5e18989            __GI_raise(address@hidden) (../nptl/sysdeps/unix/sysv/linux/raise.c:56)

#1 0x7ffff5e1a098            __GI_abort() (abort.c:90)

#2 0x7ffff728c034            qemu_coroutine_enter(co=0x7fffe0004800, opaque=0x0) (qemu-coroutine.c:117)

#3 0x7ffff727df39            bdrv_co_io_em_complete(opaque=0x7ffff7fd6ae0, ret=0) (block.c:4847)

#4 0x7ffff7270314            thread_pool_completion_bh(opaque=0x7fffe0006ad0) (thread-pool.c:187)

#5 0x7ffff726f873             aio_bh_poll(ctx=0x7fffe0001d00) (async.c:82)

#6 0x7ffff728340b            aio_dispatch(ctx=0x7fffe0001d00) (aio-posix.c:137)

#7 0x7ffff72837b0            aio_poll(ctx=0x7fffe0001d00, blocking=true) (aio-posix.c:248)

#8 ??     0x00007ffff72795a8 in bdrv_prwv_co (bs=0x7fffdc0021c0, offset=12071639552, qiov=0x7fffe67fa590, is_write=true, flags=(unknown: 0)) (block.c:2703)

#9 ??     0x00007ffff727966a in bdrv_rw_co (bs=0x7fffdc0021c0, sector_num=23577421, buf=0x7fffe4629250 "\234\b\335Ǽ\254\213q\301\366\315=\005oI\301\245=\373\004+2?H\212\025\035+\262\274C;X\301FaP\324\335\061ҝ&Y\316=\347\335\020\365\003goɿ\214\312S=\v2]\373\363C\311\341\334\r5k\346k\204\332\023\264\315\230\203J\222u\214\066", nb_sectors=128, is_write=true, flags=(unknown: 0)) (block.c:2726)

#10 0x7ffff7279758          bdrv_write(bs=0x7fffdc0021c0, sector_num=23577421, buf=0x7fffe4629250 "\234\b\335Ǽ\254\213q\301\366\315=\005oI\301\245=\373\004+2?H\212\025\035+\262\274C;X\301FaP\324\335\061ҝ&Y\316=\347\335\020\365\003goɿ\214\312S=\v2]\373\363C\311\341\334\r5k\346k\204\332\023\264\315\230\203J\222u\214\066", nb_sectors=128) (block.c:2760)

 

 

Best Regards

Halsey Pian

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]