On Mon, 18 Aug 2008 17:17:59 +0300 Nerijus Baliunas <[EMAIL PROTECTED]> wrote:

NB> Hello,
NB> 
NB> terminate called after throwing an instance of 'std::out_of_range'
NB>   what():  basic_string::substr
NB> 
NB> Program received signal SIGABRT, Aborted.
NB> (gdb) bt
NB> #0  0xb8003416 in __kernel_vsyscall ()
NB> #1  0x0051a660 in raise () from /lib/libc.so.6
NB> #2  0x0051c028 in abort () from /lib/libc.so.6
NB> #3  0x00b1db38 in __gnu_cxx::__verbose_terminate_handler () from 
/usr/lib/libstdc++.so.6
NB> #4  0x00b1ba05 in ?? () from /usr/lib/libstdc++.so.6
NB> #5  0x00b1ba42 in std::terminate () from /usr/lib/libstdc++.so.6
NB> #6  0x00b1bb7a in __cxa_throw () from /usr/lib/libstdc++.so.6
NB> #7  0x00ab0e0f in std::__throw_out_of_range () from /usr/lib/libstdc++.so.6
NB> #8  0x00b128da in std::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >::substr () from /usr/lib/libstdc++.so.6
NB> #9  0x080b154a in wxString::substr (this=0xbf7fd0e4, nStart=4294967295, 
nLen=29)
NB>     at /a/M/wxWindows.29/wxWidgets/include/wx/string.h:1093
NB> #10 0x0821bb04 in strutil_findurl ([EMAIL PROTECTED], [EMAIL PROTECTED]) at 
.src/util/matchurl.cpp:827

 I don't understand how does this happen: if FindURL() returned a non-null
length in strutil_findurl(), then the position must not be -1 neither.

 Could you please bounce me the message which results in this? Or do you
mean that it happens for all messages? In any case, if you could also tell
me the values of "str" and "url" above, it would be most helpful.

 Thanks,
VZ

Attachment: pgpk5MBgOw6Ck.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mahogany-Developers mailing list
Mahogany-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to