Opened 12 years ago
Last modified 12 years ago
#1185 new Defect
Crash of boinc-manager upon selection of notices tab with no/bad internet connection
Reported by: | smoe | Owned by: | romw |
---|---|---|---|
Priority: | Minor | Milestone: | Undetermined |
Component: | Manager | Version: | 7.0.26 |
Keywords: | Cc: | culu.gyx@… |
Description
Hello,
I am reporting a crash that is nicely reproducible running boinc client 7.0.28: Try "ifdown eth0" or something else to stop your internet to work, start boincmgr and select the "Notices" tab. Segfault. The CmpNoCase? I presume to be called with a NULL argument, wildly guessing.
When running BOINC on some mobile computer, one is rather likely to experience this problem. Otherwise, well, ... I kindly ask to have a look through those parts anyway since sometimes the BOINC manager just hangs when selecting that tab. But that I could not reliably reproduce that.
Thanks
Steffen
(gdb) run
Starting program: /usr/bin/boincmgr
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffee1e3700 (LWP 5637)]
execvp(/home/moeller/boinc, --redirectio, --launched_by_manager) failed with error 2!
execvp(/home/moeller/boinc, --redirectio, --launched_by_manager) failed with error 2!
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6961c61 in wxString::CmpNoCase(wchar_t const*) const () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
(gdb) bt
#0 0x00007ffff6961c61 in wxString::CmpNoCase(wchar_t const*) const () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#1 0x00007ffff69636c5 in wxArrayString::Index(wchar_t const*, bool, bool) const () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#2 0x00007ffff7793a44 in wxHtmlTag::HasParam(wxString const&) const () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#3 0x00007ffff77a37fe in wxHTML_Handler_IMG::HandleTag(wxHtmlTag const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#4 0x00007ffff779253d in wxHtmlParser::AddTag(wxHtmlTag const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#5 0x00007ffff7792356 in wxHtmlParser::DoParsing(int, int) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#6 0x00007ffff77a658b in wxHTML_Handler_A::HandleTag(wxHtmlTag const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#7 0x00007ffff779253d in wxHtmlParser::AddTag(wxHtmlTag const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#8 0x00007ffff7792356 in wxHtmlParser::DoParsing(int, int) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#9 0x00007ffff77ab319 in wxHTML_Handler_TABLE::HandleTag(wxHtmlTag const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#10 0x00007ffff779253d in wxHtmlParser::AddTag(wxHtmlTag const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#11 0x00007ffff7792356 in wxHtmlParser::DoParsing(int, int) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#12 0x00007ffff779258a in wxHtmlParser::AddTag(wxHtmlTag const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#13 0x00007ffff7792356 in wxHtmlParser::DoParsing(int, int) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#14 0x00007ffff77ab090 in wxHTML_Handler_TABLE::HandleTag(wxHtmlTag const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#15 0x00007ffff779253d in wxHtmlParser::AddTag(wxHtmlTag const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#16 0x00007ffff7792356 in wxHtmlParser::DoParsing(int, int) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#17 0x00007ffff779262f in wxHtmlParser::Parse(wxString const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
#18 0x000000000045c3e5 in CBOINCHtmlListBox::CacheItem (this=this@entry=0x966760, n=n@entry=0) at BOINCHtmlLBox.cpp:285
#19 0x000000000045c65b in CBOINCHtmlListBox::GetMaxItemWidth (this=0x966760) at BOINCHtmlLBox.cpp:383
#20 0x00000000004639d6 in CBOINCVListBox::UpdateScrollbar (this=0x966760) at BOINCVListBox.cpp:115
#21 0x0000000000498640 in CNoticeListCtrl::UpdateUI (this=0x966760) at NoticeListCtrl.cpp:573
#22 0x00000000004cb856 in CViewNotices::OnListRender (this=0x964600) at ViewNotices.cpp:133
#23 0x00000000004470af in CAdvancedFrame::OnRefreshView (this=0x8b9400) at AdvancedFrame.cpp:1611
#24 0x00007ffff6994275 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#25 0x00007ffff69943dc in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#26 0x00007ffff6994714 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#27 0x000000000044a10d in CMainDocument::HandleCompletedRPC (this=0x8c6800) at AsyncRPC.cpp:1141
#28 0x00007ffff6994275 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#29 0x00007ffff69943dc in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#30 0x00007ffff6994714 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#31 0x00007ffff69941e0 in wxEvtHandler::ProcessPendingEvents() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#32 0x00007ffff6916169 in wxAppConsole::ProcessPendingEvents() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#33 0x00007ffff70aca09 in wxAppBase::ProcessIdle() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#34 0x00007ffff70219dd in ?? () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#35 0x00007ffff56a0205 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff56a0538 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007ffff56a0932 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff5cdaa77 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#39 0x00007ffff7035698 in wxEventLoop::Run() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#40 0x00007ffff70ac82b in wxAppBase::MainLoop() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#41 0x00007ffff694561b in wxEntry(int&, wchar_t) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#42 0x000000000042c8a2 in main (argc=1, argv=<optimized out>) at BOINCGUIApp.cpp:59
(gdb)
Also reported in ticket 1184