Opened 11 years ago

Closed 11 years ago

#11492 closed defect (fixed)

[samples, msw] Crash in Dialogs sample

Reported by: catalin Owned by:
Priority: normal Milestone:
Component: samples Version: stable-latest
Keywords: crash Dialogs sample Cc:
Blocked By: Blocking:
Patch: no

Description

2.9-trunk, msw, mingw-gcc-3.4.5

Choose: Dialogs -> Property sheets -> Toolbook sheet

Stack:

#0 0081E260 wxPrintfConvSpec<wchar_t>::Parse(this=0x33668, format=0x4c3c7b4) (../../include/wx/private/wxprintf.h:211)
#1 0083E173 wxPrintfConvSpecParser<wchar_t>::wxPrintfConvSpecParser(this=0x33664, fmt=0x4c3c7b4) (../../include/wx/private/wxprintf.h:823)
#2 0072B081 wxDoVsnprintf<wchar_t>(buf=0x4c4dda8, lenMax=1024, format=0x4c3c7b4, argptr=0x3481c "") (.../src/common/wxprintf.cpp:101)
#3 0072B029 wxCRT_VsnprintfW(buf=0x4c4dda8, len=1024, format=0x4c3c7b4, argptr=0x3481c "") (.../src/common/wxprintf.cpp:216)
#4 006A2241 wxVsnprintf(str=0x4c4dda8, size=1024, format=@0x347d4, argptr=0x3481c "") (.../src/common/wxcrt.cpp:705)
#5 0065E3B2 DoStringPrintfV(str=@0x348c4, format=@0x347d4, argptr=0x3481c "") (.../src/common/string.cpp:1913)
#6 0065E4D0 wxString::PrintfV(this=0x348c4, format=@0x347d4, argptr=0x3481c "") (.../src/common/string.cpp:2004)
#7 0065E099 wxString::DoFormatWchar(format=0x91a37e) (.../src/common/string.cpp:1744)
#8 0085C5B1 wxString::Format<int>(f1=@0x348a4, a1=0) (../../include/wx/string.h:2300)
#9 006A4AD1 wxSystemOptions::SetOption(name=@0x34954, value=0) (.../src/common/sysopt.cpp:67)
#10 00564779 wxToolbook::Realize(this=0x4c34508) (.../src/generic/toolbkg.cpp:274)
#11 0056419E wxToolbook::OnSize(this=0x4c34508, event=@0x34b94) (.../src/generic/toolbkg.cpp:157)
#12 00665DCF wxAppConsoleBase::HandleEvent(this=0x4c15db8, handler=0x4c34508, func={pfn = 0x56417c, delta = 0}, event=@0x34b94) (.../src/common/appbase.cpp:588)
#13 00665E2C wxAppConsoleBase::CallEventHandler(this=0x4c15db8, handler=0x4c34508, functor=@0x30adc0, event=@0x34b94) (.../src/common/appbase.cpp:600)
#14 0066D113 wxEvtHandler::ProcessEventIfMatchesId(entry=@0x9b4b80, handler=0x4c34508, event=@0x34b94) (.../src/common/event.cpp:1288)
#15 0066B6BD wxEventHashTable::HandleEvent(this=0x9b4b60, event=@0x34b94, self=0x4c34508) (.../src/common/event.cpp:933)
#16 0066D3CC wxEvtHandler::ProcessEventHere(this=0x4c34508, event=@0x34b94) (.../src/common/event.cpp:1393)
#17 0066D2C5 wxEvtHandler::ProcessEvent(this=0x4c34508, event=@0x34b94) (.../src/common/event.cpp:1364)
#18 0066D440 wxEvtHandler::SafelyProcessEvent(this=0x4c34508, event=@0x34b94) (.../src/common/event.cpp:1406)
#19 0049E41F wxWindowBase::HandleWindowEvent(this=0x4c34508, event=@0x34b94) (.../src/common/wincmn.cpp:1267)
#20 0049D4B0 wxWindowBase::SendSizeEvent(this=0x4c34508, flags=0) (.../src/common/wincmn.cpp:897)
#21 0049D57E wxWindowBase::SendSizeEventToParent(this=0x4c34910, flags=0) (.../src/common/wincmn.cpp:904)
#22 00609A12 wxToolBar::UpdateSize(this=0x4c34910) (.../src/msw/toolbar.cpp:1438)
#23 00608F6D wxToolBar::Realize(this=0x4c34910) (.../src/msw/toolbar.cpp:1184)
#24 005647D7 wxToolbook::Realize(this=0x4c34508) (.../src/generic/toolbkg.cpp:275)
#25 0056419E wxToolbook::OnSize(this=0x4c34508, event=@0x352a4) (.../src/generic/toolbkg.cpp:157)
#26 00665DCF wxAppConsoleBase::HandleEvent(this=0x4c15db8, handler=0x4c34508, func={pfn = 0x56417c, delta = 0}, event=@0x352a4) (.../src/common/appbase.cpp:588)
#27 00665E2C wxAppConsoleBase::CallEventHandler(this=0x4c15db8, handler=0x4c34508, functor=@0x30adc0, event=@0x352a4) (.../src/common/appbase.cpp:600)
#28 0066D113 wxEvtHandler::ProcessEventIfMatchesId(entry=@0x9b4b80, handler=0x4c34508, event=@0x352a4) (.../src/common/event.cpp:1288)
#29 0066B6BD wxEventHashTable::HandleEvent(this=0x9b4b60, event=@0x352a4, self=0x4c34508) (.../src/common/event.cpp:933)

Change History (2)

comment:1 Changed 11 years ago by vadz

  • Status changed from new to confirmed

This is reproducible with MSVC as well and a better error message:

First-chance exception at 0x7c828235 (ntdll.dll) in dialogs.exe: 0xC00000FD: Stack overflow.

Will fix soon, thanks for reporting.

comment:2 Changed 11 years ago by vadz

  • Resolution set to fixed
  • Status changed from confirmed to closed

Fixed in r62733.

Note: See TracTickets for help on using tickets.