https://bugs.winehq.org/show_bug.cgi?id=39758
Bug ID: 39758 Summary: Desktop Holiday Light app crashes Product: Wine Version: 1.8-rc3 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sdoom4@gmail.com
Created attachment 53038 --> https://bugs.winehq.org/attachment.cgi?id=53038 Backtrace of program crash
This is an obscure one: My father recently switched to a Mac, and wanted his old Christmas Lights program back on his desktop. I thought Wine would run it, however we experienced a crash. Backtrace attached.
Desktop output is simply "wine: Unhandled page fault on read access to 0x00000000 at address 0x0 (thread 002e), starting debugger..." which doesn't really help.
https://bugs.winehq.org/show_bug.cgi?id=39758
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
--- Comment #1 from Austin English austinenglish@gmail.com --- Does this have a free download available? Not major.
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #2 from sdoom4@gmail.com --- (In reply to Austin English from comment #1)
Does this have a free download available? Not major.
Amazingly, I found it! here is a link: http://xmasfun.com/Downloads/LIGHTS95.exe
https://bugs.winehq.org/show_bug.cgi?id=39758
Sergey Isakov isakov-sl@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl@bk.ru
--- Comment #3 from Sergey Isakov isakov-sl@bk.ru --- Confirm ~~~ 0200: sel=1007 base=7ffc0000 limit=00000fff 32-bit rw- Backtrace: =>0 0x41b1a814 list_window_children+0xa4() in user32 (0x0033f0f0) 1 0x41b1d67d WIN_EnumChildWindows+0xdc() in user32 (0x0033f198) 2 0x41b1d555 EnumChildWindows+0x44() in user32 (0x0033f1c4) 3 0x0040f7f2 in lights95 (+0xf7f1) (0x41ab9000) 0x41b1a814 list_window_children+0xa4 in user32: Modules: Module Address Debug info Name (230 modules) PE 400000- 49c000 Export lights95 ~~~
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #4 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 53041 --> https://bugs.winehq.org/attachment.cgi?id=53041 patch
Does the attached patch help?
https://bugs.winehq.org/show_bug.cgi?id=39758
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch URL| |http://xmasfun.com/Download | |s/LIGHTS95.exe CC| |austinenglish@gmail.com
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to sdoom4 from comment #2)
(In reply to Austin English from comment #1)
Does this have a free download available? Not major.
Amazingly, I found it! here is a link: http://xmasfun.com/Downloads/LIGHTS95.exe
FWIW, works for me on in wine-1.8-rc3-23-g7c4c93a without Dmitry's patch.
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #6 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Austin English from comment #5)
Amazingly, I found it! here is a link: http://xmasfun.com/Downloads/LIGHTS95.exe
FWIW, works for me on in wine-1.8-rc3-23-g7c4c93a without Dmitry's patch.
It works here under Linux as well, but the behaviour probably depends on the compiler used.
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #7 from Austin English austinenglish@gmail.com --- (In reply to Dmitry Timoshkov from comment #6)
(In reply to Austin English from comment #5)
Amazingly, I found it! here is a link: http://xmasfun.com/Downloads/LIGHTS95.exe
FWIW, works for me on in wine-1.8-rc3-23-g7c4c93a without Dmitry's patch.
It works here under Linux as well, but the behaviour probably depends on the compiler used.
Makes sense, thanks.
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #8 from Sergey Isakov isakov-sl@bk.ru --- (In reply to Dmitry Timoshkov from comment #4)
Created attachment 53041 [details] patch
Does the attached patch help?
Yes, move forward.
https://bugs.winehq.org/show_bug.cgi?id=39758
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #9 from super_man@post.com --- (In reply to Austin English from comment #5)
(In reply to sdoom4 from comment #2)
(In reply to Austin English from comment #1)
Does this have a free download available? Not major.
Amazingly, I found it! here is a link: http://xmasfun.com/Downloads/LIGHTS95.exe
FWIW, works for me on in wine-1.8-rc3-23-g7c4c93a without Dmitry's patch.
I tried this too and it worked here too without a patch. I wasnt able to trigger a crash.
gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 wine-1.8-rc3-23-g7c4c93a
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #10 from Sergey Isakov isakov-sl@bk.ru --- It seems to be MacOSX specific? Me and the bug starter tested on Mac.
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #11 from Austin English austinenglish@gmail.com --- (In reply to Sergey Isakov from comment #10)
It seems to be MacOSX specific? Me and the bug starter tested on Mac.
Maybe, or perhaps LLVM/Clang related. If someone could test with LLVM/Clang on Linux that would narrow it down, but given that Dmitry already sent a fix I don't know that it's needed :)
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #12 from sdoom4@gmail.com --- (In reply to Sergey Isakov from comment #10)
It seems to be MacOSX specific? Me and the bug starter tested on Mac.
Correct - It works on Linux, although the lights aren't persistent even with anti-flicker on (possibly a desktop compositor problem? not sure if a bug or not, but it's not expected behavior).
I will test the patch today and report my results.
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #13 from sdoom4@gmail.com --- Alright, the patch enables the program to run, although no lights are visible at the top of the screen (Screensaver mode in the application is the only time they appear).
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #14 from Sergey Isakov isakov-sl@bk.ru --- (In reply to Austin English from comment #11)
(In reply to Sergey Isakov from comment #10)
It seems to be MacOSX specific? Me and the bug starter tested on Mac.
Maybe, or perhaps LLVM/Clang related. If someone could test with LLVM/Clang on Linux that would narrow it down, but given that Dmitry already sent a fix I don't know that it's needed :)
No, I tested on OSX compiled by gcc-4.8.3.
(In reply to sdoom4 from comment #13)
Alright, the patch enables the program to run, although no lights are visible at the top of the screen (Screensaver mode in the application is the only time they appear).
This is what I mean "move forward"! I see menu but then nothing happens. No crash, no game.
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #15 from Sergey Isakov isakov-sl@bk.ru --- Log ~~~ fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet ~~~
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #16 from Sergey Isakov isakov-sl@bk.ru ---
No, I tested on OSX compiled by gcc-4.8.3.
* with wine compiled by gcc-4.8.3
Exactly the same crash.
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #17 from Sergey Isakov isakov-sl@bk.ru --- (In reply to Sergey Isakov from comment #16)
No, I tested on OSX compiled by gcc-4.8.3.
- with wine compiled by gcc-4.8.3
Exactly the same crash.
Oops, recheck needed!
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #18 from Sergey Isakov isakov-sl@bk.ru --- Yes, you are right! I found two wine compilations with clang and with gcc-4.8. Same versions. Wine-gcc works, wine-clang crashes.
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #19 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 53047 --> https://bugs.winehq.org/attachment.cgi?id=53047 simpler patch
Does this version of the patch also work?
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #20 from Sergey Isakov isakov-sl@bk.ru --- (In reply to Dmitry Timoshkov from comment #19)
Created attachment 53047 [details] simpler patch
Does this version of the patch also work?
Yes, also works.
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #21 from Sergey Isakov isakov-sl@bk.ru --- Strange, why log beginning with ~~~~ wine: Unhandled page fault on write access to 0x00549000 at address 0x7bc45bc6 (thread 0028), starting debugger... fixme:ntoskrnl:IoCreateSynchronizationEvent (0x53f3a0 0x53f3ac) stub fixme:ntoskrnl:IoAllocateErrorLogEntry stub: 0x404a749c, 48 fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet fixme:win:LockWindowUpdate (0x10020), partial stub! fixme:win:LockWindowUpdate (0x0), partial stub! err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet ~~~ the game works.
https://bugs.winehq.org/show_bug.cgi?id=39758
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #22 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Sergey Isakov from comment #21)
Strange, why log beginning with
wine: Unhandled page fault on write access to 0x00549000 at address 0x7bc45bc6 (thread 0028), starting debugger... fixme:ntoskrnl:IoCreateSynchronizationEvent (0x53f3a0 0x53f3ac) stub fixme:ntoskrnl:IoAllocateErrorLogEntry stub: 0x404a749c, 48
Looks like you have something else installed in that prefix.
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #23 from Sergey Isakov isakov-sl@bk.ru --- (In reply to Dmitry Timoshkov from comment #22)
(In reply to Sergey Isakov from comment #21)
Strange, why log beginning with
wine: Unhandled page fault on write access to 0x00549000 at address 0x7bc45bc6 (thread 0028), starting debugger... fixme:ntoskrnl:IoCreateSynchronizationEvent (0x53f3a0 0x53f3ac) stub fixme:ntoskrnl:IoAllocateErrorLogEntry stub: 0x404a749c, 48
Looks like you have something else installed in that prefix.
3DMark05, Unigine Heaven, Cinebench, Severance Demo, Chessmaster Demo .....
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #24 from Austin English austinenglish@gmail.com --- (In reply to Sergey Isakov from comment #23)
(In reply to Dmitry Timoshkov from comment #22)
(In reply to Sergey Isakov from comment #21)
Strange, why log beginning with
wine: Unhandled page fault on write access to 0x00549000 at address 0x7bc45bc6 (thread 0028), starting debugger... fixme:ntoskrnl:IoCreateSynchronizationEvent (0x53f3a0 0x53f3ac) stub fixme:ntoskrnl:IoAllocateErrorLogEntry stub: 0x404a749c, 48
Looks like you have something else installed in that prefix.
3DMark05, Unigine Heaven, Cinebench, Severance Demo, Chessmaster Demo .....
When testing a patch or bug you should be using a clean WINEPREFIX.
https://bugs.winehq.org/show_bug.cgi?id=39758
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b08c400fe2924bf7137e350c367 | |3b11d3a6378c2 Status|NEW |RESOLVED CC| |infyquest@gmail.com Resolution|--- |FIXED
--- Comment #25 from Vijay Kamuju infyquest@gmail.com --- Marking this as fixed the patch made to current git Fixed by b08c400fe2924bf7137e350c3673b11d3a6378c2
If the issue is still present, please reopen this bug
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #26 from sdoom4@gmail.com --- (In reply to Vijay Kamuju from comment #25)
Marking this as fixed the patch made to current git Fixed by b08c400fe2924bf7137e350c3673b11d3a6378c2
If the issue is still present, please reopen this bug
Thanks, I'll test the new patch in the morning (Central Time USA)
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #27 from sdoom4@gmail.com --- (In reply to Vijay Kamuju from comment #25)
Marking this as fixed the patch made to current git Fixed by b08c400fe2924bf7137e350c3673b11d3a6378c2
If the issue is still present, please reopen this bug
Program starts, but lights still don't show. They do show when in X11 mode and virtual desktop activated! They won't show up with the winemac driver. Is that worthy of another bug report?
https://bugs.winehq.org/show_bug.cgi?id=39758
--- Comment #28 from Austin English austinenglish@gmail.com --- (In reply to sdoom4 from comment #27)
(In reply to Vijay Kamuju from comment #25)
Marking this as fixed the patch made to current git Fixed by b08c400fe2924bf7137e350c3673b11d3a6378c2
If the issue is still present, please reopen this bug
Program starts, but lights still don't show. They do show when in X11 mode and virtual desktop activated! They won't show up with the winemac driver. Is that worthy of another bug report?
Yes, please.
https://bugs.winehq.org/show_bug.cgi?id=39758
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #29 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.8-rc4.
https://bugs.winehq.org/show_bug.cgi?id=39758
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |user32