qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] QEMU 0.10.0 crash on Win32
@ 2009-03-05 22:16 Robert Riebisch
  2009-03-06  7:19 ` Teemu Nätkinniemi
  0 siblings, 1 reply; 8+ messages in thread
From: Robert Riebisch @ 2009-03-05 22:16 UTC (permalink / raw)
  To: qemu-devel

Hi!

Firstly, thanks to all contributors for the new release! :-)

While QEMU 0.10.0 built using MinGW GCC 3.4.5 runs fine with KQEMU
enabled, a build made with GCC 4.3.0 (alpha) crashes on Win32, when
booting Avira's Rescue System ISO.

***
Program received signal SIGSEGV, Segmentation fault.
kqemu_cpu_exec (env=0x3d9e2ff8)
    at C:/msys/1.0/home/Robert/qemu-0.10.0/kqemu.c:475
475         asm volatile ("fxrstor %0" : "=m" (*fp));
(gdb) warning: Lowest section in C:\WINNT\system32\mfc42loc.dll is .rsrc
at 6c1d1000
***

Host CPU: Pentium M (Banias)
Host OS: Windows 2000 Pro SP4
KQEMU version: 1.4.0pre1

Any idea?

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] QEMU 0.10.0 crash on Win32
  2009-03-05 22:16 [Qemu-devel] QEMU 0.10.0 crash on Win32 Robert Riebisch
@ 2009-03-06  7:19 ` Teemu Nätkinniemi
  2009-03-06 19:58   ` Robert Riebisch
  0 siblings, 1 reply; 8+ messages in thread
From: Teemu Nätkinniemi @ 2009-03-06  7:19 UTC (permalink / raw)
  To: qemu-devel



> While QEMU 0.10.0 built using MinGW GCC 3.4.5 runs fine
> with KQEMU
> enabled, a build made with GCC 4.3.0 (alpha) crashes on
> Win32, when
> booting Avira's Rescue System ISO.
> 
> ***
> Program received signal SIGSEGV, Segmentation fault.
> kqemu_cpu_exec (env=0x3d9e2ff8)
>     at C:/msys/1.0/home/Robert/qemu-0.10.0/kqemu.c:475
> 475         asm volatile ("fxrstor %0" :
> "=m" (*fp));
> (gdb) warning: Lowest section in
> C:\WINNT\system32\mfc42loc.dll is .rsrc
> at 6c1d1000
> ***
> 
> Host CPU: Pentium M (Banias)
> Host OS: Windows 2000 Pro SP4
> KQEMU version: 1.4.0pre1
> 
> Any idea?

Could you try TDM's build of GCC 4.3.3 if it works better?

http://www.tdragon.net/recentgcc/

Teemu




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] QEMU 0.10.0 crash on Win32
  2009-03-06  7:19 ` Teemu Nätkinniemi
@ 2009-03-06 19:58   ` Robert Riebisch
  2009-03-06 20:41     ` Doug Schaefer
  2009-03-06 21:32     ` Robert Riebisch
  0 siblings, 2 replies; 8+ messages in thread
From: Robert Riebisch @ 2009-03-06 19:58 UTC (permalink / raw)
  To: qemu-devel

Teemu Nätkinniemi wrote:

> Could you try TDM's build of GCC 4.3.3 if it works better?

Same problem. :-(

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] QEMU 0.10.0 crash on Win32
  2009-03-06 19:58   ` Robert Riebisch
@ 2009-03-06 20:41     ` Doug Schaefer
  2009-03-06 20:58       ` Robert Riebisch
  2009-03-06 21:32     ` Robert Riebisch
  1 sibling, 1 reply; 8+ messages in thread
From: Doug Schaefer @ 2009-03-06 20:41 UTC (permalink / raw)
  To: qemu-devel

Robert Riebisch wrote:
> Teemu Nätkinniemi wrote:
>
>   
>> Could you try TDM's build of GCC 4.3.3 if it works better?
>>     
>
> Same problem. :-(
>
> Robert Riebisch
>   
Were you using the 1.3 or the 1.4 kqemu?

Doug

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] QEMU 0.10.0 crash on Win32
  2009-03-06 20:41     ` Doug Schaefer
@ 2009-03-06 20:58       ` Robert Riebisch
  2009-03-06 21:04         ` Doug Schaefer
  0 siblings, 1 reply; 8+ messages in thread
From: Robert Riebisch @ 2009-03-06 20:58 UTC (permalink / raw)
  To: qemu-devel

Doug Schaefer wrote:

> Were you using the 1.3 or the 1.4 kqemu?

Quoting myself: "KQEMU version: 1.4.0pre1"

Recent QEMU 0.9.1 SVN or 0.10.0 won't work with KQEMU 1.3. It will
display "Version mismatch between kqemu module and qemu" instead.

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] QEMU 0.10.0 crash on Win32
  2009-03-06 20:58       ` Robert Riebisch
@ 2009-03-06 21:04         ` Doug Schaefer
  0 siblings, 0 replies; 8+ messages in thread
From: Doug Schaefer @ 2009-03-06 21:04 UTC (permalink / raw)
  To: qemu-devel

Robert Riebisch wrote:
> Doug Schaefer wrote:
>
>   
>> Were you using the 1.3 or the 1.4 kqemu?
>>     
>
> Quoting myself: "KQEMU version: 1.4.0pre1"
>
> Recent QEMU 0.9.1 SVN or 0.10.0 won't work with KQEMU 1.3. It will
> display "Version mismatch between kqemu module and qemu" instead.
>
> Robert Riebisch
>   

Oops. Sorry. I didn't look back far enough :).

I'll give it try myself and see if I can reproduce. I'm using tdragon as 
well. I haven't had an issue with arm, but I haven't tried x86 either.

Doug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] QEMU 0.10.0 crash on Win32
  2009-03-06 19:58   ` Robert Riebisch
  2009-03-06 20:41     ` Doug Schaefer
@ 2009-03-06 21:32     ` Robert Riebisch
  2009-03-06 21:49       ` Robert Riebisch
  1 sibling, 1 reply; 8+ messages in thread
From: Robert Riebisch @ 2009-03-06 21:32 UTC (permalink / raw)
  To: qemu-devel

Robert Riebisch wrote:

>> Could you try TDM's build of GCC 4.3.3 if it works better?
> 
> Same problem. :-(

I switched back to GCC 3.4.5, but the problem was still there. Next step
was to also switch back from binutils-2.19.1-mingw32-bin.tar.gz to
binutils-2.17.50-20060824-1.tar.gz and this fixed it!

A combo of gcc-part-XXX-4.3.0-20080502-2-mingw32-alpha-bin.tar.gz +
binutils-2.17.50-20060824-1.tar.gz does *NOT* crash.

Trying binutils-2.18.50-20080109-2.tar.gz +
binutils-2.18.50-20080109-2.tar.gz: Crash!

In binutils-2.18.50.0.1/opcodes/ChangeLog I find: "Use M on fxsave and
fxrstor." I don't know, if this is the cause of the trouble.

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] QEMU 0.10.0 crash on Win32
  2009-03-06 21:32     ` Robert Riebisch
@ 2009-03-06 21:49       ` Robert Riebisch
  0 siblings, 0 replies; 8+ messages in thread
From: Robert Riebisch @ 2009-03-06 21:49 UTC (permalink / raw)
  To: qemu-devel

Robert Riebisch wrote:

> Trying binutils-2.18.50-20080109-2.tar.gz +
> binutils-2.18.50-20080109-2.tar.gz: Crash!

Command line to reproduce: qemu.exe -m 512 -cdrom
rescue_system-common-en.iso -boot d -localtime

rescue_system-common-en.iso is "Avira AntiVir Rescue System" version
20090306172230 from <http://www.avira.de/en/support/support_downloads.html>.

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-03-06 21:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05 22:16 [Qemu-devel] QEMU 0.10.0 crash on Win32 Robert Riebisch
2009-03-06  7:19 ` Teemu Nätkinniemi
2009-03-06 19:58   ` Robert Riebisch
2009-03-06 20:41     ` Doug Schaefer
2009-03-06 20:58       ` Robert Riebisch
2009-03-06 21:04         ` Doug Schaefer
2009-03-06 21:32     ` Robert Riebisch
2009-03-06 21:49       ` Robert Riebisch

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).