https://bugs.winehq.org/show_bug.cgi?id=42789
Bug ID: 42789 Summary: Qemu 2.9.0-rc3 crashes before displaying anything Product: Wine Version: 2.5 Hardware: x86-64 URL: https://qemu.weilnetz.de/w32/qemu-w32-setup-20170405.e xe OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: 00cpxxx@gmail.com Distribution: ---
Created attachment 57816 --> https://bugs.winehq.org/attachment.cgi?id=57816 log + backtrace
To reproduce just install qemu and run qemu-system-i386 with no additional parameters. Backtrace seems pretty clean on where the problem is.
File Info: 666798c903472b4cb44b37544d5764cf2acb6c0f qemu-w32-setup-20170405.exe 37Mb
https://bugs.winehq.org/show_bug.cgi?id=42789
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #1 from winetest@luukku.com --- I got my download from here.
https://qemu.weilnetz.de/w32/2017/
The (2.9.0) version and it crashes similar way. Wine-staging crash is diffrent looking, it points to user32.
This bug could be related to this staging patch.
https://github.com/wine-compholio/wine-staging/blob/master/patches/user32-PN...
It's for bug 38959
wine 2.8 and staging 2.7.
https://bugs.winehq.org/show_bug.cgi?id=42789
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #2 from Bernhard Übelacker bernhardu@mailbox.org --- Created attachment 60063 --> https://bugs.winehq.org/attachment.cgi?id=60063 Avoid crash in CURSORICON_GetFileEntry by accessing memory beyond mapped file.
Mapped file has just a size of 69120 bytes. Unfortunately in function CURSORICON_GetFileEntry entry->dwDIBOffset contains 1638397.
info = (const BITMAPINFOHEADER *)((const char *)dir + entry->dwDIBOffset);
That way the info variable points to memory outside of the mapped file while qemu manages to have that memory not available.
https://bugs.winehq.org/show_bug.cgi?id=42789
--- Comment #3 from Bernhard Übelacker bernhardu@mailbox.org --- Patch got committed: https://source.winehq.org/git/wine.git/commit/9256017adf1b32564d96a745d2ba79...
https://bugs.winehq.org/show_bug.cgi?id=42789
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=42789
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://qemu.weilnetz.de/w3 |https://qemu.weilnetz.de/w3 |2/qemu-w32-setup-20170405.e |2/2017/qemu-w32-setup-20170 |xe |405.exe
https://bugs.winehq.org/show_bug.cgi?id=42789
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Component|-unknown |user32 Fixed by SHA1| |9256017adf1b32564d96a745d2b | |a79c09f0cb02a Status|NEW |RESOLVED
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Hi, Bernhard.
I can confirm this is fixed now, thank you.
https://bugs.winehq.org/show_bug.cgi?id=42789
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.2.
https://bugs.winehq.org/show_bug.cgi?id=42789
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=42789
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #6 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bugs included in 3.0.1.