[Bug 60341] New: Metrohm Nova 2.1.9 crashes with native dotnet:err:wbemprox:wql_error syntax error, unexpected TK_ID, expecting end of fil e
http://bugs.winehq.org/show_bug.cgi?id=60341 Bug ID: 60341 Summary: Metrohm Nova 2.1.9 crashes with native dotnet:err:wbemprox:wql_error syntax error, unexpected TK_ID, expecting end of fil e Product: Wine Version: 11.14 Hardware: x86-64 URL: https://www.metrohm.com/cs_cz/service/software-center/ nova.html OS: Linux Status: NEW Keywords: dotnet, download Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: xerox.xerox2000x@gmail.com Target Milestone: --- Distribution: Debian This is a followup of https://bugs.winehq.org/show_bug.cgi?id=60317 After winetricks dotnet48 it crashes in a different way; the exact crash can be found in a file like .wine/drive_c/users/yournamer/AppData/Local/Temp/Nova20260917093210.log In the concole: 017c:trace:wbemprox:wbem_services_ExecNotificationQueryAsync 00007F4D1495AFE0, L "WQL", L"select * from __InstanceCreationEvent within 5 where TargetInstance ISA 'Win32_SystemDriverPNPEntity'", 0, 0000000000000000, 00007F4D14B58B60 017c:fixme:ole:thread_context_info_QueryInterface interface not implemented {513 72ae0-cae7-11cf-be81-00aa00a2fa25} 01a0:err:wbemprox:wql_error syntax error, unexpected TK_ID, expecting end of fil e Not sure of this the actual cause of the crash; but at least token "ISA" seems unsupported. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60341 --- Comment #1 from Louis Lenders <xerox.xerox2000x@gmail.com> --- Actually that "err:wbemprox:wql_error syntax error, unexpected TK_ID, expecting end of file" does not seem to be the cause of the crash It works in older versions of wine, before 87555ec538904c1a043cb9bac1c806e318385069: combase: Implement IContextCallback::ContextCallback. The hack below makes the application start fine: @@ -842,7 +844,7 @@ static BOOL WINAPI init_process_secret(PINIT_ONCE init_once, void *param, void * void get_process_secret(GUID *process_secret) { static INIT_ONCE init_once = INIT_ONCE_STATIC_INIT; - static GUID secret; + GUID secret; InitOnceExecuteOnce(&init_once, init_process_secret, &secret, NULL); *process_secret = secret; Error log from Nova itsself: Nova2, Version=2.1.9634.15360, Culture=neutral, PublicKeyToken=null System.InvalidCastException: Unable to cast COM object of type 'System.Management.WbemDefPath' to interface type 'System.Management.IWbemPath'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3BC15AF2-736C-477E-9E51-238AF8667DCC}' failed due to the following error: Exception from HRESULT: 0x80004002 (E_NOINTERFACE). at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease) at System.Management.IWbemPath.GetServer_(UInt32& puNameBufLength, String pName) at System.Management.ManagementPath.get_Server() at System.Management.SinkForEventQuery..ctor(ManagementEventWatcher eventWatcher, Object context, IWbemServices services) @Piotr: Could you shed a light on this? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60341 Louis Lenders <xerox.xerox2000x@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |87555ec538904c1a043cb9bac1c | |806e318385069 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60341 Louis Lenders <xerox.xerox2000x@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr@codeweavers.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60341 Anton L. <torfbug@mailo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |torfbug@mailo.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60341 --- Comment #2 from Anton L. <torfbug@mailo.com> --- Created attachment 82140 --> http://bugs.winehq.org/attachment.cgi?id=82140 Error log in a new wineprefix with only dotnet48 installed via winetricks, wine11.17@Mint22.3 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60341 --- Comment #3 from Anton L. <torfbug@mailo.com> --- (In reply to Louis Lenders from comment #1)
Actually that "err:wbemprox:wql_error syntax error, unexpected TK_ID, expecting end of file" does not seem to be the cause of the crash
I do not see this message in my output (attached) in a clean new wineprefix with only dotnet48 installed via winetricks. The program still fails with a similar own diagnostics. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60341 --- Comment #4 from Anton L. <torfbug@mailo.com> --- (In reply to Louis Lenders from comment #1)
It works in older versions of wine, before 87555ec538904c1a043cb9bac1c806e318385069: combase: Implement IContextCallback::ContextCallback.
I can confirm that the program starts correctly when: 1. wine-stable (11.0) is used instead of the development (11.17) one (the stable release is before 87555ec538904c1a043cb9bac1c806e318385069). 2. dotnet48 is installed via winetricks. 3. fonts are installed via winetricks (otherwise fails with a font-related error before creation of the main window; I haven't search for the exact missing one(s), just installed all available). [the program still has issues in further work, which I guess shall be reported as separate bugs]. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60341 Austin English <austinenglish@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Metrohm Nova 2.1.9 crashes |Metrohm Nova 2.1.9 crashes |with native |with native |dotnet:err:wbemprox:wql_err |dotnet:err:wbemprox:wql_err |or syntax error, unexpected |or syntax error, unexpected |TK_ID, expecting end of fil |TK_ID, expecting end of |e |file Keywords| |regression -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60341 Piotr Caban <piotr.caban@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com --- Comment #5 from Piotr Caban <piotr.caban@gmail.com> --- I have just quickly looked on the bug so I might have missed something. It looks like code that was not executed in older versions of Wine is now correctly executed and the application tries to use unimplemented features. The application tries to do a remote call on WbemDefPath IWbemPath interface. There's following FIXME message in the log: fixme:wmiutils:path_QueryInterface interface {00000003-0000-0000-c000-000000000046} not implemented Native wmiutils implements IMarshal interface in WbemDefPath object. I'm going to change bug summary to reflect that. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60341 Piotr Caban <piotr.caban@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Metrohm Nova 2.1.9 crashes |Metrohm Nova 2.1.9 crashes |with native |with native dotnet, needs |dotnet:err:wbemprox:wql_err |IMarshal interface to be |or syntax error, unexpected |implemented in WbemDefPath |TK_ID, expecting end of | |file | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60341 Piotr Caban <piotr.caban@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wmi&wbemprox -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60341 --- Comment #6 from Piotr Caban <piotr.caban@gmail.com> --- I've created a merge request for the first issue: https://gitlab.winehq.org/wine/wine/-/merge_requests/12098 Next it needs to be able to marshal IWbemObjectSink interface (that is implemented with fastprox.dll on Windows). I guess that it will also later need improvements for wbem_services_ExecNotificationQueryAsync since following query fails: select * from __InstanceCreationEvent within 5 where TargetInstance ISA 'Win32_SystemDriverPNPEntity -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60341 Piotr Caban <piotr.caban@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Metrohm Nova 2.1.9 crashes |Metrohm Nova 2.1.9 crashes |with native dotnet, needs |with native dotnet, needs |IMarshal interface to be |IWbemObjectSink marshaling |implemented in WbemDefPath | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60341 Louis Lenders <xerox.xerox2000x@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|87555ec538904c1a043cb9bac1c | |806e318385069 | Keywords|regression | --- Comment #7 from Louis Lenders <xerox.xerox2000x@gmail.com> --- Hi Piotr, thanks for the info and the patch. I'll remove the 'regression' keyword and SHA1 as this is technically not a regression, but a new codepath it takes now. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla