http://bugs.winehq.org/show_bug.cgi?id=10349
Summary: Yukon Trail installer crashes at the end Product: Wine Version: 0.9.48. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: minor Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: echidnaman@gmail.com
Created an attachment (id=9017) --> (http://bugs.winehq.org/attachment.cgi?id=9017) Crash Log
After the Yukon Trail's installer is done installing, it crashes, taking the file browser it spawns with it.
To reproduce: -Run installer -Complete installation
http://bugs.winehq.org/show_bug.cgi?id=10349
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer
--- Comment #1 from Lei Zhang thestig@google.com 2007-11-07 19:34:30 --- Again, please run your program with a copy of Wine that has debugging symbols and attach the output.
http://bugs.winehq.org/show_bug.cgi?id=10349
--- Comment #2 from Jonathan echidnaman@gmail.com 2007-11-08 09:53:42 --- Created an attachment (id=9032) --> (http://bugs.winehq.org/attachment.cgi?id=9032) Better(?) crash log
Hopefully this crash log is better.
http://bugs.winehq.org/show_bug.cgi?id=10349
Jonathan echidnaman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|other |Linux Platform|Other |PC
http://bugs.winehq.org/show_bug.cgi?id=10349
--- Comment #3 from Austin English austinenglish@gmail.com 2008-06-16 16:06:27 --- Is this still an issue in current (1.0-rc5 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=10349
--- Comment #4 from Jonathan echidnaman@gmail.com 2008-06-19 15:56:52 --- Still an issue with 1.0.0
http://bugs.winehq.org/show_bug.cgi?id=10349
--- Comment #5 from Austin English austinenglish@gmail.com 2008-12-19 15:59:13 --- Is this still an issue in current (1.1.10 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=10349
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #6 from Austin English austinenglish@gmail.com 2009-06-30 11:46:02 --- Abandoned. If you still have a problem in current (1.1.24 or newer) wine, and can provide the needed information, feel free to reopen.
http://bugs.winehq.org/show_bug.cgi?id=10349
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Austin English austinenglish@gmail.com 2009-06-30 13:01:28 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=10349
--- Comment #8 from Luke gaming4jc2@yahoo.com 2011-02-09 09:45:37 CST --- Created an attachment (id=33206) --> (http://bugs.winehq.org/attachment.cgi?id=33206) wine: Unhandled page fault on read access to 0xffffffff at address 0x128f:0x000022d0 (thread 0023), starting debugger...
This problem does still occur, on latest 1.3.13. It's fairly problematic since the debugger also hangs, attached is a log of regular terminal output followed by "wine winedbg setup.exe". Wine remains in memory looping a rr:ntdll:RtlpWaitForCriticalSection continually.
http://bugs.winehq.org/show_bug.cgi?id=10349
Luke gaming4jc2@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gaming4jc2@yahoo.com
--- Comment #9 from Luke gaming4jc2@yahoo.com 2011-02-09 09:46:42 CST --- (In reply to comment #6)
Abandoned. If you still have a problem in current (1.1.24 or newer) wine, and can provide the needed information, feel free to reopen.
Please re-open. :)
http://bugs.winehq.org/show_bug.cgi?id=10349
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|ABANDONED |
--- Comment #10 from Juan Lang juan_lang@yahoo.com 2011-02-09 10:44:11 CST --- Right, reopening per comment 8.
http://bugs.winehq.org/show_bug.cgi?id=10349
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #11 from Juan Lang juan_lang@yahoo.com 2011-02-09 10:44:29 CST --- Likewise confirming, also per comment 8.
http://bugs.winehq.org/show_bug.cgi?id=10349
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |win16
http://bugs.winehq.org/show_bug.cgi?id=10349
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #12 from Austin English austinenglish@gmail.com 2012-03-29 16:16:02 CDT --- Found a copy, still present in wine-1.5.0-204-ga179b50.
There's a second bug, if you choose to install the game's truetype font, it won't install at all. That deserves a second bug though.
http://bugs.winehq.org/show_bug.cgi?id=10349
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #9017|0 |1 is obsolete| | Attachment #9032|0 |1 is obsolete| | Attachment #33206|0 |1 is obsolete| |
--- Comment #13 from Austin English austinenglish@gmail.com 2012-03-29 16:16:18 CDT --- Created attachment 39607 --> http://bugs.winehq.org/attachment.cgi?id=39607 current output/backtrace
http://bugs.winehq.org/show_bug.cgi?id=10349
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #39607|0 |1 is obsolete| |
--- Comment #14 from Austin English austinenglish@gmail.com 2013-04-29 21:25:50 CDT --- Created attachment 44336 --> http://bugs.winehq.org/attachment.cgi?id=44336 backtrace
Still in wine-1.5.29-20-g074d89a
http://bugs.winehq.org/show_bug.cgi?id=10349
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |33492
https://bugs.winehq.org/show_bug.cgi?id=10349
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #44336|0 |1 is obsolete| |
--- Comment #15 from Austin English austinenglish@gmail.com --- Created attachment 50776 --> https://bugs.winehq.org/attachment.cgi?id=50776 terminal output/backtrace
Still in 1.7.36.
http://bugs.winehq.org/show_bug.cgi?id=10349
--- Comment #16 from Janne janne.kekkonen@gmail.com --- Created attachment 79088 --> http://bugs.winehq.org/attachment.cgi?id=79088 yukon trail installer backtrace
Tested with Wine 10.12 on Ubuntu 22.04 running on VMware.
Created fresh 32bit prefix.
Installer asked name for icon to be added into Program Manager. When name was given and OK was pressed installer crashed.
backtrace attached.
http://bugs.winehq.org/show_bug.cgi?id=10349
--- Comment #17 from Janne janne.kekkonen@gmail.com --- Created attachment 79176 --> http://bugs.winehq.org/attachment.cgi?id=79176 yukon error message
I modified yukoncd.inf and commented out procedure DDENonFatalErrorTrap.
During setup, after group name is selected, there is error message: ddeiniate failed.
Attached screenshot of error message.
http://bugs.winehq.org/show_bug.cgi?id=10349
Janne janne.kekkonen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |janne.kekkonen@gmail.com
--- Comment #18 from Janne janne.kekkonen@gmail.com --- Commented out lines 262-274 from yukoncd.inf. Lines can be seen on attachment 79176.
With above modification and not installing true type font during installation, there is no crash.
http://bugs.winehq.org/show_bug.cgi?id=10349
Janne janne.kekkonen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|janne.kekkonen@gmail.com |
http://bugs.winehq.org/show_bug.cgi?id=10349
Janne janne.kekkonen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |janne.kekkonen@gmail.com
--- Comment #19 from Janne janne.kekkonen@gmail.com --- Setup.exe extracts another executable to directory: <wine prefix>/drive_c/users/<username>/AppData/Local/Temp. Extracted executable filename is something like: ~tm57e5.exe This executable seems to be: INSTALIT for Windows version 5.01w.
I copied instalit app to another directory and created tiny inf file. This inf tries to open progman and create group. Running instalit with modified inf file, fails with same error code as inf file in yukon trail setup.
Failure seems to happen in function DDEWNDPROC when WM_DDE_ACK is received. GlobalGetAtonNameA fails to get string associated to atom. To me it seems that in this situation BP register value is incorrect leading to atom value being zero.
WINEDEBUG+=relay log shows that atom is zero.
00f8:Call KERNEL32.GlobalGetAtomNameA(00000000,00b4d4ea,00000010) ret=77a1c7a2 00f8:Ret KERNEL32.GlobalGetAtomNameA() retval=00000000 ret=77a1c7a2
00f8:Call KERNEL32.GlobalGetAtomNameA(00000000,00b4d4ea,00000010) ret=77a1c7a2 00f8:Ret KERNEL32.GlobalGetAtomNameA() retval=00000000 ret=77a1c7a2
http://bugs.winehq.org/show_bug.cgi?id=10349
Janne janne.kekkonen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|janne.kekkonen@gmail.com |
http://bugs.winehq.org/show_bug.cgi?id=10349
--- Comment #20 from Janne janne.kekkonen@gmail.com --- Created attachment 79456 --> http://bugs.winehq.org/attachment.cgi?id=79456 dde communication example app
Created 16bit windows application which does pretty much the same thing as the yukon installer. First it creates atom(s) for application & topic. Since both are: PROGMAN only one atom is created. Progman is started from button PM_Start. When PROGMAN is running WM_DDE_INITIATE message can be broadcasted with button DDE_Init.
When WM_DDE_ACT message received and is being handled. Atoms are extracted from lparam and stings related to atoms are retrieved with GlobalGetAtomName.
In Windows2000 this seems to be working. Atoms are the same which were created and GlobalGetAtomName returns 7, which matches to lenght of PROGMAN.
In Wine10.16, atoms seem to be zero, which leads to failing of GlobalGetAtomName calls.
http://bugs.winehq.org/show_bug.cgi?id=10349
--- Comment #21 from Janne janne.kekkonen@gmail.com --- Created attachment 79457 --> http://bugs.winehq.org/attachment.cgi?id=79457 dde_test on win2k and wine
screenshot of application running on win2k and wine 10.16
http://bugs.winehq.org/show_bug.cgi?id=10349
--- Comment #22 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 79458 --> http://bugs.winehq.org/attachment.cgi?id=79458 patch
Many thanks for the test case!
According to https://learn.microsoft.com/en-us/windows/win32/dataxchg/wm-dde-ack WM_DDE_INITIATE message should be handled differently from what currently Wine implements. Does the attached patch help?
http://bugs.winehq.org/show_bug.cgi?id=10349
--- Comment #23 from Janne janne.kekkonen@gmail.com --- Created attachment 79461 --> http://bugs.winehq.org/attachment.cgi?id=79461 dde_test after patch
Hello, tested patch on wine10.15
Seems that atom for topic is still zero.
http://bugs.winehq.org/show_bug.cgi?id=10349
--- Comment #24 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 79462 --> http://bugs.winehq.org/attachment.cgi?id=79462 patch v2
(In reply to Janne from comment #23)
Created attachment 79461 [details] dde_test after patch
Hello, tested patch on wine10.15
Seems that atom for topic is still zero.
Thanks for the testing. This looks like another problem, I've added a fix for it in a new patch set.
http://bugs.winehq.org/show_bug.cgi?id=10349
--- Comment #25 from Janne janne.kekkonen@gmail.com --- Created attachment 79468 --> http://bugs.winehq.org/attachment.cgi?id=79468 dde_test after second patch
Applied second patch.
Now my test application gets both atoms & strings associated to them.
I also tested to install Yukon Trail. Now installer do not crash when DDE communication is initialized.
There is one place where installer crashes. According to installer. Yukon Trail uses its own true type font but Yukon Trail works without that font so installing is optional.
If font is installed this will lead to crash. If true type is not installed then installer exits normally.
I can try to figure out what happens during true type font installation.
http://bugs.winehq.org/show_bug.cgi?id=10349
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Yukon Trail installer |Yukon Trail installer |crashes at the end |crashes at the end during | |DDE communication with | |Progman
--- Comment #26 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Janne from comment #25)
Created attachment 79468 [details] dde_test after second patch
Applied second patch.
Now my test application gets both atoms & strings associated to them.
I also tested to install Yukon Trail. Now installer do not crash when DDE communication is initialized.
Great!
There is one place where installer crashes. According to installer. Yukon Trail uses its own true type font but Yukon Trail works without that font so installing is optional.
If font is installed this will lead to crash. If true type is not installed then installer exits normally.
I can try to figure out what happens during true type font installation.
Probably new bug deserves a separate bug report.
http://bugs.winehq.org/show_bug.cgi?id=10349
Janne janne.kekkonen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |janne.kekkonen@gmail.com
--- Comment #27 from Janne janne.kekkonen@gmail.com ---
(In reply to Dmitry Timoshkov from comment #26)
(In reply to Janne from comment #25)
Created attachment 79468 [details] dde_test after second patch
Applied second patch.
Now my test application gets both atoms & strings associated to them.
I also tested to install Yukon Trail. Now installer do not crash when DDE communication is initialized.
Great!
There is one place where installer crashes. According to installer. Yukon Trail uses its own true type font but Yukon Trail works without that font so installing is optional.
If font is installed this will lead to crash. If true type is not installed then installer exits normally.
I can try to figure out what happens during true type font installation.
Probably new bug deserves a separate bug report.
Just remembered that issue with installing true type font has been reported in bug-33492. This bug report has also solution to remove the issue.
http://bugs.winehq.org/show_bug.cgi?id=10349
--- Comment #28 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Janne from comment #27)
There is one place where installer crashes. According to installer. Yukon Trail uses its own true type font but Yukon Trail works without that font so installing is optional.
If font is installed this will lead to crash. If true type is not installed then installer exits normally.
I can try to figure out what happens during true type font installation.
Probably new bug deserves a separate bug report.
Just remembered that issue with installing true type font has been reported in bug-33492. This bug report has also solution to remove the issue.
I've attached an alternative version of the patch to that bug report.
http://bugs.winehq.org/show_bug.cgi?id=10349 Bug 10349 depends on bug 33492, which changed state.
Bug 33492 Summary: Yukon Trail installer fails to install its font http://bugs.winehq.org/show_bug.cgi?id=33492
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
http://bugs.winehq.org/show_bug.cgi?id=10349
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |a7705e118cd42b85775189d5c23 | |ff74703a69b50
--- Comment #29 from Dmitry Timoshkov dmitry@baikal.ru --- This should be fixed by a7705e118cd42b85775189d5c23ff74703a69b50.
http://bugs.winehq.org/show_bug.cgi?id=10349
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #30 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.18.