https://bugs.winehq.org/show_bug.cgi?id=51572
Bug ID: 51572 Summary: Crash when opening notes panel in Logos Bible Software Product: Wine Version: 6.14 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: johnpgoodman@gmail.com Distribution: ---
Created attachment 70415 --> https://bugs.winehq.org/attachment.cgi?id=70415 Terminal Output from crash opening notes panel.
6.14 introduces a regression in which opening the notes panel causes an instant crash. Terminal output attached.
There appears to be something of a fix in 6.14 staging already however the load time of this panel is very slow and so is its updating etc. In 6.01 stable it is almost instant.
This is a regression which it would be great if we can pin down and fix.
Any help appreciated - I've included an install guide as it isn't obvious.
---Install Guide--- The app is a bit like kindle in so much as the engine is free but the resources cost so there is a free download. Unlike kindle it has many advanced research features and books link together etc. The main app is free but there are paid features, resources and subscriptions. To use the app you need a free account https://www.logos.com/product/194909/logos-9-basic. It uses a downloader app which last I tried doesn't work with wine. The actual msi link is https://downloads.logoscdn.com/LBS9/Installer/9.6.0.0024/Logos-x64.msi
---Manual Install Procedure:--- 1 Install wine 6 or newer 2 winetricks corefonts 3 winetricks settings fontsmooth=rgb 4 winetricks dotnet48 5 winetricks settings renderer=gdi (you might need to set the reg key manually) 6 Install the Logos.msi download but don't run it. 7 wine64 reg add "HKCU\Software\Wine\AppDefaults\LogosIndexer.exe" /v Version /t REG_SZ /d vista /f 8 Run Logos and sign in with your free account.
---GUI Install Script--- There is a script which downloads a preconfigured wine bottle and sets it all up in $USER/Logos_BibleP directory which you can then easily remove etc. https://github.com/ferion11/LogosLinuxInstaller/releases Choose fast install without wine AppImage.
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #1 from m0rvj johnpgoodman@gmail.com --- Slowness appears to have crept in between 6.01 stable and 6.7 devel. Will see if I can get a friend to pin it down.
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #2 from m0rvj johnpgoodman@gmail.com --- I've had some help: Up to 6.3 staging it takes my system about 2 secs to load the notes panel. From 6.4 onwards its about 20secs.
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #3 from m0rvj johnpgoodman@gmail.com --- When loading fast the terminal output is: 0130:fixme:path:parse_url failed to parse L"faithlife.notestoolhost" 01f0:fixme:dwrite:dwritefactory3_GetSystemFontSet 0x1a616e70, 0x557fed18: stub 0260:fixme:dwrite:dwritefontface5_HasVariations 0x40f6490: stub 01c8:fixme:path:parse_url failed to parse L"Faithlife.NotesApi.Core.resources" 01c8:fixme:path:parse_url failed to parse L"Faithlife.NotesApi.Core.resources" 01f0:fixme:file:ReplaceFileW Ignoring flags 2 01f0:fixme:dwrite:dwritefactory3_GetSystemFontSet 0x1a616e70, 0x557fed18: stub 01f0:fixme:dwrite:dwritefactory3_GetSystemFontSet 0x1a616e70, 0x557fed18: stub 01f0:fixme:dwrite:dwritefactory3_GetSystemFontSet 0x1a616e70, 0x557fed18: stub 01f0:fixme:dwrite:dwritefactory3_GetSystemFontSet 0x1a616e70, 0x557fed18: stub 01f0:fixme:dwrite:dwritefactory3_GetSystemFontSet 0x1a616e70, 0x557fed18: stub 01f0:fixme:dwrite:dwritefactory3_GetSystemFontSet 0x1a616e70, 0x557fed18: stub
When loading slow it is: 0188:fixme:path:parse_url failed to parse L"faithlife.notestoolhost" 0298:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0298:fixme:thread:QueryThreadCycleTime (FFFFFFFFFFFFFFFE,000000000022EE20): stub! 015c:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 000000002B5E7F38 000000001F11B748 000000001F11C480 0000000000000000 0224:fixme:file:ReplaceFileW Ignoring flags 2 0298:fixme:dwrite:dwritefontface5_HasVariations 0x41cf1d0: stub 016c:fixme:path:parse_url failed to parse L"Faithlife.NotesApi.Core.resources" 016c:fixme:path:parse_url failed to parse L"Faithlife.NotesApi.Core.resources" ****20 second delay happened here****
Any messages following show up as part of the normal execution cycle but I'll attach both full logs.
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #4 from m0rvj johnpgoodman@gmail.com --- I note that 6.4 advertised the new feature of Fontset support in DirectWrite. Looks like that might be relevant?
https://bugs.winehq.org/show_bug.cgi?id=51572
m0rvj johnpgoodman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |dwrite
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #5 from m0rvj johnpgoodman@gmail.com --- Giovanni Mascellani and Nikolay Sivov seem to have contributed that? Any ideas guys? Very grateful if you can take a look?!
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #6 from m0rvj johnpgoodman@gmail.com --- The instant crash in 6.14 is fixed by installing the tahoma font. I'm not sure why that would be. 6.14 is the only version which has this crash. With tahoma installed it is still suffering the slowdown.
https://bugs.winehq.org/show_bug.cgi?id=51572
T. H. Wright thwright@redemption.studio changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thwright@redemption.studio
--- Comment #7 from T. H. Wright thwright@redemption.studio --- I ran some tests on the speed of opening a note.
The times given are the times to open a note where the note panel and note are fully loaded and I have a blinking cursor to add text, testing with Play on Linux binaries:
6.3-staging; ~5 sec.
6.4: from clicking add a note to a text, it took about ~11 sec.
6.14: ~8 sec.
6.14-staging: ~6 sec.
I tested each one with one note each, so further testing could see if additional notes yield similar results. The notes panel was not open prior to me telling Logos to add a note to the selected text.
I did not test them in the CLI and thus have no output to offer; I was aiming to get times alone for a basic comparison.
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #8 from m0rvj johnpgoodman@gmail.com --- Created attachment 70997 --> https://bugs.winehq.org/attachment.cgi?id=70997 Can't build wine
I've been back and tested. Notes are really sluggish in every version from 6.4 onwards. There is some improvement but they were genuinely snappy, under 3 secs in 6.3. This also affects usage, not just opening.
I've tried to do a bisect but I'm stuck with the attached compile error. I'm guessing it might be library version incompatibility but its a little beyond my understanding.
If someone can help me with how to get wine to compile, I'm happy to do the bisect. N.b. I've no problems compiling wine 6.19-21 or master. I've just done a bisect there for another bug and found the problem commit without any difficulty.
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #9 from Hans Leidekker hans@meelstraat.net --- (In reply to m0rvj from comment #8)
I've tried to do a bisect but I'm stuck with the attached compile error. I'm guessing it might be library version incompatibility but its a little beyond my understanding.
If someone can help me with how to get wine to compile, I'm happy to do the bisect. N.b. I've no problems compiling wine 6.19-21 or master. I've just done a bisect there for another bug and found the problem commit without any difficulty.
You can work around the error by passing --without-ldap to configure, assuming the app doesn't need LDAP support to reach the bug.
https://bugs.winehq.org/show_bug.cgi?id=51572
m0rvj johnpgoodman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bunglehead@gmail.com Regression SHA1| |318ebc89dcb590c6afa71e5b150 | |4669037979a60
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #10 from m0rvj johnpgoodman@gmail.com --- Created attachment 70998 --> https://bugs.winehq.org/attachment.cgi?id=70998 bisect log
This is the log from my bisect. It appears that we land at: commit 318ebc89dcb590c6afa71e5b1504669037979a60 Author: Nikolay Sivov nsivov@codeweavers.com Date: Thu Mar 11 12:41:23 2021 +0300
dwrite: Implement GetSystemFontSet().
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/dwrite/main.c | 159 +++++++++++++++++++++++++++++++++++++++++++++-- dlls/dwrite/tests/font.c | 25 ++++++++ 2 files changed, 178 insertions(+), 6 deletions(-)
https://bugs.winehq.org/show_bug.cgi?id=51572
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|bunglehead@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #11 from Nikolay Sivov bunglehead@gmail.com --- Attach +dwrite log please.
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #12 from m0rvj johnpgoodman@gmail.com --- How do I do that? thanks
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #13 from Nikolay Sivov bunglehead@gmail.com --- It's described here [1]. For this bug WINEDEBUG=+dwrite,+seh should tell something, hopefully.
[1] https://wiki.winehq.org/FAQ#How_do_I_get_a_debug_trace.3F
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #14 from m0rvj johnpgoodman@gmail.com --- Created attachment 70999 --> https://bugs.winehq.org/attachment.cgi?id=70999 dwrite log
The log was 1.9GB so I've attached the last 1000 lines. This was produced as per instructions. Logos loads and then I click to open the notes. Once opened I exited the program.
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #15 from Nikolay Sivov bunglehead@gmail.com --- I don't see anything useful in this part of the log.
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #16 from m0rvj johnpgoodman@gmail.com --- Created attachment 71000 --> https://bugs.winehq.org/attachment.cgi?id=71000 Much bigger tail dwrite
I've attached a much larger tail of the file. Otherwise I'm not sure how to share it?
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #17 from m0rvj johnpgoodman@gmail.com --- Is it helpful to note that the notes component is rendered with Chrome Embedded Framework CEF.
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #18 from m0rvj johnpgoodman@gmail.com --- (In reply to Nikolay Sivov from comment #15)
I don't see anything useful in this part of the log.
Anything else I can do to help?
https://bugs.winehq.org/show_bug.cgi?id=51572
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #19 from Nikolay Sivov bunglehead@gmail.com --- I can't reproduce this I'm afraid. Please try a clean installation again, and don't try to disable d3d support. I used current wine + current winetricks, for dotnet48 and d3dcompiler_47, otherwise login window does not show up.
After that, Notes window (from Tools -> Notes), appears fine, without crashes. I was able to add some notes and switch between them. I see no glitches in other parts too.
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #20 from m0rvj johnpgoodman@gmail.com --- What is d3d? Is that directdrawrenderer? drr=gdi?
I think yes it works in the latest version of wine but the issue is that it is still laggy. It used to pop open instantly as it does on windows and mac. I'm just doing a build from git head which includes a couple of other fixes and will test again.
https://bugs.winehq.org/show_bug.cgi?id=51572
Frank franksauer@cox.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |franksauer@cox.net
--- Comment #21 from Frank franksauer@cox.net --- I'm not able to reproduce a crash with the Notes Panel - opens fine and adds new Notes without any problem.
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #22 from m0rvj johnpgoodman@gmail.com --- Still got a little lag though? before the first regression notes opened instantly. They open instantly on both mac and windows. There is a performance issue still here.
https://bugs.winehq.org/show_bug.cgi?id=51572
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #23 from Fabian Maurer dark.shadow4@web.de --- (In reply to m0rvj from comment #22)
Still got a little lag though? before the first regression notes opened instantly. They open instantly on both mac and windows. There is a performance issue still here.
That would be a separate issue. Please open a new ticket for that, feel free to link it here. Can we consider this crash fixed?
https://bugs.winehq.org/show_bug.cgi?id=51572
--- Comment #24 from m0rvj johnpgoodman@gmail.com --- I'm not sure what is best to do. There were 2 regressions. The first caused real slowness and the second a crash. It appears the crash is indeed fixed however, we still have a real performance issue which appears to be caused by commit 318ebc89dcb590c6afa71e5b1504669037979a60
I don't think we should close the bug, I think we should see if this performance issue might be resolved? It would make it much easier to use the app.
https://bugs.winehq.org/show_bug.cgi?id=51572
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #25 from Ken Sharp imwellcushtymelike@gmail.com --- (In reply to Fabian Maurer from comment #23)
Please open a new ticket for that
The crash is reported fixed.
https://bugs.winehq.org/show_bug.cgi?id=51572
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #26 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.10.