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

lego oleg_dolomanov at hotmail.com
Sun Mar 4 14:56:23 PST 2007


Yes, it looks like the something is wrong with the environment, thought I
have rebuilt everything dozens of time... The object after creation is in
the picture. Here is the stack trace of what happens with the wxTreeCtrl:

7C812A5B C:\WINDOWS\system32\kernel32.dll
0077FD97 ___raiseDebuggerException
00772F78 ___DefHandler
7C9037BF ntdll.dll
7C90378B ntdll.dll
7C90EAFA ntdll.dll
007700CC __internal_free
0076F9B5 ___org_free
0076F218 ___org_delete
005DB60B wxCriticalSection::~wxCriticalSection (fastthis)(this=:0165DD14)
005DE556 wxEvtHandler::~wxEvtHandler (fastthis)(this=:0165DB70)
006B2A2A wxWindowBase::~wxWindowBase (fastthis)(this=:0165DB70)
006101E3 wxWindow::~wxWindow (fastthis)(this=:0165DB70)
0066BB7B wxControlBase::~wxControlBase (fastthis)(this=:0165DB70)
00627919 wxControl::~wxControl (fastthis)(this=:0165DB70)
006B06C3 wxTreeCtrlBase::~wxTreeCtrlBase (fastthis)(this=:0165DB70)
00653496 wxTreeCtrl::~wxTreeCtrl (fastthis)(this=:0165DB70)
006B2B9D wxWindowBase::Destroy(this=:0165DB70)
00445909 wxHtmlWidgetCell::~wxHtmlWidgetCell (fastthis)(this=:0165DAA4)
006F747B wxHtmlContainerCell::~wxHtmlContainerCell
(fastthis)(this=:0164F9CC)
006F747B wxHtmlContainerCell::~wxHtmlContainerCell
(fastthis)(this=:01647548)
006FF576 wxHtmlWindow::~wxHtmlWindow (fastthis)(this=:015610E4)
004A2873 THtml::~THtml (fastthis)(this=:015610E4)
006B2D27 wxWindowBase::DestroyChildren(this=:014D0954)
00610149 wxWindow::~wxWindow (fastthis)(this=:014D0954)
006AF594 wxTopLevelWindowBase::~wxTopLevelWindowBase
(fastthis)(this=:014D0954)
0060C2E5 wxTopLevelWindowMSW::~wxTopLevelWindowMSW
(fastthis)(this=:014D0954)
0067C0A8 wxFrameBase::~wxFrameBase (fastthis)(this=:014D0954)
0062B72A wxFrame::~wxFrame (fastthis)(this=:014D0954)
0043F390 _xl_Controls::TMainFrame::~TMainFrame (fastthis)(this=:014D0954)
00413AB9 TMainForm::~TMainForm (fastthis)(this=:014D0954)
0065D976 wxAppBase::DeletePendingObjects(this=:014CACC4)
0065DBED wxAppBase::OnIdle(this=:014CACC4,  =????)
005E82F2 wxApp::OnIdle(this=:014CACC4, event=????)
00437852 TGlXApp::OnIdle(this=:014CACC4, event=:0022FD90)
00578108 wxAppConsole::HandleEvent(this=:014CACC4, handler=????,
func=&TGlXApp::OnIdle, event=????)
005DE9D4 wxEvtHandler::ProcessEventIfMatches(entry=????, handler=????,
event=????)
005DE021 wxEventHashTable::HandleEvent(this=:008CA508, event=????,
self=????)
005DEB1D wxEvtHandler::ProcessEvent(this=:014CACC4, event=????)
0065DA9D wxAppBase::ProcessIdle(this=:014CACC4)
006781D2 wxEventLoopManual::Run(this=:014E7840)
0065D5A0 wxAppBase::MainLoop(this=:014CACC4)
0043783F TGlXApp::MainLoop(this=:014CACC4)
0065D786 wxAppBase::OnRun(this=:014CACC4)
005A135A wxEntryReal(argc=:0022FF14, argv=:014CAC60)
005DF9B0 wxEntry(argc=:0022FF14, argv=:014CAC60)
005E7005 wxEntry(hInstance=????,  =????,  =:00941F20, nCmdShow=9)
00436C20 WinMain(hInstance=:00400000, hPrevInstance=NULL,
lpCmdLine=:00941F20, nCmdShow=9)
0077EBBB __startup

If you have any idea what I can alter to avoid this problems, please advise,

Thanks


Vadim Zeitlin-3 wrote:
> 
> On Sun, 4 Mar 2007 13:22:10 -0800 (PST) lego <oleg_dolomanov at hotmail.com>
> wrote:
> 
> l> I have done some investigation in the problem I am having with the
> code.
> l> Since the wxWidgets source is mainly in macros and I have a large
> program,
> l> the simplest way was to create a hashmap in the program context. 
> l> 
> l> wxStringToStringHashMap m_headers;
> l> 
> l> When it is created, it has a NULL table and quite random
> (uninitalised?)
> l> values, like buckets = 22276204... I have called its clear method 
> 
>  I don't really understand what do you mean because there is no field
> named
> buckets in wxStringToStringHashMap class AFAICS but if you really get junk
> in the object fields immediately after constructing it it's a pretty sure
> sign that you don't have a sane build environment and that something was
> miscompiled.
> 
>  Regards,
> VZ
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
> 
> 
> 
http://www.nabble.com/file/6923/hashmap.PNG 
-- 
View this message in context: http://www.nabble.com/some-bugs-in-2.8.0-on-ms-windows%2C-using-Borland-C%2B%2B-Builder-6-4-tf3279109.html#a9301820
Sent from the wxWidgets - Dev mailing list archive at Nabble.com.





More information about the wx-dev mailing list