We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Crash when moving floating panel in Docking Manager MDI Demo in 4.1.0.62

Hi! I was playing around with the docking manager and managed to crash it in my application and in the MDI Demo sample. Here is how I did it in the sample: I run the MDI Demo sample Enlarge it a bit Take the bottom panel off its docked position Move that bottom panel around pretty wildly around the application (and probably outside the application too). The drawing seems to not be able to catch up with the movement, as it leaves a lot of "traces" behind. After a while, the app will crash. Here is the information from .NET: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+. at System.Drawing.Graphics.CheckErrorStatus(Int32 status) at System.Drawing.Graphics.FillRectangle(Brush brush, Int32 x, Int32 y, Int32 width, Int32 height) at System.Drawing.Graphics.FillRectangle(Brush brush, Rectangle rect) at Syncfusion.Windows.Forms.Tools.Renderers.RendererPrimitives.PaintGripper(Graphics g, Orientation orientation, Point location, Brush foreBrush, Brush backBrush, Int32 dotCount) at Syncfusion.Windows.Forms.Tools.Renderers.RendererOffice2003.PaintGripper(Graphics g) at Syncfusion.Windows.Forms.Tools.Renderers.RendererOffice2003.PaintCaption(Graphics g, PaintDockControlArgs args) at Syncfusion.Windows.Forms.Tools.Renderers.RendererOffice2003.PaintDockedControl(Graphics g, Rectangle rectangle, PaintDockControlArgs args) at Syncfusion.Windows.Forms.Tools.Renderers.DockingManagerRenderer.PaintDockedControl(Graphics g, Rectangle rectangle, PaintDockControlArgs args) at Syncfusion.Windows.Forms.Tools.FloatingForm.PaintNCArea() at Syncfusion.Windows.Forms.Tools.FloatingForm.WndProc(Message& msg) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll ---------------------------------------- MDIDemo Assembly Version: 0.0.0.0 Win32 Version: 0.0.0.0 CodeBase: file:///C:/Program%20Files/Syncfusion/Essential%20Studio/4.1.0.62/windows/Tools.Windows/Samples/Docking%20Package/MDIDemo/cs/bin/release/MDIDemo.exe ---------------------------------------- System.Windows.Forms Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll ---------------------------------------- System Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll ---------------------------------------- System.Drawing Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll ---------------------------------------- Syncfusion.Shared.Base Assembly Version: 4.101.0.62 Win32 Version: 4.101.0.62 CodeBase: file:///c:/windows/assembly/gac/syncfusion.shared.base/4.101.0.62__3d67ed1f87d44c89/syncfusion.shared.base.dll ---------------------------------------- Syncfusion.Core Assembly Version: 4.101.0.62 Win32 Version: 4.101.0.62 CodeBase: file:///c:/windows/assembly/gac/syncfusion.core/4.101.0.62__632609b4d040f6b4/syncfusion.core.dll ---------------------------------------- System.Runtime.Serialization.Formatters.Soap Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system.runtime.serialization.formatters.soap/1.0.5000.0__b03f5f7f11d50a3a/system.runtime.serialization.formatters.soap.dll ---------------------------------------- Syncfusion.Tools.Windows Assembly Version: 4.101.0.62 Win32 Version: 4.101.0.62 CodeBase: file:///c:/windows/assembly/gac/syncfusion.tools.windows/4.101.0.62__3d67ed1f87d44c89/syncfusion.tools.windows.dll ---------------------------------------- Syncfusion.Grid.Windows Assembly Version: 4.101.0.62 Win32 Version: 4.101.0.62 CodeBase: file:///c:/windows/assembly/gac/syncfusion.grid.windows/4.101.0.62__3d67ed1f87d44c89/syncfusion.grid.windows.dll ---------------------------------------- Accessibility Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll ---------------------------------------- System.Xml Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll ---------------------------------------- ************** JIT Debugging ************** To enable just in time (JIT) debugging, the config file for this application or machine (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the machine rather than being handled by this dialog.

Syncfusion Docking Manager Crash 031706.zip

10 Replies

JK Joy K George Syncfusion Team March 20, 2006 05:07 AM UTC

Hi Raymond, Sorry for the inconvenience caused.I was not able to reproduce the problem, according to your steps.Could you please provide the following information to investigate this problem deeply. 1 .Net version you are using 2 Your machine configuration 3 OS you are using Thanks for your co-operation. Regards, Joy


RG Raymond Gunawan March 27, 2006 04:20 PM UTC

Hi Joy, I had to frantically move the panels to reproduce the crash. Anyway, to answer your questions: >1 .Net version you are using 1.1 SP1 >2 Your machine configuration Could you elaborate on this? Is there a file that you want me to post? >3 OS you are using Windows XP Pro SP2


JK Joy K George Syncfusion Team March 28, 2006 03:28 PM UTC

Hi Raymond, I am afraid.Still I couldn''t reproduce this issue.However I have contacted our development team regarding this issue.I will update you later with their feedback. Regards, Joy


RG Raymond Gunawan March 31, 2006 10:56 PM UTC

Hi Joy, Did you try it with a debugger attached or in debug mode? If so, you might want to try it compiled in release mode. I appreciate the update. Thanks. Raymond. >Hi Raymond, > >I am afraid.Still I couldn''t reproduce this issue.However I have contacted our development team regarding this issue.I will update you later with their feedback. > >Regards, >Joy


JK Joy K George Syncfusion Team April 1, 2006 09:21 AM UTC

Hi Raymond, Thanks for your update. Could you please try to reproduce this exception after setting DragProvider = Standard? Please let me know , if you are still getting this exception. Regards, Joy


JK Joy K George Syncfusion Team April 10, 2006 04:59 AM UTC

Hi Raymond, We could reproduce the Exception here(GDI+).This exception is raising only in high configuration machines like HT machines.We are currently working on it and will fix this issue as soon as possible. Thanks for your co-operation. Regards, Joy


RG Raymond Gunawan April 12, 2006 03:59 PM UTC

Hi Joy, I''m glad you were able to reproduce the issue. We are using Hyper-threaded computers here at the office. Please let me know of any updates. Thank you. Raymond.


MH Max Hillaert June 21, 2006 03:36 PM UTC

Has this been fixed? I''m experiencing the same problem.


MH Max Hillaert June 21, 2006 04:18 PM UTC

I have a Dual Core HT Machine. Probably a thread-safety issue?


JK Joy K George Syncfusion Team June 21, 2006 08:12 PM UTC

Hi Max, We have fixed the issue internally.Please create a Direct-Trac incident to obtain the private patch(required dlls only). Regards, Joy

Loader.
Live Chat Icon For mobile
Up arrow icon