aMule Forum

English => en_Bugs => Topic started by: macias on April 05, 2011, 04:58:19 PM

Title: ./src/common/string.cpp(775): assert "stringSrc.GetStringData()->IsValid()" fail
Post by: macias on April 05, 2011, 04:58:19 PM
amule 2.3.1rc1
openSUSE 11.4,
64-bit,
wxGTK 2.8.12

Btw. is assert message dialog is part of wxWidgets or aMule?

Code: [Select]
ASSERT INFO:
./src/common/string.cpp(775): assert "stringSrc.GetStringData()->IsValid()" failed in operator=().

BACKTRACE:
[1] wxOnAssert(wchar_t const*, int, char const*, wchar_t const*, wchar_t const*)
[2] wxStringBase::operator=(wxStringBase const&)
[3] wxString::operator=(wxString const&) /usr/local/include/wx-2.8/wx/string.h:660
[4] void CFormat::ProcessArgument<wxString const&>(__gnu_debug::_Safe_iterator<std::__norm::_List_iterator<CFormat::FormatSpecifier>, std::__debug::list<CFormat::FormatSpecifier, std::allocator<CFormat::FormatSpecifier> > >, wxString const&) /home/user/rpm/BUILD/aMule-2.3.1rc1/src/libs/common/Format.cpp:525
[5] CFormat& CFormat::operator%<wxString const&>(wxString const&) /home/user/rpm/BUILD/aMule-2.3.1rc1/src/libs/common/Format.cpp:566
[6] CFormat::operator%(wxString const&) /home/user/rpm/BUILD/aMule-2.3.1rc1/src/./libs/common/Format.h:138
[7] CUpDownClient::GetClientFullInfo() /home/user/rpm/BUILD/aMule-2.3.1rc1/src/BaseClient.cpp:2317
[8] CUpDownClient::Disconnected(wxString const&, bool) /home/user/rpm/BUILD/aMule-2.3.1rc1/src/BaseClient.cpp:1398
[9] CClientTCPSocket::Disconnect(wxString const&) /home/user/rpm/BUILD/aMule-2.3.1rc1/src/ClientTCPSocket.cpp:257
[10] CClientTCPSocket::CheckTimeOut() /home/user/rpm/BUILD/aMule-2.3.1rc1/src/ClientTCPSocket.cpp:223
[11] CListenSocket::Process() /home/user/rpm/BUILD/aMule-2.3.1rc1/src/ListenSocket.cpp:163
[12] CamuleApp::OnCoreTimer(CTimerEvent&) /home/user/rpm/BUILD/aMule-2.3.1rc1/src/amule.cpp:1229
[13] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) cons)
[14] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[15] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[16] wxEvtHandler::ProcessEvent(wxEvent&)
[17] wxEvtHandler::ProcessPendingEvents()
[18] wxAppConsole::ProcessPendingEvents()
[19] wxAppBase::ProcessIdle()
[20] g_main_context_dispatch()
[21] g_main_loop_run()
[22] gtk_main()
[23] wxEventLoop::Run()
[24] wxAppBase::MainLoop()


Title: Re: ./src/common/string.cpp(775): assert "stringSrc.GetStringData()->IsValid()" fail
Post by: Stu Redman on April 05, 2011, 08:11:58 PM
Macias, I don't know what you might be doing wrong, but if several strange errors appear in one place only and nowhere else it really might be related to what you did building. Maybe a mixup of different libs or something.
The assert comes from wx, which might have got fed bad data from aMule. I'm quite sure that there should be no more deleted clients around anymore.
Title: Re: ./src/common/string.cpp(775): assert "stringSrc.GetStringData()->IsValid()" fail
Post by: macias on April 06, 2011, 05:04:42 PM
Hmm, I did pretty straightforward build... Maybe some other users will catch this too.

Anyway, and where the error _dialog_ comes from? It is wx handler, or amule?
Title: Re: ./src/common/string.cpp(775): assert "stringSrc.GetStringData()->IsValid()" fail
Post by: GonoszTopi on April 07, 2011, 09:22:18 PM
wx