QEMU 0.10.0 crash on Win32
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
Signature · 2 lines
BTTR Software http://www.bttr-software.de/
Quoted 19 lines
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:475475 asm volatile ("fxrstor %0" :
"=m" (*fp));
(gdb) warning: Lowest section in
C:\WINNT\system32\mfc42loc.dll is .rsrc
at6c1d1000
***
Quoted 5 lines
Host CPU: Pentium M (Banias)
Host OS: Windows 2000 Pro SP4
KQEMU version: 1.4.0pre1Any idea?
Could you try TDM's build of GCC 4.3.3 if it works better?
http://www.tdragon.net/recentgcc/
Teemu
Quoted 1 line · Teemu Nätkinniemi
Could you try TDM's build of GCC 4.3.3 if it works better?
Same problem. :-(
Robert Riebisch
Signature · 2 lines
BTTR Software http://www.bttr-software.de/
Quoted 10 lines · Robert Riebisch
Quoted 2 lines · Teemu Nätkinniemi
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
Quoted 1 line · Doug Schaefer
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
Signature · 2 lines
BTTR Software http://www.bttr-software.de/
Quoted 6 lines · Robert Riebisch
Quoted 2 lines · Doug Schaefer
Were you using the 1.3 or the 1.4 kqemu?
Quoted 7 lines
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.
Quoted 3 lines · Robert Riebisch
Quoted 1 line
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
Signature · 2 lines
BTTR Software http://www.bttr-software.de/
Quoted 2 lines · Robert Riebisch
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
Signature · 2 lines
BTTR Software http://www.bttr-software.de/