[Bug 34843] Garmin BaseCamp 4.1.2 fails due to unimplemented gdiplus.GdipCreateRegionRgnData

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Dec 1 11:18:19 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=34843

--- Comment #5 from Anastasius Focht <focht at gmx.net> 2013-12-01 11:18:19 CST ---
Hello Dmitry,

--- quote ---
BaseCamp.exe and its dlls don't even import
that symbol. Probably the actual call is made by some .net component?
--- quote ---

running this thing under managed debugger yields the following before the
crash:

--- snip ---
...
(2a.2b): CLR exception - code e0434f4d (first chance)
...
OS Thread Id: 0x2b (0)
ESP       EIP     
0033e974 7b83a8ef [HelperMethodFrame: 0033e974] 
0033ea18 0fab889d
System.Drawing.Region..ctor(System.Drawing.Drawing2D.RegionData)
0033ea2c 08fe0ab9 bc.OnscreenControl_t.UpdateControlVisibility()
0033ea3c 0fab8765 bc.OnscreenControl_t.HandleTick(System.Object,
System.EventArgs)
0033ea44 0faf641f System.Windows.Forms.Timer.OnTick(System.EventArgs)
0033ea4c 08cb4028
System.Windows.Forms.Timer+TimerNativeWindow.WndProc(System.Windows.Forms.Message
ByRef)
0033ea5c 08029d07 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr,
Int32, IntPtr, IntPtr)
0033ecc4 02cd712b [NDirectMethodFrameStandalone: 0033ecc4]
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
0033ecd4 087f645c
System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32,
Int32, Int32)
0033ed70 087de2a5
System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32,
System.Windows.Forms.ApplicationContext)
0033edb8 087ddffb
System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32,
System.Windows.Forms.ApplicationContext)
0033ede8 09009ec1
System.Windows.Forms.Application.Run(System.Windows.Forms.Form)
0033edfc 06954fd7 <Module>.main(System.String[])
0033f2ac 06953e1f <Module>.mainCRTStartupStrArray(System.String[])
0033f4fc 02df1b4c [GCFrame: 0033f4fc] 
(2a.2b): Unknown exception - code 80000100 (first chance)
(2a.2b): Unknown exception - code 80000100 (first chance)
(2a.2b): Unknown exception - code 80000100 (first chance)
(2a.2b): Unknown exception - code 80000100 (first chance)
(2a.2b): CLR exception - code e0434f4d (first chance)
...
--- snip ---

The .NET Framework libs just pass the region data to gdiplus.
The main assembly 'BaseCamp.exe' (32 MiB) refuses to load in ILSpy but
fortunately some free old (pre-commercial) .NET Reflector 6 version can
decompile it.

Looks like C++/CLI code compiled to CLR bytecode.
I'll attach a snippet of the code that is used to create the region data.

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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