Description of problem: Starting program: /usr/bin/boincmgr [Thread debugging using libthread_db enabled] [New Thread 0x7fca2ccfb7b0 (LWP 20672)] Detaching after fork from child process 20679. Detaching after fork from child process 20680. Detaching after fork from child process 20681. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fca2ccfb7b0 (LWP 20672)] wxStringBase::operator= (this=0xe0, stringSrc=@0x7fff379715c0) at src/common/string.cpp:778 778 if ( m_pchData != stringSrc.m_pchData ) { Current language: auto; currently c++ Missing separate debuginfos, use: debuginfo-install keyutils.x86_64 (gdb) bt #0 wxStringBase::operator= (this=0xe0, stringSrc=@0x7fff379715c0) at src/common/string.cpp:778 #1 0x00000000004c5998 in ?? () #2 0x00000000004c6a2d in ?? () #3 0x00000000004ccb23 in ?? () #4 0x00000000004465da in ?? () #5 0x00007fca2f06d793 in wxEntry (argc=<value optimized out>, argv=<value optimized out>) at src/common/init.cpp:440 #6 0x0000000000444ce2 in ?? () #7 0x00007fca2e6f432a in __libc_start_main (main=0x444cd0, argc=1, ubp_av=0x7fff37971a28, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff37971a18) at libc-start.c:220 #8 0x0000000000421969 in wxAppBase::MainLoop () at src/common/appcmn.cpp:308 #9 0x00007fff37971a18 in ?? () #10 0x000000000000001c in ?? () #11 0x0000000000000001 in ?? () #12 0x00007fff37972376 in ?? () #13 0x0000000000000000 in ?? () Version-Release number of selected component (if applicable): boinc-manager-5.10.45-9.20080315svn.fc9.x86_64 How reproducible: Always Steps to Reproduce: 1. Run `boincmgr`
What version of wx widgets (wxGTK package) do you have installed?
wxGTK-2.8.7-2.fc9.x86_64
I can confirm this behaviour on F9 -- but it seems to be caused by wxWidgets, therefore I'm changing the component to wxGTK.
It is questionable what is the primary source of the problem, because there is no problem when I try to run boincmgr on F9/i386. Also boinc* packages have unusable debuginfo, so it is hard to debug.
Luke, are you running an i386 or x86_64 machine? (I'll try to investigate what's wrong with the debuginfo package.)
The source of missing debuginfo is probably simple - strip (resp. @STRIP@) is run when creating/symlinking ".unmodified" and normal binary - see the end of Makefile.am in both client and clientgui dirs.
(In reply to comment #5) > Luke, are you running an i386 or x86_64 machine? > (I'll try to investigate what's wrong with the debuginfo package.) x86_64
It happens only on x86_64 -- even installing i386 packages on F9/x86_64 (including all its dependencies, of course) makes boincmgr working. I've fixed the broken debuginfo package (thanks for the hint, I should have noticed earlier that it is so damn small) -- please download the latest build from Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=48824 So the current gdb output is: (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /usr/bin/boincmgr [Thread debugging using libthread_db enabled] [New Thread 0x7f183ca557b0 (LWP 8983)] Detaching after fork from child process 8984. Detaching after fork from child process 8985. Detaching after fork from child process 8986. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f183ca557b0 (LWP 8983)] wxStringBase::operator= (this=0xe0, stringSrc=@0x7fff45deac30) at src/common/string.cpp:778 778 if ( m_pchData != stringSrc.m_pchData ) { (gdb) where #0 wxStringBase::operator= (this=0xe0, stringSrc=@0x7fff45deac30) at src/common/string.cpp:778 #1 0x00000000004c5998 in CSkinSimple::InitializeDelayedValidation (this=0x0) at /usr/include/wx-2.8/wx/string.h:660 #2 0x00000000004c6a2d in CSkinManager::InitializeDelayedValidation ( this=0x119c7b0) at SkinManager.cpp:1436 #3 0x00000000004ccb23 in CSkinManager::ReloadSkin (this=0x119c7b0, pLocale=<value optimized out>, strSkin=<value optimized out>) at SkinManager.cpp:1257 #4 0x00000000004465da in CBOINCGUIApp::OnInit (this=0x1148430) at BOINCGUIApp.cpp:276 #5 0x00007f183cb10793 in wxEntry (argc=<value optimized out>, argv=<value optimized out>) at src/common/init.cpp:440 #6 0x0000000000444ce2 in main (argc=1, argv=0x7fff45deac30) at BOINCGUIApp.cpp:71
From the backtraces #2 and #1 is clear that problem is in boincmgr - #2 calls #1 with this=0x0 (m_SimpleSkin member of the class should be NULL when his method gets called). boinc-manager works on F8/x86_64 + wxGTK-2.8.7-2, so it looks like a gcc 4.3 incompatibility of the boincmgr's sources, switching the component back to boinc-client
Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
I see, sorry -- somehow I thought that from #3 down it's wxWidgets code, although SkinManager.cpp is a part of BOINC. Reported into BOINC trac as ticket #658 (http://boinc.berkeley.edu/trac/ticket/658)
This bit me; I got a simplified test case and have attached a fix to the boinc bug. sizeof(int) != sizeof(long) - this should never have worked.... Not sure the best way to get upstream to apply this; I'll leave that with you....
Its been applied upstream.
Great work Bradley, thank you very much! Should be fixed in boinc-client-5.10.45-13.20080315svn.fc9 (http://koji.fedoraproject.org/koji/buildinfo?buildID=49385) An update will come soon.
Yep, that fixes it.
boinc-client-5.10.45-14.20080315svn.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update boinc-client'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-3531
boinc-client-5.10.45-14.20080315svn.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
boinc-client-5.10.45-14.20080315svn.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
boinc-client-5.10.45-14.20080315svn.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.