https://bugs.winehq.org/show_bug.cgi?id=49789
Bug ID: 49789 Summary: Tina 11 Demo does not start properly in a 64-bit Slackware Linux. In32-bit it is OK. Product: Wine Version: 5.10 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: brodo@o2.pl Distribution: ---
Tina 11 Demo does not start properly in a 64-bit Slackware Linux. In 32-bit it is OK, as always.
I bisect-ed Wine between 5.10 and 5.9.
bash-5.0$ git bisect bad e5c6a7beb302b37caef800e17b42bc4c49708a93 is the first bad commit commit e5c6a7beb302b37caef800e17b42bc4c49708a93 Author: Nikolay Sivov nsivov@codeweavers.com Date: Tue May 26 11:16:08 2020 +0300
dwrite: Update glyph properties on single substitution.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/dwrite/opentype.c | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) bash-5.0$
https://bugs.winehq.org/show_bug.cgi?id=49789
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |dwrite Keywords| |download, regression CC| |bunglehead@gmail.com Distribution|--- |Slackware Regression SHA1| |e5c6a7beb302b37caef800e17b4 | |2bc4c49708a93 URL| |http://demo.designsoft.biz/ | |tina/Tina110en.exe
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- I tried with application version:
Version 11.2.30.184 DT-DS (x86)
Installer:
4f65e543d5bce045544d1964bbc77b0f6830ada2 Tina110en.exe
I does not load dwrite.dll at all.
How do I reproduce? Do you see dwrite traces if you run with WINEDEBUG=+dwrite?
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #2 from OlekA brodo@o2.pl --- I tested Tina 11 Demo which has just been previously installed.
So I'm running the main program:
./wine "C:\Program Files (x86)/DesignSoft/Tina 11 - Demo/tina.exe"
at every bisect stage.
This is what I get when invoking (at wine 5.10 installed): WINEDEBUG=+dwrite wine "C:\Program Files (x86)/DesignSoft/Tina 11 - Demo/tina.exe":
bash-5.0$ WINEDEBUG=+dwrite wine "C:\Program Files (x86)/DesignSoft/Tina 11 - Demo/tina.exe" preloader: Warning: failed to reserve range 00010000-00110000 preloader: Warning: failed to reserve range 00010000-00110000 preloader: Warning: failed to reserve range 00010000-00110000 0024:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) preloader: Warning: failed to reserve range 00010000-00110000 0040:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002 0040:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002 0040:err:ole:get_local_server_stream Failed: 80004002 0024:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot 0024:fixme:thread:GetThreadUILanguage : stub, returning default language. 0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0x476d0b4, (nil) 0x476d0dc 0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0x476d0b4 (nil) 0x476d0dc) returning a dummy value (current locale) 0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0x476d0b4, 0x1d08a8d0 0x476d0dc 0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0x476d0b4 0x1d08a8d0 0x476d0dc) returning a dummy value (current locale) 0024:fixme:thread:GetThreadUILanguage : stub, returning default language. 0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0x476d724, (nil) 0x476d74c 0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0x476d724 (nil) 0x476d74c) returning a dummy value (current locale) 0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0x476d724, 0x1f7ea680 0x476d74c 0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0x476d724 0x1f7ea680 0x476d74c) returning a dummy value (current locale) 0024:fixme:wtsapi:WTSRegisterSessionNotification Stub 00010076 0x00000000 0024:fixme:uxtheme:BufferedPaintInit Stub () 0024:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002 0024:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002 0024:err:ole:get_local_server_stream Failed: 80004002 wine: Unhandled page fault on read access to FFFFFFFF at address 1F65066D (thread 0024), starting debugger... 0024:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 32 404" (2) Read the Wine Developers Guide on how to set up winedbg or another debugger 0024:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 00010076 0024:fixme:uxtheme:BufferedPaintUnInit Stub () bash-5.0$
https://bugs.winehq.org/show_bug.cgi?id=49789
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #3 from joaopa jeremielapuree@yahoo.fr --- Created attachment 68105 --> https://bugs.winehq.org/attachment.cgi?id=68105 console output with dwrite channel enabled
Works fine for me with wine-5.16 and ubuntu 20.20. dwrite does not involve in this software.
Or you should explain how to reproduce the bug.
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #4 from OlekA brodo@o2.pl --- Reproducing involves these steps (in 64-bit Linux):
1. Run Tina 11.* demo installer, 2. If the above went fine, then run the main program: tina.exe
In wine-5.10 and above I could not pass 1 or 2. In wine-5.9 all went fine. I bisected 5.10/5.9 using tina.exe installed previously under wine-5.9.
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- I'm not arguing that you have a problem running it, but as you can see from comment 2 log there is no dwrite traces at all, which means it's not used, so this bad commit couldn't make a difference.
Could you try with clean installation of Tina, using wine 5.16?
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #6 from OlekA brodo@o2.pl --- Of course, compiling wine-5.16 just started now ...
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #7 from OlekA brodo@o2.pl --- I compiled fresh wine-5.16 and installed fresh Tina Demo 11.2 without problem. But the problem appeared when I tried to run tina.exe:
bash-5.0$ WINEDEBUG=+dwrite wine "C:\Program Files/DesignSoft/Tina 11 - Demo/tina.exe" preloader: Warning: failed to reserve range 00010000-00110000 preloader: Warning: failed to reserve range 00010000-00110000 preloader: Warning: failed to reserve range 00010000-00110000 preloader: Warning: failed to reserve range 00010000-00110000 preloader: Warning: failed to reserve range 00010000-00110000 preloader: Warning: failed to reserve range 00010000-00110000 preloader: Warning: failed to reserve range 00010000-00110000 preloader: Warning: failed to reserve range 00010000-00110000 0024:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot 0024:fixme:thread:GetThreadUILanguage : stub, returning default language. 0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0476D064, 00000000 0476D08C 0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0476D064 00000000 0476D08C) returning a dummy value (current locale) 0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0476D064, 1D08A8D0 0476D08C 0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0476D064 1D08A8D0 0476D08C) returning a dummy value (current locale) 00a0:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0) 00a0:fixme:mountmgr:query_property Faking StorageDeviceProperty data 0024:fixme:thread:GetThreadUILanguage : stub, returning default language. 0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0476D6D4, 00000000 0476D6FC 0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0476D6D4 00000000 0476D6FC) returning a dummy value (current locale) 0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0476D6D4, 1F8019B0 0476D6FC 0024:fixme:nls:get_dummy_preferred_ui_language (0x38 0476D6D4 1F8019B0 0476D6FC) returning a dummy value (current locale) 0024:fixme:wtsapi:WTSRegisterSessionNotification Stub 00010076 0x00000000 0024:fixme:uxtheme:BufferedPaintInit Stub () wine: Unhandled privileged instruction at address 1F660669 (thread 0024), starting debugger... preloader: Warning: failed to reserve range 00010000-00110000 bash-5.0$ Process of pid=0020 has terminated No process loaded, cannot execute 'echo Modules:' Cannot get info on module while no process is loaded No process loaded, cannot execute 'echo Threads:' process tid prio (all id:s are in hex) 00000038 services.exe 0000003c 0 00000040 0 00000054 0 00000070 0 00000098 0 00000044 plugplay.exe 00000048 0 0000005c 0 00000060 0 00000064 0 00000080 0 0000004c explorer.exe 00000050 0 000000a8 0 000000ac 0 000000b0 0 00000068 winedevice.exe 0000006c 0 00000074 0 00000078 0 0000007c 0 00000088 0 0000008c 0 00000090 winedevice.exe 00000094 0 0000009c 0 000000a0 0 000000a4 0 winedbg: Internal crash at 0x7ef5ee6b
https://bugs.winehq.org/show_bug.cgi?id=49789
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|dwrite |-unknown Regression SHA1|e5c6a7beb302b37caef800e17b4 | |2bc4c49708a93 |
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- I suggest to run a regression test again, using clean wineprefix and reinstalling application on every bisecting step.
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #9 from OlekA brodo@o2.pl --- Created attachment 68108 --> https://bugs.winehq.org/attachment.cgi?id=68108 Script that I use compiling wine (to comply with Slackware installation scheme)
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #10 from OlekA brodo@o2.pl --- I bisected wine-5.9 and 5.10 again and as a test I was installing the Tina 11 installer only. No running the main program at this stage. The result is that:
bash-5.0$ git bisect good 8d40873d02c6613d9ccf06045d7243ddbe94aec6 is the first bad commit commit 8d40873d02c6613d9ccf06045d7243ddbe94aec6 Author: Jacek Caban jacek@codeweavers.com Date: Fri Jun 5 18:28:48 2020 +0200
mshtml: Add IHTMLCSSStyleDeclaration2::transform property implementation.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/mshtml/htmlstyle.c | 12 ++++++++---- dlls/mshtml/htmlstyle.h | 1 + dlls/mshtml/tests/style.c | 33 ++++++++++++++++++++++++++++++++- 3 files changed, 41 insertions(+), 5 deletions(-) bash-5.0$
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #11 from OlekA brodo@o2.pl --- Any further solutions/ideas to check ?
https://bugs.winehq.org/show_bug.cgi?id=49789
OlekA brodo@o2.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Tina 11 Demo does not start |Tina 11 Demo does not start |properly in a 64-bit |properly in a 64-bit |Slackware Linux. In32-bit |Slackware Linux. In 32-bit |it is OK. |it is OK.
https://bugs.winehq.org/show_bug.cgi?id=49789
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|bunglehead@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=49789
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #12 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to OlekA from comment #11)
Any further solutions/ideas to check ?
Hi Olek, I cannot reproduce it either, it starts fine here as well (on 64-bit debian) So I think your regression test not really points to a commit that broke this program, as it didn`t break it for us....
Instead of compiling wine yourself: does it work in your distro`s supplied wine package?
Note: Both installer and tina.exe are 32-bit (file tina.exe tina.exe: PE32 executable (GUI) Intel 80386, for MS Windows)
https://bugs.winehq.org/show_bug.cgi?id=49789
Alan A. grsfdhj@tiscali.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |grsfdhj@tiscali.it
--- Comment #13 from Alan A. grsfdhj@tiscali.it --- I have no problem launching it on a Slackware64-14.2 system with wine-staging-5.20 (built with mingw for proper PE support) and I see none of the ole errors reported. I used the download link posted on the present issue.
https://bugs.winehq.org/show_bug.cgi?id=49789
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #14 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to OlekA from comment #11)
Any further solutions/ideas to check ?
Hello,
Please attach the config.log from the root of the 64-bit build tree.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #15 from OlekA brodo@o2.pl --- I use Slackware 64 current which in fact is much more developed than the stable 14.2 version.
https://bugs.winehq.org/show_bug.cgi?id=49789
OlekA brodo@o2.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Tina 11 Demo does not start |Tina 11 Demo does not start |properly in a 64-bit |properly in a 64-bit |Slackware Linux. In 32-bit |Slackware current Linux. In |it is OK. |32-bit it is OK.
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #16 from OlekA brodo@o2.pl --- Created attachment 68553 --> https://bugs.winehq.org/attachment.cgi?id=68553 Log of a fresh compiled wine-git 02.11.2020 in a 64-bit Slackware current.
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #17 from OlekA brodo@o2.pl --- Any ideas to resolve this problem ?
https://bugs.winehq.org/show_bug.cgi?id=49789
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Assignee|wine-bugs@winehq.org |z.figura12@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=49789
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #18 from Zebediah Figura z.figura12@gmail.com --- I can reproduce this with wine 5.10. Launching the program spawns a dialog window warning that it's a trial version; after clicking "continue" it usually crashes. The exact symptoms are very inconsistent, but most commonly there is an exception raised outside of stack limits, apparently due to corrupted %esp. I haven't bisected this failure against wine 5.9 yet.
With wine 6.0-rc2 I see a different, earlier failure: before even spawning the aforementioned dialog, it exits after a STATUS_ILLEGAL_INSTRUCTION due to EH_STACK_INVALID. I'll file a new bug for it once I've bisected that as well.
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #19 from Zebediah Figura z.figura12@gmail.com --- I get pretty much the exact same symptoms with wine 5.9. Are we sure this was ever a regression, and not just an intermittent failure?
https://bugs.winehq.org/show_bug.cgi?id=49789
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Tina 11 Demo does not start |Tina 11 Demo crashes when |properly in a 64-bit |run in a 64-bit prefix |Slackware current Linux. In | |32-bit it is OK. | Component|-unknown |kernel32 Keywords|regression | Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #20 from Zebediah Figura z.figura12@gmail.com --- A reverse bisect shows that 0c631ebb2354334eaf309bc0765d3283654cf902 fixes the mentioned issue:
0c631ebb2354334eaf309bc0765d3283654cf902 is the first good commit commit 0c631ebb2354334eaf309bc0765d3283654cf902 Author: Alexandre Julliard julliard@winehq.org Date: Mon Sep 28 16:34:11 2020 +0200
kernel32: Build with msvcrt.
config.log from comment 16 shows that your wine isn't compiled with mingw, which would be needed for the above commit to have an effect.
I'm marking this as fixed accordingly; please reopen if you can reproduce with Wine compiled with mingw. I'm also removing the regression tag, since the crash is rather variable and I could reproduce it even with 5.9.
[I can't reproduce the failure related to EH_STACK_INVALID anymore, even with 6.0-rc2. I'll just discard it as a fluke...]
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #21 from OlekA brodo@o2.pl --- (In reply to Zebediah Figura from comment #20)
A reverse bisect shows that 0c631ebb2354334eaf309bc0765d3283654cf902 fixes the mentioned issue:
0c631ebb2354334eaf309bc0765d3283654cf902 is the first good commit commit 0c631ebb2354334eaf309bc0765d3283654cf902 Author: Alexandre Julliard julliard@winehq.org Date: Mon Sep 28 16:34:11 2020 +0200
kernel32: Build with msvcrt.
config.log from comment 16 shows that your wine isn't compiled with mingw, which would be needed for the above commit to have an effect.
I'm marking this as fixed accordingly; please reopen if you can reproduce with Wine compiled with mingw. I'm also removing the regression tag, since the crash is rather variable and I could reproduce it even with 5.9.
[I can't reproduce the failure related to EH_STACK_INVALID anymore, even with 6.0-rc2. I'll just discard it as a fluke...]
How can I set the wine's configuration to properly see mingw-w64-v8.0.0_gcc10.2.0 that IS just installed on my system ? ( it is here: /usr/mingw-w64-v8.0.0_gcc10.2.0/).
Compiling wine halts at this configure action:
checking for i686-w64-mingw32-gcc... no checking for i586-w64-mingw32-gcc... no checking for i486-w64-mingw32-gcc... no checking for i386-w64-mingw32-gcc... no checking for i686-pc-mingw32-gcc... no checking for i586-pc-mingw32-gcc... no checking for i486-pc-mingw32-gcc... no checking for i386-pc-mingw32-gcc... no checking for i686-mingw32msvc-gcc... no checking for i586-mingw32msvc-gcc... no checking for i486-mingw32msvc-gcc... no checking for i386-mingw32msvc-gcc... no checking for i686-mingw32-gcc... no checking for i586-mingw32-gcc... no checking for i486-mingw32-gcc... no checking for i386-mingw32-gcc... no checking for i686-w64-mingw32-clang... no checking for i586-w64-mingw32-clang... no checking for i486-w64-mingw32-clang... no checking for i386-w64-mingw32-clang... no checking for mingw32-gcc... no configure: error: MinGW compiler not found, cross-compiling PE files won't be supported. This is an error since --with-mingw was requested.
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #22 from Zebediah Figura z.figura12@gmail.com --- i686-w64-mingw32-gcc (or something similar) needs to be in your PATH. Alternatively, you can set CROSSCC to the path to the cross-compiler, or pass it as an argument to --with-mingw.
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #23 from OlekA brodo@o2.pl --- Thanks, I added the: export PATH=${PATH}:/usr/mingw-w64-v8.0.0_gcc10.2.0/bin to wine build script, and this did the job.
It seems, that at every new wine version I have to remember this mingw dependency. Or, can it be included in wine itself ?
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #24 from Zebediah Figura z.figura12@gmail.com --- (In reply to OlekA from comment #23)
Thanks, I added the: export PATH=${PATH}:/usr/mingw-w64-v8.0.0_gcc10.2.0/bin to wine build script, and this did the job.
It seems, that at every new wine version I have to remember this mingw dependency. Or, can it be included in wine itself ?
I'm not sure what you mean by this; can you please clarify?
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #25 from OlekA brodo@o2.pl --- As of today when I try to use Tina-11.2 in my 64-bit Slackware current I must have wine compiled with mingw support (compiled, installed). I usually follow wine current versions by compiling it every time it appears on the winehq site. As mingw is quite huge (92 MB compiled, 135MB sources) I simply expressed an idea to enclose some of its functionality into wine, without the need to use standalone mingw at all. I am not a software/programming expert, I don't know if it is even possible.
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #26 from Zebediah Figura z.figura12@gmail.com --- To put it simply, no. The gcc compiler (or the clang compiler, for that matter) is a huge project, with a large and active community separate from ours, and we benefit from its active development. Importing that compiler into Wine (and it would need to be the entire compiler) is simply not feasible.
https://bugs.winehq.org/show_bug.cgi?id=49789
--- Comment #27 from OlekA brodo@o2.pl --- I understand. Thanks for you, and for others involved in resolving this bug ! Great job !
https://bugs.winehq.org/show_bug.cgi?id=49789
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #28 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.0-rc4.
https://bugs.winehq.org/show_bug.cgi?id=49789
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://demo.designsoft.biz/ |https://web.archive.org/web |tina/Tina110en.exe |/20201226194657/http://demo | |.designsoft.biz/tina/Tina11 | |0en.exe CC| |focht@gmx.net
--- Comment #29 from Anastasius Focht focht@gmx.net --- Hello folks,
I've created a stable snapshot via Internet Archive for documentation:
https://web.archive.org/web/20201226194657/http://demo.designsoft.biz/tina/T...
$ sha1sum Tina110en.exe 4f65e543d5bce045544d1964bbc77b0f6830ada2 Tina110en.exe
$ du -sh Tina110en.exe 231M Tina110en.exe
Regards