[wx-dev] #9553: strconv.cpp ToWChar stack overflow
wxTrac
noreply at wxsite.net
Sun Jun 8 02:26:30 PDT 2008
Ticket URL: <http://trac.wxwidgets.org/ticket/9553>
#9553: strconv.cpp ToWChar stack overflow
---------------------------+------------------------------------------------
Reporter: hajokirchhoff | Owner:
Type: defect | Status: new
Priority: critical | Milestone:
Component: base | Version: 2.9-svn
Keywords: strconv | Blockedby:
Patch: 0 | Blocking:
---------------------------+------------------------------------------------
wxSVN-Trunk last week, wxMSW, Visual Studio 2005
I have a stack overflow as a result of an unterminated recursive call:
wxbase290ud_vc_8_litwindow.dll!wxMBConv::MB2WC(wchar_t *
outBuff=0x00000000, const char * inBuff=0x0102cb08, unsigned int outLen=0)
Line 321 + 0x1a bytes C++
wxbase290ud_vc_8_litwindow.dll!wxMBConv::ToWChar(wchar_t *
dst=0x00000000, unsigned int dstLen=0, const char * src=0x0102cb08,
unsigned int srcLen=4294967295) Line 211 + 0x15 bytes C++
wxbase290ud_vc_8_litwindow.dll!wxMBConv::MB2WC(wchar_t *
outBuff=0x00000000, const char * inBuff=0x0102cb08, unsigned int outLen=0)
Line 321 + 0x1a bytes C++
wxbase290ud_vc_8_litwindow.dll!wxMBConv::ToWChar(wchar_t *
dst=0x00000000, unsigned int dstLen=0, const char * src=0x0102cb08,
unsigned int srcLen=4294967295) Line 211 + 0x15 bytes C++
strconv.cpp:321, Function MB2WC calls ToWChar
size_t rc = ToWChar(outBuff, outLen, inBuff);
ToWChar calls
size_t lenChunk = MB2WC(NULL, src, 0);
This happend after I choose 'Exit' to terminate my application.
Unfortunately the Call Stack no longer shows the original calling
function.
strconv.cpp is of revision 53891
Regards
Hajo
--
Ticket URL: <http://trac.wxwidgets.org/ticket/9553>
More information about the wx-dev
mailing list