Anyone using Turbo C++ Prof or BDS 2006 ?
Vadim Zeitlin
vadim at wxwindows.org
Tue Apr 3 11:11:32 PDT 2007
On Tue, 3 Apr 2007 10:29:48 -0700 (PDT) Guru Kathiresan <gururamnath at yahoo.com> wrote:
GK> wxDateTime::Today() is called. Following is the call
GK> stack :
GK>
GK> 1) kernel32.RaiseException + 0x52
GK> 2) CC3270MT.___raiseDebuggerException + 0x1a
GK> 3) CC3270MT.___raiseDebuggerException + 0xf4
GK> 4) ntdll.RtlConvertUlongToLargeInteger + 0x7a
GK> 5) ntdll.RtlConvertUlongToLargeInteger + 0x46
GK> 6) ntdll.KiUserExceptionDispatcher + 0xe
GK> 7) wxLocaltime_r(ticks=:0013FC18, temp=:0013FBF4)
GK> 8) GetTimeZone()
GK> 9) wxDateTime::TimeZone::TimeZone(this=:0013FC74, tz=0)
GK> 10)wxDateTime::ResetTime(this=:0013FC8C)
GK> 11)wxDateTime::Today()
GK> 12)MyPanel::MyPanel(this=:00CD7EEC, frame=:00CD48B8)
GK> 13)MyFrame::MyFrame(this=:00CD48B8, title=:0013FE48,
GK> pos=:0013FE14, size=:0013FE0C)
GK> 14)MyApp::OnInit(this=:00CCE7C4)
Very strange. The only reason I can see for this crash is that static
timeLock mutex is not initialized. But why wouldn't it be initialized is
not clear... Do you use wx as a DLL? If so, does the crash still happen if
you use a static build?
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list