[Bug 26729] New: Google Sketchup Layout crashes on main menu (GdipGetPathGradientSurroundColorCount and GdipSetPathGradientSurroundColorsWithCount stubs)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 11 15:43:03 CDT 2011


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

           Summary: Google Sketchup Layout crashes on main menu
                    (GdipGetPathGradientSurroundColorCount and
                    GdipSetPathGradientSurroundColorsWithCount stubs)
           Product: Wine
           Version: 1.3.17
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdiplus
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net


Hello,

now that TIFF encoder is in, the layout app crashes whenever main menu is about
to be displayed.
The reason are gdiplus GdipGetPathGradientSurroundColorCount and
GdipSetPathGradientSurroundColorsWithCount stubs.
Unfortunately this problem isn't really visible due to missing FIXME in
GdipGetPathGradientSurroundColorCount (+relay/+gdiplus will take ages until the
point due to excessive calls).

Fortunately using debugging tools and some nifty exception script that logs
only unmanaged/managed exceptions with backtraces and comes across the
following:

--- snip ---
...
0027:trace:seh:raise_exception code=e0434f4d flags=1 addr=0x7b83863f
ip=7b83863f tid=0027
0027:trace:seh:raise_exception  info[0]=80004001
0027:trace:seh:raise_exception  eax=7b825a75 ebx=7b88fff4 ecx=80004001
edx=0033d640 esi=0033d6b8 edi=e0434f4d
0027:trace:seh:raise_exception  ebp=0033d680 esp=0033d61c cs=0073 ds=007b
es=007b fs=0033 gs=003b flags=00000207
(26.27): CLR exception - code e0434f4d (first chance)
OS Thread Id: 0x27 (0)
ESP       EIP     
0033d708 7b83863f [HelperMethodFrame: 0033d708] 
0033d7ac 7ae6cf7e
System.Drawing.Drawing2D.PathGradientBrush._SetSurroundColors(System.Drawing.Color[])
0033d7d4 7ae434b5
System.Drawing.Drawing2D.PathGradientBrush.set_SurroundColors(System.Drawing.Color[])
0033d7d8 096e40de
Infragistics.Win.ShadowManager+Shadow.PaintRightShadow(System.Drawing.Graphics,
System.Drawing.Rectangle)
0033d878 096e3f44
Infragistics.Win.ShadowManager+Shadow.DrawShadows(System.Drawing.Graphics,
System.Drawing.Rectangle)
0033d88c 096e3c91
Infragistics.Win.ShadowManager+ShadowEx.InitializeLayeredWindow()
0033d890 096e3899 [InlinedCallFrame: 0033d890] 
0033da1c 00000000 [InlinedCallFrame: 0033da1c] 
0033e074 00000000 [NDirectMethodFrameGeneric: 0033e074]
System.Windows.Forms.UnsafeNativeMethods.IntCreateWindowEx(Int32,
System.String, System.String, Int32, Int32, Int32, Int32, Int32,
System.Runtime.InteropServices.HandleRef,
System.Runtime.InteropServices.HandleRef,
System.Runtime.InteropServices.HandleRef, System.Object)
0033e560 00000000 [InlinedCallFrame: 0033e560] 
0033e908 00000000 [NDirectMethodFrameStandalone: 0033e908]
System.Windows.Forms.SafeNativeMethods.UpdateWindow(System.Runtime.InteropServices.HandleRef)
0033eb80 00000000 [InlinedCallFrame: 0033eb80] 
0033ec48 00000000 [InlinedCallFrame: 0033ec48] 
0033eefc 00000000 [NDirectMethodFrameStandalone: 0033eefc]
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
0033f53c 00000000 [GCFrame: 0033f53c] 
0027:trace:seh:call_vectored_handlers calling handler at 0x6e38f6c6
code=e0434f4d flags=1
0027:trace:seh:call_vectored_handlers handler at 0x6e38f6c6 returned 0
0027:trace:seh:call_stack_handlers calling handler at 0x79f9a3c8 code=e0434f4d
flags=1
0027:trace:seh:call_stack_handlers handler at 0x79f9a3c8 returned 1
0027:trace:seh:call_stack_handlers calling handler at 0x7a3197d4 code=e0434f4d
flags=1
0027:trace:seh:call_stack_handlers handler at 0x7a3197d4 returned 1
0027:trace:seh:call_stack_handlers calling handler at 0x79fcc4da code=e0434f4d
flags=1
0027:trace:seh:__regs_RtlUnwind code=c0000027 flags=2
0027:trace:seh:__regs_RtlUnwind calling handler at 0x7a2f08ac code=c0000027
flags=2
0027:trace:seh:__regs_RtlUnwind handler at 0x7a2f08ac returned 1
0027:trace:seh:__regs_RtlUnwind calling handler at 0x7bc775b1 code=c0000027
flags=2
0027:trace:seh:__regs_RtlUnwind handler at 0x7bc775b1 returned 1
0027:trace:seh:__regs_RtlUnwind calling handler at 0x79f9a3c8 code=c0000027
flags=2
0027:trace:seh:__regs_RtlUnwind handler at 0x79f9a3c8 returned 1
0027:trace:seh:__regs_RtlUnwind calling handler at 0x7a3197d4 code=c0000027
flags=2
0027:trace:seh:__regs_RtlUnwind handler at 0x7a3197d4 returned 1
0027:trace:loaddll:load_native_dll Loaded
L"C:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\diasymreader.dll" at
0x5e380000: native
0027:fixme:exec:SHELL_execute flags ignored: 0x00000100
0027:trace:process:create_process_impl app (null) cmdline L"C:\\Program
Files\\Google\\Google SketchUp 8\\LayOut\\BsSndRpt.exe  /i
\"C:\\users\\focht\\Temp\\tmp528e.ini\""
--- snip ---

After fleshing out the first stub, the second one appears:

--- snip ---
0037:fixme:gdiplus:GdipSetPathGradientSurroundColorsWithCount not implemented
0037:trace:seh:raise_exception code=e0434f4d flags=1 addr=0x7b83863f
ip=7b83863f tid=0037
0037:trace:seh:raise_exception  info[0]=80004001
0037:trace:seh:raise_exception  eax=7b825a75 ebx=7b88fff4 ecx=80004001
edx=0033d640 esi=0033d6b8 edi=e0434f4d
0037:trace:seh:raise_exception  ebp=0033d680 esp=0033d61c cs=0073 ds=007b
es=007b fs=0033 gs=003b flags=00000207
(36.37): CLR exception - code e0434f4d (first chance)
OS Thread Id: 0x37 (0)
ESP       EIP     
0033d708 7b83863f [HelperMethodFrame: 0033d708] 
0033d7ac 7ae6cf9d
System.Drawing.Drawing2D.PathGradientBrush._SetSurroundColors(System.Drawing.Color[])
0033d7d4 7ae434b5
System.Drawing.Drawing2D.PathGradientBrush.set_SurroundColors(System.Drawing.Color[])
...
--- snip ---

I quickly fleshed/hacked out both stubs and it helped to display the main menu.

The workspace context menu crash (right click) seems to be a different bug.

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