Bug#675800: Crash at notice tab when no internet connection

Guo Yixuan culu.gyx at gmail.com
Sun Jun 3 12:47:10 UTC 2012


Package: boinc-manager
Version: 7.0.28+dfsg-1
Severity: normal

Hi,

When internet connection is down (or blocked, so that BOINC site is 
inaccessible), switch to boincmgr's Notice tab, after a while, it will 
crash (SIGSEGV). But when Internet is reachable, it never crashes. I 
have these projects: MilkyWay, SETI, Einstein.

I compiled boincmgr with --enable-debug and --enable-wx-debug, and 
produced a backtrace:

boincmgr (7.0.25+dfsg-2 with wx-debug, note: arch is i386)

ASSERT INFO:
../src/common/string.cpp(2371): assert "bCase && !bFromEnd" failed in 
Index(): search parameters ignored for auto sorted array

BACKTRACE:
[1] wxArrayString::Index(wchar_t const*, bool, bool) cons)
[2] wxHtmlTag::HasParam(wxString const&) cons)
[3] wxHTML_Handler_IMG::HandleTag(wxHtmlTag const&)
[4] wxHtmlParser::AddTag(wxHtmlTag const&)
[5] wxHtmlParser::DoParsing(int, int)
[6] wxHtmlTagHandler::ParseInner(wxHtmlTag const&)
[7] wxHTML_Handler_A::HandleTag(wxHtmlTag const&)
[8] wxHtmlParser::AddTag(wxHtmlTag const&)
[9] wxHtmlParser::DoParsing(int, int)
[10] wxHtmlTagHandler::ParseInner(wxHtmlTag const&)
[11] wxHTML_Handler_TABLE::HandleTag(wxHtmlTag const&)
[12] wxHtmlParser::AddTag(wxHtmlTag const&)
[13] wxHtmlParser::DoParsing(int, int)
[14] wxHtmlParser::AddTag(wxHtmlTag const&)
[15] wxHtmlParser::DoParsing(int, int)
[16] wxHtmlTagHandler::ParseInner(wxHtmlTag const&)
[17] wxHTML_Handler_TABLE::HandleTag(wxHtmlTag const&)
[18] wxHtmlParser::AddTag(wxHtmlTag const&)
[19] wxHtmlParser::DoParsing(int, int)
[20] wxHtmlParser::DoParsing()
[21] wxHtmlParser::Parse(wxString const&)
[22] CBOINCHtmlListBox::CacheItem(unsigned int) cons) 
/home/gyx/pkg/boinc/boinc-7.0.25+dfsg/clientgui/BOINCHtmlLBox.cpp:285
[23] CBOINCHtmlListBox::GetMaxItemWidth() cons) 
/home/gyx/pkg/boinc/boinc-7.0.25+dfsg/clientgui/BOINCHtmlLBox.cpp:384
[24] CBOINCVListBox::UpdateScrollbar() 
/home/gyx/pkg/boinc/boinc-7.0.25+dfsg/clientgui/BOINCVListBox.cpp:115
[25] CBOINCVListBox::SetItemCount(unsigned int) 
/home/gyx/pkg/boinc/boinc-7.0.25+dfsg/clientgui/BOINCVListBox.cpp:110
[26] CBOINCHtmlListBox::SetItemCount(unsigned int) 
/home/gyx/pkg/boinc/boinc-7.0.25+dfsg/clientgui/BOINCHtmlLBox.cpp:334
[27] CNoticeListCtrl::UpdateUI() 
/home/gyx/pkg/boinc/boinc-7.0.25+dfsg/clientgui/NoticeListCtrl.cpp:574
[28] CViewNotices::OnListRender(wxTimerEvent&) 
/home/gyx/pkg/boinc/boinc-7.0.25+dfsg/clientgui/ViewNotices.cpp:135
[29] CBOINCBaseView::FireOnListRender(wxTimerEvent&) 
/home/gyx/pkg/boinc/boinc-7.0.25+dfsg/clientgui/BOINCBaseView.cpp:241
[30] CAdvancedFrame::OnRefreshView(CFrameEvent&) 
/home/gyx/pkg/boinc/boinc-7.0.25+dfsg/clientgui/AdvancedFrame.cpp:1611
[31] wxAppConsole::HandleEvent(wxEvtHandler*, void 
(wxEvtHandler::*)(wxEvent&), wxEvent&) cons)
[32] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&)
[33] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[34] wxEvtHandler::ProcessEvent(wxEvent&)
[35] CMainDocument::HandleCompletedRPC() 
/home/gyx/pkg/boinc/boinc-7.0.25+dfsg/clientgui/AsyncRPC.cpp:1141
[36] CMainDocument::OnRPCComplete(CRPCFinishedEvent&) 
/home/gyx/pkg/boinc/boinc-7.0.25+dfsg/clientgui/AsyncRPC.cpp:922
[37] CBOINCGUIApp::OnRPCFinished(CRPCFinishedEvent&) 
/home/gyx/pkg/boinc/boinc-7.0.25+dfsg/clientgui/BOINCGUIApp.cpp:817
[38] wxAppConsole::HandleEvent(wxEvtHandler*, void 
(wxEvtHandler::*)(wxEvent&), wxEvent&) cons)
[39] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&)
[40] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[41] wxEvtHandler::ProcessEvent(wxEvent&)
[42] wxEvtHandler::ProcessPendingEvents()
[43] wxAppConsole::ProcessPendingEvents()
[44] wxAppBase::ProcessIdle()
[45] g_main_context_dispatch()
[46] g_main_loop_run()
[47] gtk_main()
[48] wxEventLoop::Run()
[49] wxAppBase::MainLoop()


This is the output of a normal boincmgr (amd64 7.0.28, without debug).

SIGSEGV: segmentation violation
Stack trace (46 frames):
boincmgr(boinc_catch_signal+0x5d)[0x4fc27d]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf030)[0x7f2009b2d030]
/usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0(_ZNK13wxArrayString5IndexEPKwbb+0x45)[0x7f200a2a0245]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZNK9wxHtmlTag8HasParamERK8wxString+0x14)[0x7f200b0cc244]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZN18wxHTML_Handler_IMG9HandleTagERK9wxHtmlTag+0x732)[0x7f200b0db982]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZN12wxHtmlParser6AddTagERK9wxHtmlTag+0x73)[0x7f200b0cad23]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZN12wxHtmlParser9DoParsingEii+0x6b)[0x7f200b0cab1b]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZN16wxHTML_Handler_A9HandleTagERK9wxHtmlTag+0x5a8)[0x7f200b0de5f8]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZN12wxHtmlParser6AddTagERK9wxHtmlTag+0x73)[0x7f200b0cad23]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZN12wxHtmlParser9DoParsingEii+0x6b)[0x7f200b0cab1b]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZN20wxHTML_Handler_TABLE9HandleTagERK9wxHtmlTag+0x5a1)[0x7f200b0e3121]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZN12wxHtmlParser6AddTagERK9wxHtmlTag+0x73)[0x7f200b0cad23]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZN12wxHtmlParser9DoParsingEii+0x6b)[0x7f200b0cab1b]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZN12wxHtmlParser6AddTagERK9wxHtmlTag+0xea)[0x7f200b0cad9a]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZN12wxHtmlParser9DoParsingEii+0x6b)[0x7f200b0cab1b]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZN20wxHTML_Handler_TABLE9HandleTagERK9wxHtmlTag+0x359)[0x7f200b0e2ed9]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZN12wxHtmlParser6AddTagERK9wxHtmlTag+0x73)[0x7f200b0cad23]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZN12wxHtmlParser9DoParsingEii+0x6b)[0x7f200b0cab1b]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0(_ZN12wxHtmlParser5ParseERK8wxString+0x1f)[0x7f200b0cae2f]
boincmgr[0x458396]
boincmgr[0x45862b]
boincmgr[0x460449]
boincmgr[0x498373]
boincmgr[0x4cfe16]
boincmgr[0x43b312]
/usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent+0x56)[0x7f200a2d0456]
/usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0(_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler+0xa4)[0x7f200a2d05c4]
/usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0xc7)[0x7f200a2d08e7]
boincmgr[0x44580f]
/usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent+0x56)[0x7f200a2d0456]
/usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0(_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler+0xa4)[0x7f200a2d05c4]
/usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0xc7)[0x7f200a2d08e7]
/usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler20ProcessPendingEventsEv+0x60)[0x7f200a2d03c0]
/usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0(_ZN12wxAppConsole20ProcessPendingEventsEv+0x49)[0x7f200a253899]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0(_ZN9wxAppBase11ProcessIdleEv+0x19)[0x7f200a9eb619]
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0(+0x1f5dee)[0x7f200a965dee]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x135)[0x7f2008fe0205]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4a538)[0x7f2008fe0538]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x72)[0x7f2008fe0932]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x7f200961aa77]


Regards,

Guo Yixuan


-- System Information:
Debian Release: wheezy/sid
   APT prefers testing
   APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages boinc-manager depends on:
ii  libc6           2.13-32
ii  libgcc1         1:4.7.0-8
ii  libglib2.0-0    2.32.3-1
ii  libgtk2.0-0     2.24.10-1
ii  libnotify4      0.7.5-1
ii  libsqlite3-0    3.7.12.1-1
ii  libstdc++6      4.7.0-8
ii  libwxbase2.8-0  2.8.12.1-11
ii  libwxgtk2.8-0   2.8.12.1-11

Versions of packages boinc-manager recommends:
ii  boinc-client   7.0.28+dfsg-1
pn  ia32-libs-gtk  <none>

Versions of packages boinc-manager suggests:
ii  libgl1-mesa-glx  7.11.2-1
ii  libxt6           1:1.1.3-1

-- no debconf information





More information about the pkg-boinc-devel mailing list