UPDATE
Found that if i type space and press enter it crashes with that message...
Moderator: Moderators
GargoyleMT wrote:This could be related to the seemingly continuing line of problems with some chat text in oDC. Try changing main chat from a RichEdit to regular Edit (though the oDC options)... I'd suspect that it doesn't crash on a regular CEdit.
In any case, you should be able to break into the process and figure out what's crashing it (trace the call stacks on each thread)...
Code: Select all
First-chance exception at 0x77e8877a in DCPlusPlus.exe: Microsoft C++ exception:
_STL::out_of_range @ 0x0262e7d4.
Code: Select all
- __msg 0x00801ecc "basic_string" const char *
98 'b' const char
Code: Select all
kernel32.dll!77e8877a()
kernel32.dll!77e8877a()
msvcr71d.dll!_CxxThrowException(void * pExceptionObject=0x0262e7d4, const _s__ThrowInfo *
pThrowInfo=0x0081dc7c) + 0x39 C++
> DCPlusPlus.exe!_STL::__stl_throw_out_of_range(const char * __msg=0x00801ecc) Line 73
C++
DCPlusPlus.exe!_STL::_String_base<char,_STL::allocator<char> >::_M_throw_out_of_range()
Line 527 + 0xa C++
DCPlusPlus.exe!_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char>
>::substr(unsigned int __pos=6, unsigned int __n=9) Line 1158 C++
DCPlusPlus.exe!oUtil::isBadNmdcMessage(const
_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char> > & s={...}) Line 153 +
0x15 C++
DCPlusPlus.exe!HubFrame::onAction(ClientListener::Types type=MESSAGE, Client *
__formal=0x01349d30, const _STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char>
> & line={...}) Line 1521 + 0x9 C++
DCPlusPlus.exe!Speaker<ClientListener>::fire<Client
*,_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char> > >(ClientListener::Types
type=MESSAGE, Client * const & p=0x01349d30, const
_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char> > & p2={...}) Line 55 +
0x1f C++
DCPlusPlus.exe!Client::onLine(const
_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char> > & aLine={...}) Line 145
+ 0x42 C++
DCPlusPlus.exe!Client::onAction(BufferedSocketListener::Types type=LINE, const
_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char> > & aLine={...}) Line 740
+ 0xf C++
DCPlusPlus.exe!Speaker<BufferedSocketListener>::fire<_STL::basic_string<char,_STL::char_traits<ch
ar>,_STL::allocator<char> > >(BufferedSocketListener::Types type=LINE, const
_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char> > & param={...}) Line 46 +
0x19 C++
DCPlusPlus.exe!BufferedSocket::threadRead() Line 330 + 0x2c C++
DCPlusPlus.exe!BufferedSocket::run() Line 446 + 0xb C++
DCPlusPlus.exe!Thread::starter(void * p=0x0134a16c) Line 126 + 0xd C++
kernel32.dll!77e70dfb()
J0ke wrote:Yea and I gave him interesting answer
GargoyleMT wrote:Anyway, did you run oDC in debug mode under the debugger, and figure out what the bug in the message parsing routine is? As he's on hiatus (perhaps never to return), if you want it fixed, you'll need to fix it yourself.
Users browsing this forum: Google [Bot] and 0 guests