RRUZ/Delphi-IDE-Colorizer

Access Violation when dragging the border of dock window which is not in pinned state

XindongSu opened this issue · 1 comments

steps to reproduce:

  1. Enabled DIC
  2. Set any dock window (Message, Object Inspector, etc.) of IDE to auto hide mode, (or say, not pinned)
  3. use mouse to trigger the dock window to appear
  4. use mouse to drag the border of the dock window which is used to resize the window
  5. access violation at address 00000000 in module 'bds.exe'. Read of address 00000000.

Below is the detail:

[507A217A]{vcl210.bpl  } Vcl.DockTabSet.TTabDockPanel.WMNCPaint (Line 1362, "Vcl.DockTabSet.pas" + 0) + $E
[505C77F2]{vcl210.bpl  } Vcl.Controls.TWinControl.DefaultHandler (Line 10079, "Vcl.Controls.pas" + 30) + $19
[507A217A]{vcl210.bpl  } Vcl.DockTabSet.TTabDockPanel.WMNCPaint (Line 1362, "Vcl.DockTabSet.pas" + 0) + $E
[50059C58]{rtl210.bpl  } System.@FreeMem (Line 4439, "System.pas" + 20) + $0
[50061391]{rtl210.bpl  } System.@UStrArrayClr (Line 24268, "System.pas" + 16) + $0
[0FCF28D3]{DelphiIDEColorizer_XE7.dll} Colorizer.Hooks.Hooks.Detour_TWinControl_DefaultHandler$qqrp24Vcl.Controls.TWinControlpv (Line 598, "Colorizer.Hooks.pas" + 86) + $15
[0FCF28DB]{DelphiIDEColorizer_XE7.dll} Colorizer.Hooks.Hooks.Detour_TWinControl_DefaultHandler$qqrp24Vcl.Controls.TWinControlpv (Line 598, "Colorizer.Hooks.pas" + 86) + $1D
[506AB6D7]{vcl210.bpl  } Vcl.Themes.ThemeControl (Line 2184, "Vcl.Themes.pas" + 3) + $D
[50059C58]{rtl210.bpl  } System.@FreeMem (Line 4439, "System.pas" + 20) + $0
[5006132C]{rtl210.bpl  } System.@UStrClr (Line 24117, "System.pas" + 14) + $0
[0FCF53A6]{DelphiIDEColorizer_XE7.dll} Colorizer.Hooks.Hooks.Detour_TWinControl_WMNCPaint$qqrp32Colorizer.Hooks.TWinControlClassr26Winapi.Messages.TWMNCPaint (Line 1713, "Colorizer.Hooks.pas" + 107) + $10
[505C2C15]{vcl210.bpl  } Vcl.Controls.TControl.WndProc (Line 7232, "Vcl.Controls.pas" + 91) + $6
[507A217A]{vcl210.bpl  } Vcl.DockTabSet.TTabDockPanel.WMNCPaint (Line 1362, "Vcl.DockTabSet.pas" + 0) + $E
[5008FE3F]{rtl210.bpl  } System.SysUtils.AnsiCompareText (Line 6778, "System.SysUtils.pas" + 1) + $2F
[505C76E2]{vcl210.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10038, "Vcl.Controls.pas" + 153) + $6
[0FCFCADF]{DelphiIDEColorizer_XE7.dll} Colorizer.Hook.Forms.Generics.Collections.%TDictionary__2$p24Vcl.Controls.TWinControlp40Colorizer.Vcl.Styles.TColorizerStyleHook%.ContainsKey$qqrxp24Vcl.Controls.TWinControl (Line 2028, "System.Generics.Collections.pas" + 1) + $13
[5005F3E6]{rtl210.bpl  } System.@IsClass (Line 16131, "System.pas" + 1) + $8
[0FCFB344]{DelphiIDEColorizer_XE7.dll} Colorizer.Hook.Forms.Hook.Forms.HandleColorizerStyleMessage$qqrp24Vcl.Controls.TWinControlr24Winapi.Messages.TMessageynpqqrr24Winapi.Messages.TMessage$v (Line 188, "Colorizer.Hook.Forms.pas" + 50) + $9
[0FCFB47F]{DelphiIDEColorizer_XE7.dll} Colorizer.Hook.Forms.Hook.Forms.Detour_TWinControl_WndProc$qqrp37Colorizer.Hook.Forms.TWinControlClassr24Winapi.Messages.TMessage (Line 264, "Colorizer.Hook.Forms.pas" + 22) + $6
[505C6D1C]{vcl210.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 9750, "Vcl.Controls.pas" + 3) + $6
[5016E218]{rtl210.bpl  } System.Classes.StdWndProc (Line 16600, "System.Classes.pas" + 8) + $0
[505C9E4D]{vcl210.bpl  } Vcl.Controls.TWinControl.SetBounds (Line 11778, "Vcl.Controls.pas" + 5) + $15
[505CA770]{vcl210.bpl  } Vcl.Controls.TWinControl.GetClientOrigin (Line 12135, "Vcl.Controls.pas" + 3) + $9
[505C0B5C]{vcl210.bpl  } Vcl.Controls.TControl.SetBoundsRect (Line 5796, "Vcl.Controls.pas" + 1) + $18
[507A20BA]{vcl210.bpl  } Vcl.DockTabSet.TTabDockPanel.SplitterMouseMove (Line 1329, "Vcl.DockTabSet.pas" + 47) + $1
[505C34B6]{vcl210.bpl  } Vcl.Controls.TControl.MouseMove (Line 7452, "Vcl.Controls.pas" + 1) + $1D
[505C3542]{vcl210.bpl  } Vcl.Controls.TControl.WMMouseMove (Line 7464, "Vcl.Controls.pas" + 8) + $22
[5005F5E3]{rtl210.bpl  } System.TObject.Dispatch (Line 16511, "System.pas" + 11) + $0
[505C2C15]{vcl210.bpl  } Vcl.Controls.TControl.WndProc (Line 7232, "Vcl.Controls.pas" + 91) + $6
[505C6F0B]{vcl210.bpl  } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9806, "Vcl.Controls.pas" + 1) + $9
[505BD95A]{vcl210.bpl  } Vcl.Controls.FindControl (Line 3561, "Vcl.Controls.pas" + 6) + $9
[505C76E2]{vcl210.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10038, "Vcl.Controls.pas" + 153) + $6
[0FCFCADF]{DelphiIDEColorizer_XE7.dll} Colorizer.Hook.Forms.Generics.Collections.%TDictionary__2$p24Vcl.Controls.TWinControlp40Colorizer.Vcl.Styles.TColorizerStyleHook%.ContainsKey$qqrxp24Vcl.Controls.TWinControl (Line 2028, "System.Generics.Collections.pas" + 1) + $13
[5005F3E6]{rtl210.bpl  } System.@IsClass (Line 16131, "System.pas" + 1) + $8
[0FCFB344]{DelphiIDEColorizer_XE7.dll} Colorizer.Hook.Forms.Hook.Forms.HandleColorizerStyleMessage$qqrp24Vcl.Controls.TWinControlr24Winapi.Messages.TMessageynpqqrr24Winapi.Messages.TMessage$v (Line 188, "Colorizer.Hook.Forms.pas" + 50) + $9
[0FCFB47F]{DelphiIDEColorizer_XE7.dll} Colorizer.Hook.Forms.Hook.Forms.Detour_TWinControl_WndProc$qqrp37Colorizer.Hook.Forms.TWinControlClassr24Winapi.Messages.TMessage (Line 264, "Colorizer.Hook.Forms.pas" + 22) + $6
[505C6D1C]{vcl210.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 9750, "Vcl.Controls.pas" + 3) + $6
[5016E218]{rtl210.bpl  } System.Classes.StdWndProc (Line 16600, "System.Classes.pas" + 8) + $0
[5071635B]{vcl210.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 10352, "Vcl.Forms.pas" + 23) + $1
[5071639E]{vcl210.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 10382, "Vcl.Forms.pas" + 1) + $4
[507166D1]{vcl210.bpl  } Vcl.Forms.TApplication.Run (Line 10520, "Vcl.Forms.pas" + 26) + $3

RRUZ commented

Hello This issue was fixed. Thanks for the report. try the version 0.8.7.1