[wx-dev] Re[2]: some bugs in 2.8.0 on ms windows, using Borland C++ Builder 6/4

Vadim Zeitlin vadim at wxwindows.org
Mon Mar 5 01:12:33 PST 2007


On Sun, 4 Mar 2007 14:56:23 -0800 (PST) lego <oleg_dolomanov at hotmail.com> wrote:

l> Yes, it looks like the something is wrong with the environment, thought I
l> have rebuilt everything dozens of time... The object after creation is in
l> the picture. Here is the stack trace of what happens with the wxTreeCtrl:
l> 
l> 7C812A5B C:\WINDOWS\system32\kernel32.dll
l> 0077FD97 ___raiseDebuggerException
l> 00772F78 ___DefHandler
l> 7C9037BF ntdll.dll
l> 7C90378B ntdll.dll
l> 7C90EAFA ntdll.dll
l> 007700CC __internal_free
l> 0076F9B5 ___org_free
l> 0076F218 ___org_delete
l> 005DB60B wxCriticalSection::~wxCriticalSection (fastthis)(this=:0165DD14)
l> 005DE556 wxEvtHandler::~wxEvtHandler (fastthis)(this=:0165DB70)
l> 006B2A2A wxWindowBase::~wxWindowBase (fastthis)(this=:0165DB70)
l> 006101E3 wxWindow::~wxWindow (fastthis)(this=:0165DB70)
l> 0066BB7B wxControlBase::~wxControlBase (fastthis)(this=:0165DB70)
l> 00627919 wxControl::~wxControl (fastthis)(this=:0165DB70)
l> 006B06C3 wxTreeCtrlBase::~wxTreeCtrlBase (fastthis)(this=:0165DB70)
l> 00653496 wxTreeCtrl::~wxTreeCtrl (fastthis)(this=:0165DB70)
l> 006B2B9D wxWindowBase::Destroy(this=:0165DB70)
l> 00445909 wxHtmlWidgetCell::~wxHtmlWidgetCell (fastthis)(this=:0165DAA4)
l> 006F747B wxHtmlContainerCell::~wxHtmlContainerCell
l> (fastthis)(this=:0164F9CC)
l> 006F747B wxHtmlContainerCell::~wxHtmlContainerCell
l> (fastthis)(this=:01647548)
l> 006FF576 wxHtmlWindow::~wxHtmlWindow (fastthis)(this=:015610E4)
l> 004A2873 THtml::~THtml (fastthis)(this=:015610E4)
l> 006B2D27 wxWindowBase::DestroyChildren(this=:014D0954)
l> 00610149 wxWindow::~wxWindow (fastthis)(this=:014D0954)
l> 006AF594 wxTopLevelWindowBase::~wxTopLevelWindowBase
l> (fastthis)(this=:014D0954)
l> 0060C2E5 wxTopLevelWindowMSW::~wxTopLevelWindowMSW
l> (fastthis)(this=:014D0954)
l> 0067C0A8 wxFrameBase::~wxFrameBase (fastthis)(this=:014D0954)
l> 0062B72A wxFrame::~wxFrame (fastthis)(this=:014D0954)
l> 0043F390 _xl_Controls::TMainFrame::~TMainFrame (fastthis)(this=:014D0954)
l> 00413AB9 TMainForm::~TMainForm (fastthis)(this=:014D0954)
l> 0065D976 wxAppBase::DeletePendingObjects(this=:014CACC4)
l> 0065DBED wxAppBase::OnIdle(this=:014CACC4,  =????)
l> 005E82F2 wxApp::OnIdle(this=:014CACC4, event=????)
l> 00437852 TGlXApp::OnIdle(this=:014CACC4, event=:0022FD90)
l> 00578108 wxAppConsole::HandleEvent(this=:014CACC4, handler=????,
l> func=&TGlXApp::OnIdle, event=????)
l> 005DE9D4 wxEvtHandler::ProcessEventIfMatches(entry=????, handler=????,
l> event=????)
l> 005DE021 wxEventHashTable::HandleEvent(this=:008CA508, event=????,
l> self=????)
l> 005DEB1D wxEvtHandler::ProcessEvent(this=:014CACC4, event=????)
l> 0065DA9D wxAppBase::ProcessIdle(this=:014CACC4)
l> 006781D2 wxEventLoopManual::Run(this=:014E7840)
l> 0065D5A0 wxAppBase::MainLoop(this=:014CACC4)
l> 0043783F TGlXApp::MainLoop(this=:014CACC4)
l> 0065D786 wxAppBase::OnRun(this=:014CACC4)
l> 005A135A wxEntryReal(argc=:0022FF14, argv=:014CAC60)
l> 005DF9B0 wxEntry(argc=:0022FF14, argv=:014CAC60)
l> 005E7005 wxEntry(hInstance=????,  =????,  =:00941F20, nCmdShow=9)
l> 00436C20 WinMain(hInstance=:00400000, hPrevInstance=NULL,
l> lpCmdLine=:00941F20, nCmdShow=9)
l> 0077EBBB __startup
l> 
l> If you have any idea what I can alter to avoid this problems, please advise,

 I don't understand what does the above have to do with the object
_creation_. The stack trace here seems quite correct, the problem indicated
by debugger exception inside ntdll.dll is that you had corrupted the heap
somehow before. This often happens if you don't compile wx library and your
own code with the same CRT settings for example.

 Regards,
VZ





More information about the wx-dev mailing list