https://bugs.winehq.org/show_bug.cgi?id=47856
Bug ID: 47856 Summary: Logos Bible Software (.Net 4.7.2 app) crashes in win8/10 (probably RtlQueryUnbiasedInterruptTime insufficiency) Product: Wine Version: 4.17 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: ---
Created attachment 65358 --> https://bugs.winehq.org/attachment.cgi?id=65358 stupid hack, just to work around the crash
When version is set to win8 or win10, the program crashes right away:
0082:err:eventlog:ReportEventW L"Application: Logos.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.NullReferenceException\n at System.Threading.TimerQueue.get_TickCount()\n at System.Threading.TimerQueue.UpdateTimer(System.Threading.T"... 0082:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at System.Threading.TimerQueue.get_TickCount() at System.Threading.TimerQueue.UpdateTimer(TimerQueueTimer timer, UInt32 dueTime, UInt32 period) at System.Threading.TimerQueueTimer.Change(UInt32 dueTime, UInt32 period) at System.Threading.Timer.TimerSetup(TimerCallback callback, Object state, UInt32 dueTime, UInt32 period, StackCrawlMark& stackMark) at System.Threading.Timer..ctor(TimerCallback callback, Object state, Int32 dueTime, Int32 period) at Libronix.Utility.Threading.ThreadPoolAwaitable.TimerAwaiter.OnCompleted(Action continuation)
Little google for System.Threading.TimerQueue.get_TickCount showed https://referencesource.microsoft.com/#mscorlib/system/threading/timer.cs as a pointer: if (Environment.IsWindows8OrAbove)..... bool result = Win32Native.QueryUnbiasedInterruptTime(out t
By stupid hack just removing functionality for QueryUnbiasedInterruptTime the program runs further; i guess the program chokes in some insufficiency of QueryUnbiasedInterruptTime(????).
https://bugs.winehq.org/show_bug.cgi?id=47856
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download URL| |https://downloads.logoscdn. | |com/LBS8/Installer/8.7.0.00 | |39/Logos-x86.msi
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- add downloadlink
https://bugs.winehq.org/show_bug.cgi?id=47856
Don Pobanz dpobanz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dpobanz@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=47856
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Looks like this was just fixed by 8b0a7b25036f74ebe60b3bd5b7b6ecd37f5f1385
Commited patch works around the bug, I just checked;
Patch was meant for another bug apparently (Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48239).
What to do: resolve this one as duplicate and wait until someone confirms bug 48239 is fixed, or resolve this one as fixed?
Patch just committed:
Module: wine Branch: master Commit: 8b0a7b25036f74ebe60b3bd5b7b6ecd37f5f1385 URL: https://source.winehq.org/git/wine.git/?a=commit;h=8b0a7b25036f74ebe60b3bd5b...
Author: Alexandre Julliard <julliard at winehq.org> Date: Mon Dec 16 18:44:07 2019 +0100
ntdll: Fix RtlQueryUnbiasedInterruptTime() prototype.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48239 Signed-off-by: Alexandre Julliard <julliard at winehq.org>
https://bugs.winehq.org/show_bug.cgi?id=47856
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8b0a7b25036f74ebe60b3bd5b7b | |6ecd37f5f1385 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Fixed.
https://bugs.winehq.org/show_bug.cgi?id=47856
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.0-rc2.
https://bugs.winehq.org/show_bug.cgi?id=47856
m0rvj johnpgoodman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johnpgoodman@gmail.com
--- Comment #5 from m0rvj johnpgoodman@gmail.com --- Tested just now with wine 5rc2 and still got the crash... are you sure its fixed?
https://bugs.winehq.org/show_bug.cgi?id=47856
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- yes, i tested a few days ago. It still crashes later on because of bug https://bugs.winehq.org/show_bug.cgi?id=47857
If you apply hack from that bug + the reopenfile patch you should be able to run it in win8/10 mode
Regards
https://bugs.winehq.org/show_bug.cgi?id=47856
--- Comment #7 from m0rvj johnpgoodman@gmail.com --- ok I see, thanks. I'm really grateful that you are continuing with this! I have 32bit latest Logos running on wine 5.0 rc2 but I found Indexing crashed unless I went 32bit and installed with win7 but switched to winxp before running indexing. Once that far it is wonderfully stable.
https://bugs.winehq.org/show_bug.cgi?id=47856
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://downloads.logoscdn. |https://web.archive.org/web |com/LBS8/Installer/8.7.0.00 |/20210209172851/https://dow |39/Logos-x86.msi |nloads.logoscdn.com/LBS8/In | |staller/8.7.0.0039/Logos-x8 | |6.msi CC| |focht@gmx.net Summary|Logos Bible Software (.Net |Logos 8 Bible Software |4.7.2 app) crashes in |(.Net 4.7.2 app) crashes in |win8/10 (probably |win8/10 (probably |RtlQueryUnbiasedInterruptTi |RtlQueryUnbiasedInterruptTi |me insufficiency) |me insufficiency)