Initial monitor does not output anything on Windows (MSYS2 binary)

Bug #1528718 reported by ECC_OK
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

When running on Windows error messages before the UI is started are not showing up.

For example when I run:

qemu-system-i386.exe -L /mingw32/etc/qemu/ -m 20G

It should display "ram size too large", according to gdb:

Breakpoint 1, error_report (fmt=fmt@entry=0x71bdf6 <dma_aiocb_info+2426> "ram size too large") at C:/build/mingw/mingw-w64-qemu/src/qemu-2.4.0/util/qemu-error.c:233

However the console does never receive that.

As far as I could find out vfprintf is called, but it doesn't output anything.

Maybe the binary is build for the "win32" subsystem which does not have a console window attached by default?

description: updated
Revision history for this message
Dravion Smith (dravion-smith) wrote :

This affects both binary editions (for instance "qemu-system-i386.exe" AND "qemu-system-i386w.exe")

dumpbin /all "C:\Program Files\qemu\qemu-system-i386.exe"|more
Dump of file C:\Program Files\qemu\qemu-system-i386.exe
PE signature found
File Type: EXECUTABLE IMAGE
FILE HEADER VALUES
8664 machine (x64)

Revision history for this message
Dravion Smith (dravion-smith) wrote :

This affects both binary editions (for instance "qemu-system-i386.exe" AND "qemu-system-i386w.exe")

dumpbin /all "C:\Program Files\qemu\qemu-system-i386.exe"|more
Dump of file C:\Program Files\qemu\qemu-system-i386.exe
PE signature found
File Type: EXECUTABLE IMAGE
4.00 operating system version
5.02 subsystem version: Win32

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

Looking through old bug tickets... can you still reproduce this issue with the latest version of QEMU? Or could we close this ticket nowadays?

Changed in qemu:
status: New → Incomplete
Revision history for this message
ECC_OK (prometheus-unterderbruecke) wrote :

I just retested, it is fixed in the latest version on MSYS2.

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

Other bug subscribers

Remote bug watches

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