From: "Kazu" <kazoo@r3.dion.ne.jp>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu dsound and crash
Date: Wed, 31 May 2006 13:21:16 +0900 [thread overview]
Message-ID: <000901c68469$a8e12e00$0464a8c0@athlon> (raw)
In-Reply-To: F7F148C986A2A84F930FEB8C3B169EA0029211B4@OPDMEXO01.omnitel.it
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
next prev parent reply other threads:[~2006-05-31 4:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-30 12:44 [Qemu-devel] qemu dsound and crash ZIGLIO, Frediano, VF-IT
2006-05-31 4:21 ` Kazu [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-05-31 8:28 ZIGLIO, Frediano, VF-IT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000901c68469$a8e12e00$0464a8c0@athlon' \
--to=kazoo@r3.dion.ne.jp \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).