Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

SafeMM - Problem in tppDataTreeBuilder.AddPipelineNode

edited July 2007 in General
Hello,
for debugging some "Access Violations" and "Invalid Pointer" Problems
I'm using from time to time SafeMM. This is a memory manager which does
not allow memory override and access of freed memory (which other Memory
Manager does allowing).
SafeMM gives me an access violation in
tppDataTreeBuilder.AddPipelineNode which means, that there is somewhere
an access to an object which is already freed. I don't know your code
and I'm not able to change anything there but you should test it perhaps
with SafeMM from time to time.

Best Wishes
Bernhard

Here is the call stack in my application where the exception occurs :

007cca67 +163 ZeitarbeitDeluxe.exe ppTreeVw
TppDataTreeBuilder.AddPipelineNode
007cc8e1 +049 ZeitarbeitDeluxe.exe ppTreeVw
TppDataTreeBuilder.BuildTree
007cd0b0 +064 ZeitarbeitDeluxe.exe ppTreeVw
TppReportTreeView.BuildTree
007ccfea +02e ZeitarbeitDeluxe.exe ppTreeVw
TppReportTreeView.SetReport
007cfde6 +01e ZeitarbeitDeluxe.exe ppTreeVw
TppCustomReportExplorer.SetReport
0083bc55 +019 ZeitarbeitDeluxe.exe ppToolWnTBX
TppDataTreeWindow.SetReport
0080a70c +004 ZeitarbeitDeluxe.exe ppDesignToolWindow
TppDesignToolWindow.ehSelection_SelectReport
0066b103 +027 ZeitarbeitDeluxe.exe ppMulticast
TppMulticastEvent.Notify
0084d826 +0ae ZeitarbeitDeluxe.exe ppDesignSelection
TppDesignSelection.SetReport
0084d69a +03e ZeitarbeitDeluxe.exe ppDesignSelection
TppDesignSelection.SelectReport
0082f66a +06e ZeitarbeitDeluxe.exe ppDesignLayoutManager
TppDesignLayoutManager.SetReport
0082f3f1 +01d ZeitarbeitDeluxe.exe ppDesignLayoutManager
TppDesignLayoutManager.SetComponent
0083102c +06c ZeitarbeitDeluxe.exe ppDsgner
TppDesignerWindow.SetReport
00830c3b +043 ZeitarbeitDeluxe.exe ppDsgner
TppDesignerWindow.SetComponent
00b6a8df +04b ZeitarbeitDeluxe.exe ppEndUsr 72 +0
TppDesigner.SetReport
00e21a71 +09d ZeitarbeitDeluxe.exe Reportgenerator 2163 +8
TFormReportgenerator.ButReportGestaltenClick
004c5dfc +064 ZeitarbeitDeluxe.exe Controls 5229 +9
TControl.Click
0049ec76 +01e ZeitarbeitDeluxe.exe StdCtrls 3732 +3
TButton.Click
005140b0 +068 ZeitarbeitDeluxe.exe Buttons 1627 +17
TBitBtn.Click
00a36b05 +0dd ZeitarbeitDeluxe.exe SUControls 12309 +17
TSUDBBitBtn.Click
0049ed74 +00c ZeitarbeitDeluxe.exe StdCtrls 3784 +1
TButton.CNCommand
004c58f7 +2bb ZeitarbeitDeluxe.exe Controls 5146 +83
TControl.WndProc
004c9936 +4fa ZeitarbeitDeluxe.exe Controls 7304 +111
TWinControl.WndProc
0049eb20 +06c ZeitarbeitDeluxe.exe StdCtrls 3671 +13
TButtonControl.WndProc
004c5584 +024 ZeitarbeitDeluxe.exe Controls 5021 +5
TControl.Perform
004c9a87 +023 ZeitarbeitDeluxe.exe Controls 7353 +6
DoControlMsg
004ca453 +00b ZeitarbeitDeluxe.exe Controls 7612 +1
TWinControl.WMCommand
004c58f7 +2bb ZeitarbeitDeluxe.exe Controls 5146 +83
TControl.WndProc
004c9936 +4fa ZeitarbeitDeluxe.exe Controls 7304 +111
TWinControl.WndProc
004c9060 +02c ZeitarbeitDeluxe.exe Controls 7073 +3
TWinControl.MainWndProc
0047f9bc +014 ZeitarbeitDeluxe.exe Classes 11583 +8
StdWndProc
7c91eae0 +010 ntdll.dll
KiUserCallbackDispatcher
7e36b8fe +044 USER32.dll
SendMessageW
7e36f658 +016 USER32.dll
CallWindowProcA
004c9a33 +0d7 ZeitarbeitDeluxe.exe Controls 7334 +23
TWinControl.DefaultHandler
004c621c +010 ZeitarbeitDeluxe.exe Controls 5360 +1
TControl.WMLButtonUp
004c58f7 +2bb ZeitarbeitDeluxe.exe Controls 5146 +83
TControl.WndProc
004c9936 +4fa ZeitarbeitDeluxe.exe Controls 7304 +111
TWinControl.WndProc
0049eb20 +06c ZeitarbeitDeluxe.exe StdCtrls 3671 +13
TButtonControl.WndProc
004c9060 +02c ZeitarbeitDeluxe.exe Controls 7073 +3
TWinControl.MainWndProc
0047f9bc +014 ZeitarbeitDeluxe.exe Classes 11583 +8
StdWndProc
7e3696c2 +00a USER32.dll
DispatchMessageA
004e5ec8 +0fc ZeitarbeitDeluxe.exe Forms 8102 +23
TApplication.ProcessMessage
004e5f02 +00a ZeitarbeitDeluxe.exe Forms 8121 +1
TApplication.HandleMessage
004e6213 +0b3 ZeitarbeitDeluxe.exe Forms 8219 +20
TApplication.Run
00ff4fed +ad9 ZeitarbeitDeluxe.exe ZeitarbeitDeluxe 656 +141
initialization

Comments

This discussion has been closed.