[Bug 30940] Tween 1.2.0.0 (.NET 4.0 app) fails to start with Wine-Mono ( reports 'System.InvalidOperationException' at ' System.Windows.Forms.TableLayoutPanel.set_LayoutSettings')

wine-bugs at winehq.org wine-bugs at winehq.org
Sun May 12 03:00:46 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=30940

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at 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 at 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/tween/53916/Tween1200.zip

--- 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

-- 
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.


More information about the wine-bugs mailing list