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(????).