Exception deleting column from cross tab
Hello
When I try tro remove a colummn from a cross tab I always get and error
Application made attempt to free invalid or unknown memory block: $00529730 OBJECT [?].
[013A4B4A] ppCTMain.TppCrossTab.DimensionRemoved
[013A4A16] ppCTMain.TppCrossTab.RemoveChild [00F9721C] ppRelatv.TppRelative.SetParent [00F96C6C] ppRelatv.TppRelative.Destroy [013A60EC] ppCTMain.TppElement.Destroy [013A64A7] ppCTMain.TppDimension.Destroy [004DB1DC] System.TObject.Free [013A57E7] ppCTMain.TppCrossTab.DeselectRowDef
[013ADE47] ppCTCtrl.TppCrossTabControl.ValidMoveDragDrop
[013AD27E] ppCTCtrl.TppCrossTabControl.PaintBoxDragDropEvent
[00812C87] Vcl.Controls.TControl.DragDrop [0081B783] Vcl.Controls.TWinControl.CMDrag [00813BF6] Vcl.Controls.TControl.WndProc [76FA8A52] user32.GetWindowLongW [70FBC868] uxtheme (possible UpdatePanningFeedback+7080) [70FBC931] uxtheme (possible UpdatePanningFeedback+7281) [76B93895] GDI32.vSetPldc [76E9139A] win32u.NtGdiDeleteObjectApp [76C1E90B] gdi32full.InternalDeleteDC [004DC0AF] System.TMonitor.TryEnter [004DBBFC] System.TMonitor.Enter [77AC5116] ntdll (possible RtlNumberOfSetBitsUlongPtr+2726) [77A832E4] ntdll.RtlLeaveCriticalSection [008192AB] Vcl.Controls.TWinControl.WndProc [004DBA64] System.TMonitor.CheckOwningThread [004DBD8A] System.TMonitor.Exit [007725B5] Vcl.Graphics.FreeMemoryContexts [00818770] Vcl.Controls.TWinControl.MainWndProc
[0061D754] System.Classes.StdWndProc
[76FB9731] user32 (possible GetMessageTime+1953) [76FA88B8] user32 (possible MsgWaitForMultipleObjectsEx+1992) [76FA85A3] user32 (possible MsgWaitForMultipleObjectsEx+1203) [77AA99EA] ntdll.NtCallbackReturn [76FB367B] user32 (possible SystemParametersInfoW+731) [77AABD64] ntdll.KiUserCallbackDispatcher [76FB3D0A] user32 (possible CallNextHookEx+266) [76FA835B] user32 (possible MsgWaitForMultipleObjectsEx+619) [76FB3667] user32 (possible SystemParametersInfoW+711) [77AABD64] ntdll.KiUserCallbackDispatcher [76E911EA] win32u.NtUserMessageCall [76FA9BCE] user32 (possible GetWindowLongW+4606) [76FC0DF3] user32 (possible SetWindowsHookExAW+755) [76FA8081] user32 (possible SendMessageW+65) [0080F539] Vcl.Controls.DragMessage [0080FFF3] Vcl.Controls.DragDone [0080ECA3] Vcl.Controls.TDragObject.WndProc [0080ED89] Vcl.Controls.TDragObject.MainWndProc
[0061D754] System.Classes.StdWndProc
When I try tro remove a colummn from a cross tab I always get and error
Application made attempt to free invalid or unknown memory block: $00529730 OBJECT [?].
[013A4B4A] ppCTMain.TppCrossTab.DimensionRemoved
[013A4A16] ppCTMain.TppCrossTab.RemoveChild [00F9721C] ppRelatv.TppRelative.SetParent [00F96C6C] ppRelatv.TppRelative.Destroy [013A60EC] ppCTMain.TppElement.Destroy [013A64A7] ppCTMain.TppDimension.Destroy [004DB1DC] System.TObject.Free [013A57E7] ppCTMain.TppCrossTab.DeselectRowDef
[013ADE47] ppCTCtrl.TppCrossTabControl.ValidMoveDragDrop
[013AD27E] ppCTCtrl.TppCrossTabControl.PaintBoxDragDropEvent
[00812C87] Vcl.Controls.TControl.DragDrop [0081B783] Vcl.Controls.TWinControl.CMDrag [00813BF6] Vcl.Controls.TControl.WndProc [76FA8A52] user32.GetWindowLongW [70FBC868] uxtheme (possible UpdatePanningFeedback+7080) [70FBC931] uxtheme (possible UpdatePanningFeedback+7281) [76B93895] GDI32.vSetPldc [76E9139A] win32u.NtGdiDeleteObjectApp [76C1E90B] gdi32full.InternalDeleteDC [004DC0AF] System.TMonitor.TryEnter [004DBBFC] System.TMonitor.Enter [77AC5116] ntdll (possible RtlNumberOfSetBitsUlongPtr+2726) [77A832E4] ntdll.RtlLeaveCriticalSection [008192AB] Vcl.Controls.TWinControl.WndProc [004DBA64] System.TMonitor.CheckOwningThread [004DBD8A] System.TMonitor.Exit [007725B5] Vcl.Graphics.FreeMemoryContexts [00818770] Vcl.Controls.TWinControl.MainWndProc
[0061D754] System.Classes.StdWndProc
[76FB9731] user32 (possible GetMessageTime+1953) [76FA88B8] user32 (possible MsgWaitForMultipleObjectsEx+1992) [76FA85A3] user32 (possible MsgWaitForMultipleObjectsEx+1203) [77AA99EA] ntdll.NtCallbackReturn [76FB367B] user32 (possible SystemParametersInfoW+731) [77AABD64] ntdll.KiUserCallbackDispatcher [76FB3D0A] user32 (possible CallNextHookEx+266) [76FA835B] user32 (possible MsgWaitForMultipleObjectsEx+619) [76FB3667] user32 (possible SystemParametersInfoW+711) [77AABD64] ntdll.KiUserCallbackDispatcher [76E911EA] win32u.NtUserMessageCall [76FA9BCE] user32 (possible GetWindowLongW+4606) [76FC0DF3] user32 (possible SetWindowsHookExAW+755) [76FA8081] user32 (possible SendMessageW+65) [0080F539] Vcl.Controls.DragMessage [0080FFF3] Vcl.Controls.DragDone [0080ECA3] Vcl.Controls.TDragObject.WndProc [0080ED89] Vcl.Controls.TDragObject.MainWndProc
[0061D754] System.Classes.StdWndProc
Comments
I tested by running Demos\EndUser\ReportExplorer project. I created a new report with a Crosstab. I'm using the Cross tab designer to add and remove column definitions. I do not encounter any issues removing columns.
I use RB 23.04 for testing.
Try running Demos\EndUser\ReportExplorer and create a test cross tab report. If you can create a repeatable test case, save the report to .rtm file and send to support@ along with specific steps to recreate the error.
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com