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



_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to