qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] qemu dsound and crash


From: Kazu
Subject: Re: [Qemu-devel] qemu dsound and crash
Date: Wed, 31 May 2006 13:21:16 +0900

ZIGLIO, Frediano wrote:

>I analyzed the dsound problem (using Windows dsound audio driver cause
>crash when closing console window cf "Qemu impressions"). The problem is
>very complicated. Is seems that for some reasons dsound dll is unloaded
>before msvcrt (which hold atexit and exit function) so dsound free
>memory then msvcrt calls at exit callbacks which try to access freed
>structure... The problem occur on Windows XP and I got error using Qemu
>downloaded at http://www.h7.dion.ne.jp/~qemu-win/ and compiling 0.8.1
>from sources. dsound.dll is loaded calling CoCreateInstance in
>audio/dsoundaudio.c (line 975) however is very strange this dll free
>cause even dsound.dll depends on msvcrt.dll. Perhaps a workaround can be
>to call SetConsoleCtrlHandler on main and calling exit by our own... I
>noted that for some reason qemu.exe seems to load msvcrt.dll two
>times...

Thanks for your info. I wondered what caused the problem. It seems that
optimization also have effect on the problem.

Regards,
Kazu





reply via email to

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