qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] deadlock while running graphics application on QEMU


From: Mirza, Taimoor
Subject: [Qemu-devel] deadlock while running graphics application on QEMU
Date: Thu, 20 Jun 2013 05:33:57 +0000

Hi Guys, 
I am trying to run graphics demo application on QEMU system emulator using SDL 
on Windows XP. On running QEMU, its Window appears and then gets stuck. It 
seems some kind of deadlock to me. Same application runs fine on Windows 7 or 
if I use QEMU 0.15 on Windows XP. I found similar problem mentioned in 
http://permalink.gmane.org/gmane.comp.emulators.qemu/148857 but this patch is 
outdated now and function does not exist anymore.

Has anyone experienced something similar to it? As far as I can see, it looks 
to me that one thread acquires a lock during SDL_SetVideoMode and another 
thread keeps on waiting for it. Below are backtraces of one of the thread:

0  0x7c90e514 in ntdll!LdrAccessResource () from C:\WINDOWS\system32\ntdll.dll
#1  0x7e42c24e in USER32!DefWindowProcA () from C:\WINDOWS\system32\user32.dll
#2  0x7e42c291 in USER32!DefWindowProcA () from C:\WINDOWS\system32\user32.dll
#3  0x008a1322 in ioport_read_table ()
#4  0xfffffff0 in ?? ()
#5  0x14cf0000 in ?? ()
#6  0x7e42c2b2 in USER32!SetWindowLongA () from C:\WINDOWS\system32\user32.dll
#7  0x68135c4b in SDL_RegisterApp () from 
D:\temp\Sourcery_CodeBench_for_IA32_Windows\bin\SDL.dll
#8  0x6812bbb5 in SDL_SetVideoMode () from 
D:\temp\Sourcery_CodeBench_for_IA32_Windows\bin\SDL.dll
#9  0x00521645 in _fu10354____stack_chk_guard () at ui/sdl.c:109
#10 0x00521721 in _fu10357____stack_chk_guard () at ui/sdl.c:120
#11 0x0051ed0c in dpy_gfx_resize (s=0x20d2298) at 
d:/temp/qemu/qemu-1.4.2/qemu-1.4.2/include/ui/console.h:254
#12 _fu10213____stack_chk_guard () at ui/console.c:1596
#13 0x005cd580 in _fu15705____stack_chk_guard () at 
d:/temp/qemu/qemu-1.4.2/qemu-1.4.2/memory.c:364
#14 0x005d4404 in memory_region_dispatch_write (size=4, data=67881, addr=24, 
mr=0x20db6a8) at d:/temp/qemu/qemu-1.4.2/qemu-1.4.2/memory.c:916
#15 _fu15859____stack_chk_guard () at 
d:/temp/qemu/qemu-1.4.2/qemu-1.4.2/memory.c:1597
#16 0x005f95dc in io_writel (physaddr=<optimized out>, retaddr=41276164, 
addr=268566552, val=67881, env=0x2029148) at 
d:/temp/qemu/qemu-1.4.2/qemu-1.4.2/include/exec/softmmu_template.h:231
#17 slow_stl_mmu (retaddr=<optimized out>, mmu_idx=<optimized out>, 
val=<optimized out>, addr=<optimized out>, env=<optimized out>) at 
d:/temp/qemu/qemu-1.4.2/qemu-1.4.2/include/exec/softmmu_template.h:316
#18 _fu17435____stack_chk_guard () at 
d:/temp/qemu/qemu-1.4.2/qemu-1.4.2/include/exec/softmmu_template.h:269
#19 0x0275d453 in ?? ()

-Taimoor



reply via email to

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