qemu-system-x86_64 0.12.2 crashes with -m 967 under Windows

Bug #538808 reported by Ken Sharp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Invalid
Undecided
Stefan Weil

Bug Description

qemu 0.12.2 and 0.12.3 exit silently under Windows XP when using an -m value higher than 967. Any value below 967 works fine. Affects both qemu.exe and qemu-system-x86_64.exe (the only binaries currently available).
qemu 0.12.3 under Linux (Ubuntu 8.10) works fine.
Version 0.9.0 for Windows does not have this problem. I do not have any other binaries to test.

Command used:
qemu-system-x86_64 -L . -m 967 -hda linux.img -localtime -M pc

There is plenty of available RAM on the host PC (see attached systeminfo).
Not sure what debugging options to use, but will attach whatever is necessary.

Revision history for this message
Ken Sharp (kennybobs) wrote :
Changed in qemu:
assignee: nobody → Stefan Weil (ubuntu-weilnetz)
Revision history for this message
Ken Sharp (kennybobs) wrote :

Under 1.0.1 a pop-up window reports a Vis C++ runtime error, the result is the same. -m 966 works fine.

Revision history for this message
Thomas Huth (th-huth) wrote :

Can you still reproduce this problem with the latest version of QEMU?

Changed in qemu:
status: New → Incomplete
Revision history for this message
Stefan Weil (ubuntu-weilnetz) wrote :

I think that QEMU did not crash, but simply was not able to allocate the block of memory which was requested. This is an inherent problem of the fragmented memory of 32 bit applications on Windows.

QEMU reports problems with memory allocation, but QEMU for Windows tries to send those messages to stderr which is redirected to a file when QEMU was built with SDL2.

So no crash and silently by design.

64 bit versions don't have that problem, nor do my pre-built 32 bit binaries which include a patch to use upper memory. And in my latest binaries I dropped SDL support.

I close this issue - please re-open if you think this was wrong.

Changed in qemu:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.