https://bugs.winehq.org/show_bug.cgi?id=38478
Bug ID: 38478 Summary: Captvty crashes at start Product: Wine Version: 1.7.38 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mscoree Assignee: wine-bugs@winehq.org Reporter: jeremielapuree@yahoo.fr Distribution: ---
Extracting captvty works well. But when one wants to start the software, it crashes immediately. The backtrace is quite short. So I copy it instead of attaching it.
~/captvty$ wine Captvty.exe fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.0,Profile=Client" not implemented fixme:mscoree:ConfigFileHandler_startElement Unknown element L"loadFromRemoteSources" in state 4
Unhandled Exception: System.InvalidOperationException: WinForms_SeeInnerException ---> System.TypeLoadException: A type load exception has occurred. at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at ÔÇëÔÇÇ+.[Main] (Captvty.Main ) [0x00000] in <filename unknown>:0 at ÔÇëÔÇÇ+. () [0x00000] in <filename unknown>:0 at ÔÇëÔÇÇ.OnCreateMainForm () [0x00000] in <filename unknown>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000] in <filename unknown>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000] in <filename unknown>:0 at ÔÇëÔÇÇ. (System.String[] ) [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: WinForms_SeeInnerException ---> System.TypeLoadException: A type load exception has occurred. at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at ÔÇëÔÇÇ+.[Main] (Captvty.Main ) [0x00000] in <filename unknown>:0 at ÔÇëÔÇÇ+. () [0x00000] in <filename unknown>:0 at ÔÇëÔÇÇ.OnCreateMainForm () [0x00000] in <filename unknown>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000] in <filename unknown>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000] in <filename unknown>:0 at ÔÇëÔÇÇ. (System.String[] ) [0x00000] in <filename unknown>:0
https://bugs.winehq.org/show_bug.cgi?id=38478
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://captvty.fr/?captvty- | |2.3.6-autoextract.exe
https://bugs.winehq.org/show_bug.cgi?id=38478
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #1 from Austin English austinenglish@gmail.com --- Does 'winetricks dotnet40' help?
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #2 from joaopa jeremielapuree@yahoo.fr --- yes, that helps
https://bugs.winehq.org/show_bug.cgi?id=38478
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #3 from joaopa jeremielapuree@yahoo.fr --- Bug still there in current wine
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #4 from joaopa jeremielapuree@yahoo.fr --- Bug still there in current wine (wine-3.4)
https://bugs.winehq.org/show_bug.cgi?id=38478
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Captvty crashes at start |Captvty crashes at start | |without native .Net (so | |using mono) Ever confirmed|0 |1 CC| |xerox.xerox2000x@gmail.com
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- Confirming, crashes without native .Net.
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #6 from joaopa jeremielapuree@yahoo.fr --- Bug is still there with wine-4.7
sing zenity 3.32.0 david@analyst:~/Captvty$ wine Captvty.exe 0009:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.0,Profile=Client" not implemented 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"loadFromRemoteSources" in state 4
Unhandled Exception: System.InvalidOperationException: WinForms_SeeInnerException ---> System.BadImageFormatException: Could not resolve field token 0x04000d78, due to: Could not load type of field '_Qu:_xoA' (25) due to: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. assembly:Z:\home\david\Captvty\Captvty.exe type:_Qu member:(null) at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&) at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <08a66fd7940b49399b733a139e103e88>:0 --- End of inner exception stack trace --- at _xv+_ZM._GkA[] ( ) [0x0015c] in <494d7bf86a14486883d25afbabaac388>:0 at _xv+_ZM._CaA () [0x00000] in <494d7bf86a14486883d25afbabaac388>:0 at _phA._CqA () [0x00006] in <494d7bf86a14486883d25afbabaac388>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00010] in <bce9e43855a74a6dba3155ee24ccefdf>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00001] in <bce9e43855a74a6dba3155ee24ccefdf>:0 at _phA._h0 (System.String[] ) [0x00031] in <494d7bf86a14486883d25afbabaac388>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: WinForms_SeeInnerException ---> System.BadImageFormatException: Could not resolve field token 0x04000d78, due to: Could not load type of field '_Qu:_xoA' (25) due to: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. assembly:Z:\home\david\Captvty\Captvty.exe type:_Qu member:(null) at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&) at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <08a66fd7940b49399b733a139e103e88>:0 --- End of inner exception stack trace --- at _xv+_ZM._GkA[] ( ) [0x0015c] in <494d7bf86a14486883d25afbabaac388>:0 at _xv+_ZM._CaA () [0x00000] in <494d7bf86a14486883d25afbabaac388>:0 at _phA._CqA () [0x00006] in <494d7bf86a14486883d25afbabaac388>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00010] in <bce9e43855a74a6dba3155ee24ccefdf>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00001] in <bce9e43855a74a6dba3155ee24ccefdf>:0 at _phA._h0 (System.String[] ) [0x00031] in <494d7bf86a14486883d25afbabaac388>:0
https://bugs.winehq.org/show_bug.cgi?id=38478
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |obfuscation
https://bugs.winehq.org/show_bug.cgi?id=38478
vono vono22@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vono22@yahoo.fr
--- Comment #7 from vono vono22@yahoo.fr --- Same with wine-4.15:
$ WINEPREFIX=~/.wine-captvty WINEARCH=win32 wine Captvty/Captvty.exe 0009:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.0,Profile=Client" not implemented 0009:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"loadFromRemoteSources" in state 4
Unhandled Exception: System.InvalidOperationException: WinForms_SeeInnerException ---> System.BadImageFormatException: Could not resolve field token 0x04000d82, due to: Could not load type of field '_sSA:_nKA' (25) due to: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. assembly:Z:\home\vono\Captvty\Captvty.exe type:_sSA member:(null) at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&) at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <6cc67c6253564d2282cafa9c7a2b691e>:0 --- End of inner exception stack trace --- at _ju+_mM._6h[] ( ) [0x00156] in <cda3b03aec6d481b916d622b65901bb9>:0 at _ju+_mM._Cu () [0x00000] in <cda3b03aec6d481b916d622b65901bb9>:0 at _LAA._5KA () [0x00006] in <cda3b03aec6d481b916d622b65901bb9>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00010] in <922f8903f912422b9c7a2d981818e4b3>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00001] in <922f8903f912422b9c7a2d981818e4b3>:0 at _LAA._md (System.String[] ) [0x00031] in <cda3b03aec6d481b916d622b65901bb9>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: WinForms_SeeInnerException ---> System.BadImageFormatException: Could not resolve field token 0x04000d82, due to: Could not load type of field '_sSA:_nKA' (25) due to: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. assembly:Z:\home\vono\Captvty\Captvty.exe type:_sSA member:(null) at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&) at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <6cc67c6253564d2282cafa9c7a2b691e>:0 --- End of inner exception stack trace --- at _ju+_mM._6h[] ( ) [0x00156] in <cda3b03aec6d481b916d622b65901bb9>:0 at _ju+_mM._Cu () [0x00000] in <cda3b03aec6d481b916d622b65901bb9>:0 at _LAA._5KA () [0x00006] in <cda3b03aec6d481b916d622b65901bb9>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00010] in <922f8903f912422b9c7a2d981818e4b3>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00001] in <922f8903f912422b9c7a2d981818e4b3>:0 at _LAA._md (System.String[] ) [0x00031] in <cda3b03aec6d481b916d622b65901bb9>:0
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #8 from vono vono22@yahoo.fr --- After installing dotnet40 I have this error: $ WINEPREFIX=~/.wine-captvty WINEARCH=win32 wine Captvty/Captvty.exe 0009:fixme:ntdll:EtwEventRegister ({e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 0x7932a40c, 0x797293b0, 0x79764880) stub. 0009:fixme:ntdll:EtwEventRegister ({763fd754-7086-4dfe-95eb-c01a46faf4ca}, 0x7932a40c, 0x797292f0, 0x79729998) stub. 0009:fixme:ntdll:EtwEventRegister ({a669021c-c450-4609-a035-5af59af4df18}, 0x7932a40c, 0x79764890, 0x79764888) stub. 0009:fixme:ntdll:EtwEventRegister ({cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 0x7932a40c, 0x797648c0, 0x797292e8) stub. 0009:fixme:wer:WerRegisterRuntimeExceptionModule (L"C:\windows\Microsoft.NET\Framework\v4.0.30319\mscordacwks.dll", 0x79140000) stub! 0009:fixme:nls:LCIDToLocaleName unsupported flags 8000000
With an error window which indicates: CLR error: 80004005 The program will now terminate.
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #9 from joaopa jeremielapuree@yahoo.fr --- Captvty works fine with wine.4.15 and dotnet. Pleas don't pollute this thread with such a report. If you have a crash, please open your own bug report.
https://bugs.winehq.org/show_bug.cgi?id=38478
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://captvty.fr/?captvty- |http://releases.captvty.fr/ |2.3.6-autoextract.exe |9773d7c447a0b81635a1cecee35 | |ffdbd3b3167ef/captvty-2.3.6 | |.zip
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #10 from Vincent Povirk madewokherd@gmail.com --- I wasn't able to find the installer for version 2.3.6, only the zip file, and the current installer doesn't work, so I'm using the 2.3.6 zip.
It ships with a Newtonsoft.Json.dll in the tools directory, which Mono doesn't find. Copying the dll into the exe directory allows the program to start (with many more errors).
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #11 from Vincent Povirk madewokherd@gmail.com --- It's not clear to me how this library is supposed to be found. Windows doesn't ship with Netwonsoft.Json. There's no reference to the tools directory in the exe.config file. Neither the .NET embedding api nor the System.AppDomain type are used to point to this path.
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #12 from Vincent Povirk madewokherd@gmail.com --- Looking at the exe imports, it does use System.AppDomain.add_AssemblyResolve.
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #13 from Vincent Povirk madewokherd@gmail.com --- This may be another issue of symbol resolution timings, where Mono looks up a symbol from Newtonsoft.Json before the program is able to set up its AssemblyResolve hook, while .NET is more "lazy".
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #14 from joaopa jeremielapuree@yahoo.fr --- Any hope this bug will be fixed soon?
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #15 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-5.0-rc1.
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #16 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-5.7
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #17 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-5.12.
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #18 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-6.2.
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #19 from Esme Povirk madewokherd@gmail.com --- It may be possible to work around this by setting Mono to use an interpreter instead of JIT. This will require a patch to mscoree.
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #20 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-6.12
Unhandled Exception: System.InvalidOperationException: WinForms_SeeInnerException ---> System.TypeLoadException: Could not load type of field '_92:_CnA' (28) due to: Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&) at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <db04fe9e4bca4610adf3414d35e3c1a4>:0 --- End of inner exception stack trace --- at _rU+_Nk._j0[] ( ) [0x00156] in <f74e9516d760488caddeac71e3a02cbb>:0 at _rU+_Nk._Mo () [0x00000] in <f74e9516d760488caddeac71e3a02cbb>:0 at _zMA._yNA () [0x00006] in <f74e9516d760488caddeac71e3a02cbb>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00010] in <927f21182dad4731b574d6fc68a955df>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00001] in <927f21182dad4731b574d6fc68a955df>:0 at _zMA._ZH (System.String[] ) [0x00031] in <f74e9516d760488caddeac71e3a02cbb>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: WinForms_SeeInnerException ---> System.TypeLoadException: Could not load type of field '_92:_CnA' (28) due to: Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&) at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <db04fe9e4bca4610adf3414d35e3c1a4>:0 --- End of inner exception stack trace --- at _rU+_Nk._j0[] ( ) [0x00156] in <f74e9516d760488caddeac71e3a02cbb>:0 at _rU+_Nk._Mo () [0x00000] in <f74e9516d760488caddeac71e3a02cbb>:0 at _zMA._yNA () [0x00006] in <f74e9516d760488caddeac71e3a02cbb>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00010] in <927f21182dad4731b574d6fc68a955df>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00001] in <927f21182dad4731b574d6fc68a955df>:0
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #21 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with win-6.21.
https://bugs.winehq.org/show_bug.cgi?id=38478
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://releases.captvty.fr/ |https://archive.org/details |9773d7c447a0b81635a1cecee35 |/captvty-2.9.4.1 |ffdbd3b3167ef/captvty-2.3.6 | |.zip |
--- Comment #22 from joaopa jeremielapuree@yahoo.fr --- Old link is burst. The cited version is not available more. Fortuantely, the bug occurs with the new version too. Adding a stable link to be sure the next time.
https://archive.org/details/captvty-2.9.4.1
https://bugs.winehq.org/show_bug.cgi?id=38478
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #23 from joaopa jeremielapuree@yahoo.fr --- Bug is fixed in wine-8.7.
https://bugs.winehq.org/show_bug.cgi?id=38478
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #24 from joaopa jeremielapuree@yahoo.fr --- error of bug report. Reponen.
https://bugs.winehq.org/show_bug.cgi?id=38478
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=38478
--- Comment #25 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-10.rc5