Stefan Hajnoczi
2013-Jun-10 08:36 UTC
Re: [Qemu-devel] Qemu crashed while unpluging IDE disk
On Fri, Jun 07, 2013 at 02:31:00PM +0000, Gonglei (Arei) wrote:> While starting a Fedora_14 guest, we came across a segfault of qemu: > > the logs in /var/log/messages are: > Jun 1 02:38:56 NC587 kernel: [403549.565754] show_signal_msg: 136 callbacks suppressed > Jun 1 02:38:56 NC587 kernel: [403549.565758] qemu-system-i38[25840]: segfault at 28 ip 0000000000418d91 sp 00007fe02aef4f00 error 4 in qemu-system-i386[400000+350000] > > the very segfault refers to the code: > /* > * Handle a read request in coroutine context > */ > static int coroutine_fn bdrv_co_do_readv(BlockDriverState *bs, > int64_t sector_num, int nb_sectors, QEMUIOVector *qiov, > BdrvRequestFlags flags) > { > BlockDriver *drv = bs->drv; //The segfault occurs when bs equals to NULL. > BdrvTrackedRequest req; > int ret; > > > NOTE: we are running on a XEN hypervisor with qemu 1.2.0Can you try qemu.git/master? Stefan