http://bugs.winehq.org/show_bug.cgi?id=30940
Bug #: 30940 Summary: Could not start Tween.exe using wine-mono Product: Wine Version: 1.5.6 Platform: x86 URL: http://sourceforge.jp/projects/tween OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: felixonmars@gmail.com CC: fracting@gmail.com Classification: Unclassified
0. Software Download: http://sourceforge.jp/projects/tween/releases/
It's free and open-source.
1. How to reproduce: $ wine Tween.exe
2. Result: Unhandled Exception: System.InvalidOperationException: WinForms_SeeInnerExceptio n ---> System.TypeInitializationException: An exception was thrown by the type i nitializer for Tween.AppendSettingDialog ---> System.OutOfMemoryException: Not e nough memory to complete operation [GDI+ status: OutOfMemory] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename u nknown>:0 at System.Drawing.Text.InstalledFontCollection..ctor () [0x00000] in <filename unknown>:0 at System.Drawing.FontFamily.get_Families () [0x00000] in <filename unknown>:0
at System.Windows.Forms.FontDialog.PopulateFontList () [0x00000] in <filename unknown>:0 at System.Windows.Forms.FontDialog..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.FontDialog:.ctor () at Tween.AppendSettingDialog.InitializeComponent () [0x00000] in <filename unk nown>:0 at (wrapper remoting-invoke-with-check) Tween.AppendSettingDialog:InitializeCo mponent () at Tween.AppendSettingDialog..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) Tween.AppendSettingDialog:.ctor () at Tween.AppendSettingDialog..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at Tween.TweenMain..ctor () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (S ystem.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invok eAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globa lization.CultureInfo culture) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at Tween.My.MyProject+MyForms.Create__Instance__[TweenMain] (Tween.TweenMain I nstance) [0x00000] in <filename unknown>:0 at Tween.My.MyProject+MyForms.get_TweenMain () [0x00000] in <filename unknown> :0 at Tween.My.MyApplication.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 Tween.My.MyApplication.Main (System.String[] Args) [0x00000] in <filename u nknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: WinForms_Se eInnerException ---> System.TypeInitializationException: An exception was thrown by the type initializer for Tween.AppendSettingDialog ---> System.OutOfMemoryEx ception: Not enough memory to complete operation [GDI+ status: OutOfMemory] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename u nknown>:0 at System.Drawing.Text.InstalledFontCollection..ctor () [0x00000] in <filename unknown>:0 at System.Drawing.FontFamily.get_Families () [0x00000] in <filename unknown>:0
at System.Windows.Forms.FontDialog.PopulateFontList () [0x00000] in <filename unknown>:0 at System.Windows.Forms.FontDialog..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.FontDialog:.ctor () at Tween.AppendSettingDialog.InitializeComponent () [0x00000] in <filename unk nown>:0 at (wrapper remoting-invoke-with-check) Tween.AppendSettingDialog:InitializeCo mponent () at Tween.AppendSettingDialog..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) Tween.AppendSettingDialog:.ctor () at Tween.AppendSettingDialog..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at Tween.TweenMain..ctor () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (S ystem.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invok eAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globa lization.CultureInfo culture) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at Tween.My.MyProject+MyForms.Create__Instance__[TweenMain] (Tween.TweenMain I nstance) [0x00000] in <filename unknown>:0 at Tween.My.MyProject+MyForms.get_TweenMain () [0x00000] in <filename unknown> :0 at Tween.My.MyApplication.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 Tween.My.MyApplication.Main (System.String[] Args) [0x00000] in <filename u nknown>:0
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Tween.AppendSettingDialog ---> System.OutOfMemoryEx ception: Not enough memory to complete operation [GDI+ status: OutOfMemory] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename u nknown>:0 at System.Drawing.Text.InstalledFontCollection..ctor () [0x00000] in <filename unknown>:0 at System.Drawing.FontFamily.get_Families () [0x00000] in <filename unknown>:0
at System.Windows.Forms.FontDialog.PopulateFontList () [0x00000] in <filename unknown>:0 at System.Windows.Forms.FontDialog..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.FontDialog:.ctor () at Tween.AppendSettingDialog.InitializeComponent () [0x00000] in <filename unk nown>:0 at (wrapper remoting-invoke-with-check) Tween.AppendSettingDialog:InitializeCo mponent () at Tween.AppendSettingDialog..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) Tween.AppendSettingDialog:.ctor () at Tween.AppendSettingDialog..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at Tween.TweenMain..ctor () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (S ystem.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invok eAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globa lization.CultureInfo culture) [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An except ion was thrown by the type initializer for Tween.AppendSettingDialog ---> System .OutOfMemoryException: Not enough memory to complete operation [GDI+ status: Out OfMemory] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename u nknown>:0 at System.Drawing.Text.InstalledFontCollection..ctor () [0x00000] in <filename unknown>:0 at System.Drawing.FontFamily.get_Families () [0x00000] in <filename unknown>:0
at System.Windows.Forms.FontDialog.PopulateFontList () [0x00000] in <filename unknown>:0 at System.Windows.Forms.FontDialog..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.FontDialog:.ctor () at Tween.AppendSettingDialog.InitializeComponent () [0x00000] in <filename unk nown>:0 at (wrapper remoting-invoke-with-check) Tween.AppendSettingDialog:InitializeCo mponent () at Tween.AppendSettingDialog..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) Tween.AppendSettingDialog:.ctor () at Tween.AppendSettingDialog..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at Tween.TweenMain..ctor () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (S ystem.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invok eAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globa lization.CultureInfo culture) [0x00000] in <filename unknown>:0
http://bugs.winehq.org/show_bug.cgi?id=30940
Felix Yan felixonmars@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|x86 |x86-64
http://bugs.winehq.org/show_bug.cgi?id=30940
--- Comment #1 from Felix Yan felixonmars@gmail.com 2012-06-18 07:26:57 CDT --- In addition: Same result using WINEARCH=win32
http://bugs.winehq.org/show_bug.cgi?id=30940
Felix Yan felixonmars@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source
http://bugs.winehq.org/show_bug.cgi?id=30940
--- Comment #2 from Qian Hong fracting@gmail.com 2012-06-18 08:04:28 CDT --- Hi Felix,
Please upload full console output as an attachment. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=30940
--- Comment #3 from Felix Yan felixonmars@gmail.com 2012-06-18 08:07:58 CDT --- Created attachment 40590 --> http://bugs.winehq.org/attachment.cgi?id=40590 Terminal Log
Sorry, I'm attaching it.
http://bugs.winehq.org/show_bug.cgi?id=30940
--- Comment #4 from Qian Hong fracting@gmail.com 2012-06-18 08:26:20 CDT --- Created attachment 40591 --> http://bugs.winehq.org/attachment.cgi?id=40591 Console output form Tween.exe
This log is a bit different with the original reporter's log.
In my log I see some mscoree output and some gdiplus output.
such as --- snip --- fixme:mscoree:ConfigFileHandler_startElement Unknown element L"configSections" in state 1 fixme:mscoree:ConfigFileHandler_startElement Unknown element L"sectionGroup" in state 3 --- snip ---
and
--- snip --- fixme:gdiplus:GdipDrawLineI graphics object has no HDC --- snip ---
wine-1.5.6-175-g120c413
http://bugs.winehq.org/show_bug.cgi?id=30940
--- Comment #5 from Vincent Povirk madewokherd@gmail.com 2012-06-18 08:37:42 CDT --- Qian, your attachment shows a failure because System.Windows.Forms.TableLayoutPanel.set_LayoutSettings is not implemented.
The original report shows an error from gdiplus creating an InstalledFontCollection. This may be a duplicate of bug 30798.
http://bugs.winehq.org/show_bug.cgi?id=30940
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #6 from Austin English austinenglish@gmail.com 2012-06-18 19:57:27 CDT --- Does it work with native .net?
http://bugs.winehq.org/show_bug.cgi?id=30940
--- Comment #7 from Felix Yan felixonmars@gmail.com 2012-06-18 21:06:20 CDT --- (In reply to comment #6)
Does it work with native .net?
Since I did not have dotnet40 correctly installed using winetricks or something else, I don't know.
http://bugs.winehq.org/show_bug.cgi?id=30940
--- Comment #8 from Felix Yan felixonmars@gmail.com 2012-06-19 09:04:43 CDT --- (In reply to comment #5)
Qian, your attachment shows a failure because System.Windows.Forms.TableLayoutPanel.set_LayoutSettings is not implemented.
Since mono team states they are not developing WinForms anymore [1], is there any chance that wine-mono implement it and submit upstream?
[1] https://bugzilla.novell.com/show_bug.cgi?id=648403
http://bugs.winehq.org/show_bug.cgi?id=30940
--- Comment #9 from Vincent Povirk madewokherd@gmail.com 2012-06-19 09:33:59 CDT --- Since this isn't critical or specific to wine-mono, whoever implements it should send it to Mono first, then we can merge it into wine-mono from upstream. So it's not really different from any other Mono bug - whoever has the time and interest can work on fixing it in Mono. It that happens to be someone from the Wine community (I might attempt it but I make no promises), it doesn't change the process.
https://bugs.winehq.org/show_bug.cgi?id=30940
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |mscoree Ever confirmed|0 |1
--- Comment #10 from Austin English austinenglish@gmail.com --- Still present.
[austin@localhost ~]$ sha1sum Tween1200.zip c3ea9c75b70a73de774a9345576e89b75dfdde18 Tween1200.zip [austin@localhost ~]$ du -h Tween1200.zip 1.2M Tween1200.zip [austin@localhost ~]$ wine --version wine-1.7.28-107-g0eec97e
https://bugs.winehq.org/show_bug.cgi?id=30940
Teras teras@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |teras@luukku.com
--- Comment #11 from Teras teras@luukku.com --- The same 1.7.38
https://bugs.winehq.org/show_bug.cgi?id=30940
winetaste@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetaste@gmx.net
--- Comment #12 from winetaste@gmx.net --- MS is opening source for Windows Forms for .NET Core: https://github.com/dotnet/winforms . Same for WPF (see Bug 24501 ) and WinUI for UWP apps.
Will this work with wine-mono/mono easily? Or is this a reason to migrate to .NET Core?
https://bugs.winehq.org/show_bug.cgi?id=30940
--- Comment #13 from winetaste@gmx.net --- Created attachment 64416 --> https://bugs.winehq.org/attachment.cgi?id=64416 ouput
https://bugs.winehq.org/show_bug.cgi?id=30940
--- Comment #14 from winetaste@gmx.net --- Wine seems to fix some problems, but now I get: "libgluezilla not found. To have webbrowser support, you need libgluezilla installed" see Bug 30988
https://bugs.winehq.org/show_bug.cgi?id=30940
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Could not start Tween.exe |Tween 1.2.0.0 (.NET 4.0 |using wine-mono |app) fails to start with | |Wine-Mono (reports | |'System.InvalidOperationExc | |eption' at | |'System.Windows.Forms.Table | |LayoutPanel.set_LayoutSetti | |ngs') URL|http://sourceforge.jp/proje |https://web.archive.org/web |cts/tween |/20190512064413/http://rwth | |aachen.dl.osdn.jp/tween/539 | |16/Tween1200.zip
--- Comment #15 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable link from Internet Archive for Tween 1.2.0.0
https://web.archive.org/web/20190512064413/http://rwthaachen.dl.osdn.jp/twee...
--- snip --- $ WINE_MONO_TRACE=x,wrapper WINEDEBUG=+seh,+loaddll wine ./Tween.exe >>log.txt 2>&1 ... 0046:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.0" not implemented 0046:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\bcrypt.dll" at 0x7cbd0000: builtin 0046:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\msvcrt.dll" at 0x7cab0000: builtin 0046:trace:loaddll:load_native_dll Loaded L"C:\windows\system32\PSAPI.DLL" at 0x6aec0000: PE builtin 0046:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\msacm32.dll" at 0x7c980000: builtin 0046:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\winmm.dll" at 0x7c9c0000: builtin 0046:trace:loaddll:load_native_dll Loaded L"C:\windows\mono\mono-2.0\bin\libmono-2.0-x86.dll" at 0x6c540000: native 0046:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\fusion.dll" at 0x7c950000: builtin 0046:trace:loaddll:load_native_dll Loaded L"C:\windows\mono\mono-2.0\lib\mono\4.5\mscorlib.dll" at 0x1b00000: native 0046:trace:loaddll:load_native_dll Loaded L"C:\windows\mono\mono-2.0\lib\mono\gac\Microsoft.VisualBasic\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll" at 0x2130000: native 0046:trace:loaddll:load_native_dll Loaded L"C:\windows\mono\mono-2.0\lib\mono\gac\System\4.0.0.0__b77a5c561934e089\System.dll" at 0x10000000: native 0046:trace:loaddll:load_native_dll Loaded L"C:\windows\mono\mono-2.0\lib\mono\gac\System.Windows.Forms\4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" at 0x2190000: native 0046:trace:loaddll:load_native_dll Loaded L"C:\windows\mono\mono-2.0\lib\mono\gac\System.Core\4.0.0.0__b77a5c561934e089\System.Core.dll" at 0x2460000: native ... [00000046:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load the file 'UIAutomationWinforms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f4ceacb585d99812'. ... 0046:trace:loaddll:load_native_dll Loaded L"C:\windows\mono\mono-2.0\lib\mono\gac\Mono.WebBrowser\4.0.0.0__0738eb9f132ed756\Mono.WebBrowser.dll" at 0x5360000: native ... [00000046: 6.95513 8] ENTER: (wrapper managed-to-native) Mono.Mozilla.Base:gluezilla_init (Mono.WebBrowser.Platform,Mono.WebBrowser.Platform&)(1, [BYREF:0034E564], ) [00000046: 6.95528 9] ENTER: (wrapper managed-to-native) object:__icall_wrapper_mono_string_new_wrapper_internal (intptr)(033D2980, ) [00000046: 6.95530 9] LEAVE: (wrapper managed-to-native) object:__icall_wrapper_mono_string_new_wrapper_internal (intptr)[STRING:00FBC8C8:gluezilla assembly:<unknown assembly> type:<unknown type> member:(null)] [00000046:] EXCEPTION handling: System.DllNotFoundException: gluezilla assembly:<unknown assembly> type:<unknown type> member:(null) ... [00000046:] EXCEPTION handling: System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound] [00000046: 8.04446 10] ENTER: (wrapper managed-to-native) object:__icall_wrapper_ves_icall_object_new_specific (intptr)(026EC7E8, ) [00000046: 8.04447 10] LEAVE: (wrapper managed-to-native) object:__icall_wrapper_ves_icall_object_new_specific (intptr)[System.Drawing.FontFamily:00CDC450] [00000046: 8.04484 10] ENTER: (wrapper managed-to-native) System.Drawing.GDIPlus:GdipGetGenericFontFamilySansSerif (intptr&)([BYREF:00CDC460], ) [00000046: 8.04500 10] LEAVE: (wrapper managed-to-native) System.Drawing.GDIPlus:GdipGetGenericFontFamilySansSerif (intptr&)result=0 [00000046: 8.04502 10] ENTER: (wrapper managed-to-native) object:__icall_wrapper_mono_thread_get_undeniable_exception ()() [00000046: 8.04502 10] LEAVE: (wrapper managed-to-native) object:__icall_wrapper_mono_thread_get_undeniable_exception ()[OBJECT:00000000] [00000046: 8.04503 10] ENTER: (wrapper managed-to-native) System.Drawing.GDIPlus:GdipGetFamilyName (intptr,intptr,int)(057568F0, 0034D9B0, 0, ) [00000046: 8.04504 10] LEAVE: (wrapper managed-to-native) System.Drawing.GDIPlus:GdipGetFamilyName (intptr,intptr,int)result=0 ... 0046:trace:loaddll:load_native_dll Loaded L"C:\windows\mono\mono-2.0\lib\mono\gac\System.Runtime.Caching\4.0.0.0__b03f5f7f11d50a3a\System.Runtime.Caching.dll" at 0x5d50000: native [00000046: 11.10130 9] ENTER: (wrapper managed-to-native) System.Windows.Forms.XplatUIWin32:Win32ShowWindow (intptr,System.Windows.Forms.XplatUIWin32/WindowPlacementFlags)(000400B4, 0, ) [00000046: 11.10133 9] LEAVE: (wrapper managed-to-native) System.Windows.Forms.XplatUIWin32:Win32ShowWindow (intptr,System.Windows.Forms.XplatUIWin32/WindowPlacementFlags)result=00000000 [00000046: 11.10178 9] ENTER: (wrapper managed-to-native) object:__icall_wrapper___emul_lmul (long,long)(0x0000000000000000, 0x0000000000000010, ) [00000046: 11.10180 9] LEAVE: (wrapper managed-to-native) object:__icall_wrapper___emul_lmul (long,long)lresult=0x 0 ... [00000046: 11.10291 9] ENTER: (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers:GetObjectValue (object)([System.Object:00F9E328], ) [00000046: 11.10294 9] LEAVE: (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers:GetObjectValue (object)[System.Object:00F9E328] [00000046: 11.11679 9] ENTER: (wrapper managed-to-native) System.Threading.Thread:SleepInternal (int)(100, ) [00000046: 11.21701 9] LEAVE: (wrapper managed-to-native) System.Threading.Thread:SleepInternal (int) [00000046: 11.22122 9] ENTER: (wrapper managed-to-native) System.Windows.Forms.XplatUIWin32:Win32PeekMessage (System.Windows.Forms.MSG&,intptr,int,int,uint)([BYREF:0034E6F0], )
<message loop repeats endlessly without UI shown> ... --- snip ---
It doesn't get to the point anymore where 'Tween.TabsDialog' is instanciated.
Using the issue from comment #4 here.
--- snip --- Unhandled Exception: System.InvalidOperationException: WinForms_SeeInnerException ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotSupportedException: LayoutSettings value cannot be set directly.
at System.Windows.Forms.TableLayoutPanel.set_LayoutSettings (System.Windows.Forms.TableLayoutSettings value) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MonoProperty.SetValue (System.Object obj, System.Object value, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] index, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.PropertyInfo.SetValue (System.Object obj, System.Object value, System.Object[] index) [0x00000] in <filename unknown>:0
at System.ComponentModel.ComponentResourceManager.ApplyResources (System.Object value, System.String objectName, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.ComponentModel.ComponentResourceManager.ApplyResources (System.Object value, System.String objectName) [0x00000] in <filename unknown>:0
at Tween.TabsDialog.InitializeComponent () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Tween.TabsDialog:InitializeComponent ()
at Tween.TabsDialog..ctor (Boolean multiselect) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Tween.TabsDialog:.ctor (bool)
at Tween.FilterDialog..ctor () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Tween.FilterDialog:.ctor ()
at Tween.TweenMain..ctor () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace --- --- snip ---
https://bugzilla.novell.com/show_bug.cgi?id=497562 (abandoned tracker?)
$ sha1sum Tween1200.zip c3ea9c75b70a73de774a9345576e89b75dfdde18 Tween1200.zip
$ du -sh Tween1200.zip 1.2M Tween1200.zip
$ wine --version wine-4.8
Regards
https://bugs.winehq.org/show_bug.cgi?id=30940
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=30940
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #16 from joaopa jeremielapuree@yahoo.fr --- Created attachment 70978 --> https://bugs.winehq.org/attachment.cgi?id=70978 console output
Bug still occurs with with wine-6.20
https://bugs.winehq.org/show_bug.cgi?id=30940
--- Comment #17 from joaopa jeremielapuree@yahoo.fr --- Umm crash did not appear in the log
Unhandled Exception: System.ComponentModel.Win32Exception (0x80004005): Mauvais format EXE pour %1.
at System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) [0x00102] in <546f3de1e5a24a2fadcc0d4150fcc018>:0 at System.Diagnostics.Process.Start () [0x00032] in <546f3de1e5a24a2fadcc0d4150fcc018>:0 at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start() at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x0001b] in <546f3de1e5a24a2fadcc0d4150fcc018>:0 at System.Diagnostics.Process.Start (System.String fileName) [0x00006] in <546f3de1e5a24a2fadcc0d4150fcc018>:0 at Tween.MyCommon.ExceptionOut (System.Exception ex) [0x001df] in <8c6b7ce36eb3413392c524bf588b0a21>:0 at Tween.My.MyApplication.MyApplication_UnhandledException (System.Object sender, Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs e) [0x00039] in <8c6b7ce36eb3413392c524bf588b0a21>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.raise_UnhandledException (System.Object sender, Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs e) [0x00037] in <0b051c33cd46419e88a7c0b722422188>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnUnhandledException (Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs e) [0x0001e] in <0b051c33cd46419e88a7c0b722422188>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnUnhandledExceptionEventAdaptor (System.Object sender, System.Threading.ThreadExceptionEventArgs e) [0x0000e] in <0b051c33cd46419e88a7c0b722422188>:0 at System.Windows.Forms.Application+ThreadContext.OnThreadException (System.Exception t) [0x0003a] in <cee14d93d65d43acb1c93793b46e63c3>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Application+ThreadContext.OnThreadException(System.Exception) at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x00006] in <cee14d93d65d43acb1c93793b46e63c3>:0 at System.Windows.Forms.Timer+TimerNativeWindow.OnThreadException (System.Exception e) [0x00001] in <cee14d93d65d43acb1c93793b46e63c3>:0 at System.Windows.Forms.NativeWindow.Callback (System.Windows.Forms.Message& m) [0x0003f] in <cee14d93d65d43acb1c93793b46e63c3>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.NativeWindow.Callback(System.Windows.Forms.Message&) at System.Windows.Forms.NativeWindowProc.Callback (System.IntPtr hWnd, System.Int32 msg, System.IntPtr wparam, System.IntPtr lparam) [0x00037] in <cee14d93d65d43acb1c93793b46e63c3>:0 at (wrapper native-to-managed) System.Windows.Forms.NativeWindowProc.Callback(intptr,int,intptr,intptr) at (wrapper managed-to-native) System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(System.Windows.Forms.NativeMethods/MSG&) at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop (System.IntPtr dwComponentID, System.Int32 reason, System.Int32 pvLoopData) [0x001d7] in <cee14d93d65d43acb1c93793b46e63c3>:0 at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner (System.Int32 reason, System.Windows.Forms.ApplicationContext context) [0x00282] in <cee14d93d65d43acb1c93793b46e63c3>:0 at System.Windows.Forms.Application+ThreadContext.RunMessageLoop (System.Int32 reason, System.Windows.Forms.ApplicationContext context) [0x0001a] in <cee14d93d65d43acb1c93793b46e63c3>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Application+ThreadContext.RunMessageLoop(int,System.Windows.Forms.ApplicationContext) at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00006] in <cee14d93d65d43acb1c93793b46e63c3>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00044] in <0b051c33cd46419e88a7c0b722422188>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel () [0x00058] in <0b051c33cd46419e88a7c0b722422188>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x0001b] in <0b051c33cd46419e88a7c0b722422188>:0 at Tween.My.MyApplication.Main (System.String[] Args) [0x00012] in <8c6b7ce36eb3413392c524bf588b0a21>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.ComponentModel.Win32Exception (0x80004005): Mauvais format EXE pour %1.
at System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) [0x00102] in <546f3de1e5a24a2fadcc0d4150fcc018>:0 at System.Diagnostics.Process.Start () [0x00032] in <546f3de1e5a24a2fadcc0d4150fcc018>:0 at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start() at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x0001b] in <546f3de1e5a24a2fadcc0d4150fcc018>:0 at System.Diagnostics.Process.Start (System.String fileName) [0x00006] in <546f3de1e5a24a2fadcc0d4150fcc018>:0 at Tween.MyCommon.ExceptionOut (System.Exception ex) [0x001df] in <8c6b7ce36eb3413392c524bf588b0a21>:0 at Tween.My.MyApplication.MyApplication_UnhandledException (System.Object sender, Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs e) [0x00039] in <8c6b7ce36eb3413392c524bf588b0a21>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.raise_UnhandledException (System.Object sender, Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs e) [0x00037] in <0b051c33cd46419e88a7c0b722422188>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnUnhandledException (Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs e) [0x0001e] in <0b051c33cd46419e88a7c0b722422188>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnUnhandledExceptionEventAdaptor (System.Object sender, System.Threading.ThreadExceptionEventArgs e) [0x0000e] in <0b051c33cd46419e88a7c0b722422188>:0 at System.Windows.Forms.Application+ThreadContext.OnThreadException (System.Exception t) [0x0003a] in <cee14d93d65d43acb1c93793b46e63c3>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Application+ThreadContext.OnThreadException(System.Exception) at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x00006] in <cee14d93d65d43acb1c93793b46e63c3>:0 at System.Windows.Forms.Timer+TimerNativeWindow.OnThreadException (System.Exception e) [0x00001] in <cee14d93d65d43acb1c93793b46e63c3>:0 at System.Windows.Forms.NativeWindow.Callback (System.Windows.Forms.Message& m) [0x0003f] in <cee14d93d65d43acb1c93793b46e63c3>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.NativeWindow.Callback(System.Windows.Forms.Message&) at System.Windows.Forms.NativeWindowProc.Callback (System.IntPtr hWnd, System.Int32 msg, System.IntPtr wparam, System.IntPtr lparam) [0x00037] in <cee14d93d65d43acb1c93793b46e63c3>:0 at (wrapper native-to-managed) System.Windows.Forms.NativeWindowProc.Callback(intptr,int,intptr,intptr) at (wrapper managed-to-native) System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(System.Windows.Forms.NativeMethods/MSG&) at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop (System.IntPtr dwComponentID, System.Int32 reason, System.Int32 pvLoopData) [0x001d7] in <cee14d93d65d43acb1c93793b46e63c3>:0 at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner (System.Int32 reason, System.Windows.Forms.ApplicationContext context) [0x00282] in <cee14d93d65d43acb1c93793b46e63c3>:0 at System.Windows.Forms.Application+ThreadContext.RunMessageLoop (System.Int32 reason, System.Windows.Forms.ApplicationContext context) [0x0001a] in <cee14d93d65d43acb1c93793b46e63c3>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Application+ThreadContext.RunMessageLoop(int,System.Windows.Forms.ApplicationContext) at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00006] in <cee14d93d65d43acb1c93793b46e63c3>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00044] in <0b051c33cd46419e88a7c0b722422188>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel () [0x00058] in <0b051c33cd46419e88a7c0b722422188>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x0001b] in <0b051c33cd46419e88a7c0b722422188>:0
https://bugs.winehq.org/show_bug.cgi?id=30940
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|mscoree |ieframe
--- Comment #18 from Esme Povirk madewokherd@gmail.com --- Using wine-mono from the develop branch, the application now fails to initialize due to an unsupported service on the WebBrowser control:
0024:fixme:ieframe:WBServiceProvider_QueryService (006DCF20)->({cb728b20-f786-11ce-92ad-00aa00a74cd0}, {cb728b20-f786-11ce-92ad-00aa00a74cd0} 035CFED4) [00000024:] EXCEPTION handling: System.ArgumentNullException: Value cannot be null.
https://bugs.winehq.org/show_bug.cgi?id=30940
--- Comment #19 from Anastasius Focht focht@gmx.net --- Hello folks,
looks like we're aiming here for a new record to recycle as much as possible different issues in one bug report.
https://wiki.winehq.org/Mono#Versions
OP's bug report started with Wine 1.5.5 = Wine-Mono 0.0.4
The app refuses to start because Mono is not installed by default:
--- snip --- fixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L"v4.0" wine: Install Mono 2.8 or greater for Windows to run .NET 4.0 applications. --- snip ---
With Mono 2.8 installed from:
https://download.mono-project.com/archive/2.8/windows-installer/9/mono-2.8-g...
--- snip --- fixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L"v4.0" Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The entry point method could not be loaded --- snip ---
With Mono 2.10 installed from:
https://download.mono-project.com/archive/2.10.8/windows-installer/1/mono-2....
https://github.com/Winetricks/winetricks/commit/b0b1b167910c922d46bfadeeb200... ("winetricks: remove mono210, wine ships its own (and it is outdated)")
One gets to OP's backtrace:
--- snip --- Unhandled Exception: System.InvalidOperationException: WinForms_SeeInnerException ---> System.TypeInitializationException: An exception was thrown by the type initializer for Tween.AppendSettingDialog ---> System.OutOfMemoryException: Not enough memory to complete operation [GDI+ status: OutOfMemory] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0 at System.Drawing.Text.InstalledFontCollection..ctor () [0x00000] in <filename unknown>:0 at System.Drawing.FontFamily.get_Families () [0x00000] in <filename unknown>:0 at System.Windows.Forms.FontDialog.PopulateFontList () [0x00000] in <filename unknown>:0 at System.Windows.Forms.FontDialog..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.FontDialog:.ctor () at Tween.AppendSettingDialog.InitializeComponent () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) Tween.AppendSettingDialog:InitializeComponent () at Tween.AppendSettingDialog..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) Tween.AppendSettingDialog:.ctor () at Tween.AppendSettingDialog..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at Tween.TweenMain..ctor () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at Tween.My.MyProject+MyForms.Create__Instance__[TweenMain] (Tween.TweenMain Instance) [0x00000] in <filename unknown>:0 at Tween.My.MyProject+MyForms.get_TweenMain () [0x00000] in <filename unknown>:0 at Tween.My.MyApplication.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 Tween.My.MyApplication.Main (System.String[] Args) [0x00000] in <filename unknown>:0 --- snip ---
Starting with Wine 1.5.6 release, Wine-Mono 0.0.4 gets installed by default which makes explicit Mono install unnecessary.
https://source.winehq.org/git/wine.git/commitdiff/1e721a487775a2f306512a7c71... ("mscoree: Install Wine Mono on prefix update.")
Same backtrace as comment #0
OP's initial problem was fixed in Wine 1.5.7 release.
https://source.winehq.org/git/wine.git/commitdiff/ac38e69a92a443759cc8fb3291... ("gdiplus: Accept wider range of fonts.")
Qian's problem from comment #4:
'System.InvalidOperationException' at 'System.Windows.Forms.TableLayoutPanel.set_LayoutSettings'
This was fixed in Wine 1.7.32 release with the upgrade of Wine-Mono to 4.5.4
--- snip --- libgluezilla not found. To have webbrowser support, you need libgluezilla installed --- snip ---
This was fixed in Wine 4.11 release with the upgrade of Wine-Mono to 4.9.0
Next issue:
--- snip --- Unhandled Exception: System.InvalidOperationException: WinForms_SeeInnerException ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Loading of the ImageList did not succeed. at System.Windows.Forms.ImageListStreamer..ctor (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) [0x000d8] in <f2e4db7870624d78b14241d9fb824211>:0 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 System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x0001a] in <6cc67c6253564d2282cafa9c7a2b691e>:0 at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007a] in <6cc67c6253564d2282cafa9c7a2b691e>:0 at System.Reflection.RuntimeConstructorInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0002f] in <6cc67c6253564d2282cafa9c7a2b691e>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <6cc67c6253564d2282cafa9c7a2b691e>:0 at System.Reflection.RuntimeConstructorInfo.SerializationInvoke (System.Object target, System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) [0x00000] in <6cc67c6253564d2282cafa9c7a2b691e>:0 ... 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 Tween.My.MyProject+MyForms.Create__Instance__[T] (T Instance) [0x000c6] in <8c6b7ce36eb3413392c524bf588b0a21>:0 at Tween.My.MyProject+MyForms.get_TweenMain () [0x00000] in <8c6b7ce36eb3413392c524bf588b0a21>:0 at Tween.My.MyApplication.OnCreateMainForm () [0x00006] in <8c6b7ce36eb3413392c524bf588b0a21>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00010] in <8173e6b4976949eb9519e73fb97840ac>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00001] in <8173e6b4976949eb9519e73fb97840ac>:0 at Tween.My.MyApplication.Main (System.String[] Args) [0x00012] in <8c6b7ce36eb3413392c524bf588b0a21>:0 --- snip ---
This was fixed in Wine 4.14 release with the upgrade of Wine-Mono to 4.9.2
Another hang turned into a crash with Wine 4.20 release with the upgrade of Wine-Mono to 4.9.4
--- sni --- wine: Unhandled page fault on read access to 7FFDEFFE at address 7E949347 (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0x7ffdeffe in 32-bit code (0x7e949347). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7e949347 ESP:0032fac0 EBP:0032ff28 EFLAGS:00010202( R- -- I - - - ) EAX:00000000 EBX:0013c3c0 ECX:00000001 EDX:7ffdf000 ESI:7ffdf000 EDI:0032fd08 ... Backtrace: =>0 0x7e949347 _CorExeMain+0x547() [Z:\home\focht\projects\wine\mainline-src-4.20\dlls\mscoree\corruntimehost.c:1485] in mscoree (0x0032ff28) 1 0x7b460d62 call_process_entry+0x11() in kernel32 (0x0032ff48) 2 0x7b461130 start_process+0xdf(peb=<couldn't compute location>) [Z:\home\focht\projects\wine\mainline-src-4.20\dlls\kernel32\process.c:186] in kernel32 (0x0032ffd8) 3 0x7b460d6e start_process_wrapper+0x9() in kernel32 (0x0032ffec) 0x7e949347 _CorExeMain+0x547 [Z:\home\focht\projects\wine\mainline-src-4.20\dlls\mscoree\corruntimehost.c:1485] in mscoree: cmpw $59,0xfffffffe(%esi,%eax,2) 1485 if (parsed_config.private_path[wcslen(parsed_config.private_path) - 1] != ';') number_of_private_paths++; --- snip ---
It was fixed in Wine 5.0-rc1 release but turned again into a hang.
With Wine 5.11 release which brought the upgrade of Wine-Mono to 4.9.0 it run a bit farther but still hang.
The hang was fixed in Wine 6.6 with the upgrade of Wine-Mono to 6.1.1
There is an error dialog on startup which can be dismissed and the main UI showed up for the first time.
Missing support for webbrowser 'IProfferService':
--- snip --- System.ArgumentNullException: Value cannot be null. Parameter name: pUnk at System.Runtime.InteropServices.Marshal.QueryInterface (System.IntPtr pUnk, System.Guid& iid, System.IntPtr& ppv) [0x0000d] in <a9da539eb2f94b1a84ab84db52450d46>:0 at Mono.Interop.ComInteropProxy.GetProxy (System.IntPtr pItf, System.Type t) [0x00006] in <a9da539eb2f94b1a84ab84db52450d46>:0 at System.Runtime.InteropServices.Marshal.GetObjectForIUnknown (System.IntPtr pUnk) [0x0000a] in <a9da539eb2f94b1a84ab84db52450d46>:0 at Tween.InternetSecurityManager..ctor (System.Windows.Forms.WebBrowser _WebBrowser) [0x000d0] in <8c6b7ce36eb3413392c524bf588b0a21>:0 at Tween.TweenMain.Form1_Load (System.Object sender, System.EventArgs e) [0x00015] in <8c6b7ce36eb3413392c524bf588b0a21>:0 at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x000d1] in <6a1e633bae3948029e60057de3abb3fd>:0 at System.Windows.Forms.Form.OnCreateControl () [0x00031] in <6a1e633bae3948029e60057de3abb3fd>:0 at System.Windows.Forms.Control.CreateControl (System.Boolean fIgnoreVisible) [0x000ed] in <6a1e633bae3948029e60057de3abb3fd>:0 at System.Windows.Forms.Control.CreateControl () [0x00008] in <6a1e633bae3948029e60057de3abb3fd>:0 at System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms.Message& m) [0x00051] in <6a1e633bae3948029e60057de3abb3fd>:0 at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x0071b] in <6a1e633bae3948029e60057de3abb3fd>:0 at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00043] in <6a1e633bae3948029e60057de3abb3fd>:0 at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x0001a] in <6a1e633bae3948029e60057de3abb3fd>:0 at System.Windows.Forms.Form.WmShowWindow (System.Windows.Forms.Message& m) [0x00013] in <6a1e633bae3948029e60057de3abb3fd>:0 at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x00290] in <6a1e633bae3948029e60057de3abb3fd>:0 at System.Windows.Forms.Control+ControlNativeWindow.OnMessage (System.Windows.Forms.Message& m) [0x00001] in <6a1e633bae3948029e60057de3abb3fd>:0 at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x000b3] in <6a1e633bae3948029e60057de3abb3fd>:0 at System.Windows.Forms.NativeWindow.Callback (System.Windows.Forms.Message& m) [0x00025] in <6a1e633bae3948029e60057de3abb3fd>:0 ... --- snip ---
Another, non-fatal error when clicking main menu items:
--- snip --- System.NullReferenceException: Object reference not set to an instance of an object at Tween.TweenMain.MenuItemEdit_DropDownOpening (System.Object sender, System.EventArgs e) [0x00000] in <8c6b7ce36eb3413392c524bf588b0a21>:0 at System.Windows.Forms.ToolStripDropDownItem.OnDropDownShow (System.EventArgs e) [0x00020] in <6a1e633bae3948029e60057de3abb3fd>:0 at System.Windows.Forms.ToolStripMenuItem.OnDropDownShow (System.EventArgs e) [0x00029] in <6a1e633bae3948029e60057de3abb3fd>:0 at System.Windows.Forms.ToolStripDropDownItem.ShowDropDownInternal () [0x0001f] in <6a1e633bae3948029e60057de3abb3fd>:0 ... --- snip ---
That one was fixed in Wine 6.14 release with the upgrade of Wine-Mono to 6.3.0
Another crash, matching comment #17
--- snip --- Unhandled Exception: System.ComponentModel.Win32Exception (0x80004005): Bad EXE format for %1.
at System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) [0x00102] in <0c924620d2cd4b85a989ca168d44cf08>:0 at System.Diagnostics.Process.Start () [0x00032] in <0c924620d2cd4b85a989ca168d44cf08>:0 at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start() at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x0001b] in <0c924620d2cd4b85a989ca168d44cf08>:0 at System.Diagnostics.Process.Start (System.String fileName) [0x00006] in <0c924620d2cd4b85a989ca168d44cf08>:0 at Tween.MyCommon.ExceptionOut (System.Exception ex) [0x001df] in <8c6b7ce36eb3413392c524bf588b0a21>:0 at Tween.My.MyApplication.MyApplication_UnhandledException (System.Object sender, Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs e) [0x00039] in <8c6b7ce36eb3413392c524bf588b0a21>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.raise_UnhandledException (System.Object sender, Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs e) [0x00037] in <c87c6bce56f94b189b597cb46966522f>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnUnhandledException (Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs e) [0x0001e] in <c87c6bce56f94b189b597cb46966522f>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnUnhandledExceptionEventAdaptor (System.Object sender, System.Threading.ThreadExceptionEventArgs e) [0x0000e] in <c87c6bce56f94b189b597cb46966522f>:0 at System.Windows.Forms.Application+ThreadContext.OnThreadException (System.Exception t) [0x0003a] in <549c758871b2437dae49530d4382de22>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Application+ThreadContext.OnThreadException(System.Exception) at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x00006] in <549c758871b2437dae49530d4382de22>:0 at System.Windows.Forms.Control.WndProcException (System.Exception e) [0x00001] in <549c758871b2437dae49530d4382de22>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.WndProcException(System.Exception) at System.Windows.Forms.Control+ControlNativeWindow.OnThreadException (System.Exception e) [0x00001] in <549c758871b2437dae49530d4382de22>:0 at System.Windows.Forms.NativeWindow.Callback (System.Windows.Forms.Message& m) [0x0003f] in <549c758871b2437dae49530d4382de22>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.NativeWindow.Callback(System.Windows.Forms.Message&) at System.Windows.Forms.NativeWindowProc.Callback (System.IntPtr hWnd, System.Int32 msg, System.IntPtr wparam, System.IntPtr lparam) [0x00037] in <549c758871b2437dae49530d4382de22>:0 at (wrapper native-to-managed) System.Windows.Forms.NativeWindowProc.Callback(intptr,int,intptr,intptr) at (wrapper managed-to-native) System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(System.Windows.Forms.NativeMethods/MSG&) at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop (System.IntPtr dwComponentID, System.Int32 reason, System.Int32 pvLoopData) [0x001d7] in <549c758871b2437dae49530d4382de22>:0 at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner (System.Int32 reason, System.Windows.Forms.ApplicationContext context) [0x00282] in <549c758871b2437dae49530d4382de22>:0 at System.Windows.Forms.Application+ThreadContext.RunMessageLoop (System.Int32 reason, System.Windows.Forms.ApplicationContext context) [0x0001a] in <549c758871b2437dae49530d4382de22>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Application+ThreadContext.RunMessageLoop(int,System.Windows.Forms.ApplicationContext) at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00006] in <549c758871b2437dae49530d4382de22>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00044] in <c87c6bce56f94b189b597cb46966522f>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel () [0x00058] in <c87c6bce56f94b189b597cb46966522f>:0 at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x0001b] in <c87c6bce56f94b189b597cb46966522f>:0 at Tween.My.MyApplication.Main (System.String[] Args) [0x00012] in <8c6b7ce36eb3413392c524bf588b0a21>:0 --- snip ---
This is a secondary bug though, caused by the builtin bug reporter tool.
The current issue from Esme's comment #18 is the one mentioned earlier: missing support for webbrowser 'IProfferService'.
--- snip --- 0024:fixme:ieframe:WBServiceProvider_QueryService (0026FD90)->({cb728b20-f786-11ce-92ad-00aa00a74cd0}, {cb728b20-f786-11ce-92ad-00aa00a74cd0} 02DA5F94) [00000024:] EXCEPTION handling: System.ArgumentNullException: Value cannot be null. Parameter name: pUnk --- snip ---
Wine source:
https://source.winehq.org/git/wine.git/blob/86eaf7eeb2603d1b13d18e3fe71a615e...
The corresponding app C# code:
https://github.com/opentween/OpenTween/blob/master/OpenTween/WebBrowserContr...
--- snip --- ... public InternetSecurityManager(WebBrowser _WebBrowser) { // ActiveXコントロール取得 _WebBrowser.Url = new Uri("about:blank"); //ActiveXを初期化する
do { Thread.Sleep(100); Application.DoEvents(); } while (_WebBrowser.ReadyState != WebBrowserReadyState.Complete);
ocx = _WebBrowser.ActiveXInstance;
// IServiceProvider.QueryService() を使って IProfferService を取得 ocxServiceProvider = (WebBrowserAPI.IServiceProvider)ocx;
try { ocxServiceProvider.QueryService( ref WebBrowserAPI.SID_SProfferService, ref WebBrowserAPI.IID_IProfferService, out profferServicePtr); } catch (SEHException ex) { MyCommon.TraceOut(ex, "ocxServiceProvider.QueryService() HRESULT:" + ex.ErrorCode.ToString("X8") + Environment.NewLine); return; } catch (ExternalException ex) { MyCommon.TraceOut(ex, "ocxServiceProvider.QueryService() HRESULT:" + ex.ErrorCode.ToString("X8") + Environment.NewLine); return; }
profferService = (WebBrowserAPI.IProfferService)Marshal.GetObjectForIUnknown(profferServicePtr);
// IProfferService.ProfferService() を使って // 自分を IInternetSecurityManager として提供 try { profferService.ProfferService( ref WebBrowserAPI.IID_IInternetSecurityManager, this, out var cookie); } catch (SEHException ex) { MyCommon.TraceOut(ex, "IProfferSerive.ProfferService() HRESULT:" + ex.ErrorCode.ToString("X8") + Environment.NewLine); return; } catch (ExternalException ex) { MyCommon.TraceOut(ex, "IProfferSerive.ProfferService() HRESULT:" + ex.ErrorCode.ToString("X8") + Environment.NewLine); return; } } --- snip ---
So what now? Are we going to continue to recycle the bug over and over again? The summary doesn't make any sense as of now.
Eiher we reuse it one last time for missing webbrowser 'IProfferService' support which warrants some correction of the title or we use one of the earlier issues as resolution and call it a day here.
$ wine --version wine-7.0-rc5
Regards
https://bugs.winehq.org/show_bug.cgi?id=30940
--- Comment #20 from Esme Povirk madewokherd@gmail.com --- Well, it's still failing to start up. The way we fail to produce an IProfferService instance doesn't raise any exception, so those catches have no effect, the actual exception is never caught, and the end result is that Form1_Load is interrupted before it can really do anything.
That method is here: https://github.com/opentween/Tween_CodeRepos/blob/2fbfaabb01f611fd8433d7425a...
While it is technically possible to dismiss the error see a form, without any of the initialization, it'd be surprising if any of it actually works.