BOINC client crashes immediately at startup (macOS 10.12.6)

Message boards : Questions and problems : BOINC client crashes immediately at startup (macOS 10.12.6)
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3

AuthorMessage
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 81516 - Posted: 21 Sep 2017, 8:33:44 UTC

CPDN's Sarah answers:
While we are still trying to fix this issue (that has us a bit stumped at the moment) we can deprecate wah2 for linux and mac users on the main site which is perhaps the cleanest thing to do. The other alternative would be to use the two apps we have of the same code base but send natural workunits (or pairs of attribution runs) to one of these and all other experiments such as HAPPI that are not using naturalised runs to the other app. That way we can deprecate just the natural runs for linux and mac users.

The deprecation will probably happen next week. Until that time, thread carefully.
ID: 81516 · Report as offensive
beeflin
Avatar

Send message
Joined: 23 Jul 13
Posts: 8
Message 81517 - Posted: 21 Sep 2017, 8:49:54 UTC - in response to Message 81402.  

Thank you - this has solved the problem for me. Now - how will I know when CPDN is safe to run on my Macs again?
ID: 81517 · Report as offensive
SJNorton

Send message
Joined: 22 Sep 17
Posts: 1
United States
Message 81533 - Posted: 22 Sep 2017, 3:22:51 UTC

I was also having the problem with the 7.8.2 client crashing on startup on OS X 10.11.6. Editing the client_state.xml site as described above (once I found the problematic work unit, which was different for me than in the example) seemed to be the fix. I've suspended CPDN, but would also love to be able to begin work on that again.

FWIW, here are some excerpts from the client_state.xml file that pointed the way. I'm happy to share any files if they would still be helpful.

<result>
    <name>wah2_pnw25_c8b7_190312_49_658_011246534_0</name>
    <final_cpu_time>12426.040000</final_cpu_time>
    <final_elapsed_time>13672.257631</final_elapsed_time>
    <exit_status>0</exit_status>
    <state>3</state>
    <platform>i686-apple-darwin</platform>
    <version_num>824</version_num>
    <final_peak_working_set_size>194347008</final_peak_working_set_size>
    <final_peak_swap_size>1045184512</final_peak_swap_size>
    <final_peak_disk_usage>73436695</final_peak_disk_usage>
<stderr_out>
<![CDATA[
<stderr_txt>

Suspended CPDN Monitor - Suspend request from BOINC...
Suspended CPDN Monitor - Suspend request from BOINC...
Suspended CPDN Monitor - Suspend request from BOINC...
Suspended CPDN Monitor - Suspend request from BOINC...
Suspended CPDN Monitor - Suspend request from BOINC...
Suspended CPDN Monitor - Suspend request from BOINC...
Suspended CPDN Monitor - Suspend request from BOINC...
Suspended CPDN Monitor - Suspend request from BOINC...
CPDN Monitor - Quit request from BOINC...

(over a thousand more lines like this, and then)
SIGSEGV: segmentation violation

Crashed executable name: wah2rm3m2t_um_8.24_i686-apple-darwin
built using BOINC library version 7.7.0
Machine type Intel x86-64h Haswell (32-bit executable)
System version: Macintosh OS 10.11.6 build 15G1611
Thu Sep 21 12:46:44 2017


Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0xffffffe1 ebx: 0x00000003 ecx: 0xbf27082c edx: 0x9e5c349a
  edi: 0x0000030b esi: 0xbf270898 ebp: 0xbf270868 esp: 0xbf27082c
   ss: 0x00000023 efl: 0x00000206 eip: 0x9e5c349a  cs: 0x0000000b
   ds: 0x00000023  es: 0x00000023  fs: 0x00000000  gs: 0x0000000f

Binary Images Description:
    0x1000 -   0x46afff /Library/Application Support/BOINC Data/projects/climateprediction.net/wah2rm3m2t_um_8.24_i686-apple-darwin
0x9051d000 - 0x90550fff /usr/lib/system/libsystem_m.dylib
0x90a26000 - 0x90a3dfff /usr/lib/system/libsystem_coretls.dylib
0x91191000 - 0x91197fff /usr/lib/system/libsystem_platform.dylib 

(more like that, and then)
Exiting...
Controller:: CPDN process is not running, exiting, bRetVal = 1, checkPID=0, selfPID=5817, iMonCtr=2
Model crash detected, will try to restart...
Global Worker:: CPDN process is not running, exiting, bRetVal = 1, checkPID=0, selfPID=5829, iMonCtr=2
Leaving CPDN_ain::Monitor...
12:46:46 (5817): called boinc_finish(0)

</stderr_txt>
]]>
</stderr_out>
    <wu_name>wah2_pnw25_c8b7_190312_49_658_011246534</wu_name>
    <report_deadline>1535768272.000000</report_deadline>
    <received_time>1505768273.722445</received_time>
    <file_ref>
        <file_name>wah2_pnw25_c8b7_190312_49_658_011246534_0_r849534656_1.zip</file_name>
        <open_name>cpdnout1.zip</open_name>
    </file_ref>

And so on, to the end of the <results> block.
ID: 81533 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5077
United Kingdom
Message 81534 - Posted: 22 Sep 2017, 7:15:55 UTC - in response to Message 81533.  

Well, every workunit is different, but yours does match the same pattern:

<name>wah2_pnw25_c8b7_190312_49_658_011246534_0</name>

Those are the bits to pick out.
ID: 81534 · Report as offensive
sam

Send message
Joined: 22 Sep 17
Posts: 1
Switzerland
Message 81535 - Posted: 22 Sep 2017, 9:00:37 UTC - in response to Message 81384.  
Last modified: 22 Sep 2017, 9:01:11 UTC

This workaround is successful, but a word of warning that if you have several project at the same time on the machine the <workunit> and <result> blocks may not be appearing together in the client_state.xml file.

As a general comment my problem was from the wah2_pnw25_c5zw_190312_49_658_011243535 workunit

And finally: Right now i have suspended the CPDN project how will we know it is safe to resume work ?
ID: 81535 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5077
United Kingdom
Message 81536 - Posted: 22 Sep 2017, 9:32:42 UTC - in response to Message 81535.  

And finally: Right now i have suspended the CPDN project how will we know it is safe to resume work ?
CPDN users don't seem to be discussing it much on their forums, but the staff certainly are - see Jord's message 81516. Unfortunately, I got thrown off that feed, but while Jord is still receiving it, I'm sure he'll keep you posted.
ID: 81536 · Report as offensive
Elladan11

Send message
Joined: 28 Sep 17
Posts: 1
United States
Message 81619 - Posted: 28 Sep 2017, 16:34:54 UTC - in response to Message 81536.  

Ok, can someone please summarize for those of us that are not so tech savy as to want to do into the terminal window? I just want to run BOINC...:) I'm using macOS 10.12.6 and BOINC v7.8.2 (recently upgraded) which was working previously (don't know when it started failing). Is there a solution or should I just wait?
ID: 81619 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5077
United Kingdom
Message 81621 - Posted: 28 Sep 2017, 18:02:54 UTC - in response to Message 81619.  

The Mac developer is anxious to make a new version of BOINC for Mac because Apple has changed the way the screensaver works in an operating system revision.

We have a fix for the crash being discussed in this thread ready to go, so I've suggested that we combine the two and make a new version and make one which can work with the crashed task, as well as solve the screensaver problem.

I can't promise a timetable, but keep an eye on this thread.
ID: 81621 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5077
United Kingdom
Message 81830 - Posted: 6 Oct 2017, 8:30:09 UTC

Version 7.8.3 is now available for testing. This should allow BOINC to run with the failed CPDN tasks in situ, and also allow the Mac screensaver to show project graphics again once projects have updated their apps. If anyone still has a copy of BOINC which won't start, please test and report back.

Download the new version from http://boinc.berkeley.edu/download_all.php
ID: 81830 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5077
United Kingdom
Message 81835 - Posted: 6 Oct 2017, 12:06:29 UTC - in response to Message 81833.  

Charlie Fenton wrote a long email to the boinc_projects mailing list yesterday, explaining why changes are needed, how they're supposed to work, and what needs to be done.

In particular, he covered your point: he has designed the new graphics API calls to be fully backwards compatible. A single graphics app built with the new tools will work with both old-style and new-style Mac screensaver controllers.

But as always, the proof will be in the testing...

The email is archived at Update your project graphics for Mac OS 10.13, but that link is only accessible to current list subscribers.
ID: 81835 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 81838 - Posted: 6 Oct 2017, 12:46:27 UTC - in response to Message 81835.  

All that information - and more - is also available in Pull Request 2149
ID: 81838 · Report as offensive
soltech

Send message
Joined: 11 Oct 17
Posts: 1
United Kingdom
Message 81947 - Posted: 11 Oct 2017, 21:56:45 UTC - in response to Message 81384.  

Bingo, this is it, I removed the offending result record for the failed task and BOINC was able to start up and resume processing immediately afterward.

As suggested in this thread, the task had crashed in a way which caused BOINC itself to crash with "SIGSEGV: segmentation violation".

<result>
    <name>wah2_pnw25_c6mm_190312_49_658_011244353_0</name>
    <final_cpu_time>23032.940000</final_cpu_time>
    <final_elapsed_time>23719.470952</final_elapsed_time>
    <exit_status>0</exit_status>
    <state>3</state>
    <platform>i686-apple-darwin</platform>
    <version_num>824</version_num>
    <final_peak_working_set_size>232415232</final_peak_working_set_size>
    <final_peak_swap_size>1152143360</final_peak_swap_size>
    <final_peak_disk_usage>74182643</final_peak_disk_usage>
<stderr_out>
<![CDATA[
<stderr_txt>
est from BOINC...
Suspended CPDN Monitor - Suspend request from BOINC...
Suspended CPDN Monitor - Suspend request from BOINC...
Suspended CPDN Monitor - Suspend request from BOINC...
Suspended CPDN Monitor - Suspend request from BOINC...

... repeats hundreds of times...

Suspended CPDN Monitor - Suspend request from BOINC...
Suspended CPDN Monitor - Suspend request from BOINC...
Suspended CPDN Monitor - Suspend request from BOINC...
SIGSEGV: segmentation violation

Crashed executable name: wah2rm3m2t_um_8.24_i686-apple-darwin
built using BOINC library version 7.7.0
Machine type Intel 80486 (32-bit executable)
System version: Macintosh OS 10.11.6 build 15G1611
Mon Sep 18 01:31:25 2017


Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0xffffffe1 ebx: 0x00000003 ecx: 0xbf2707cc edx: 0x94db649a
  edi: 0x0000030b esi: 0xbf270838 ebp: 0xbf270808 esp: 0xbf2707cc
   ss: 0x00000023 efl: 0x00000206 eip: 0x94db649a  cs: 0x0000000b
   ds: 0x00000023  es: 0x00000023  fs: 0x00000000  gs: 0x0000000f

Binary Images Description:
    0x1000 -   0x46afff /Library/Application Support/BOINC Data/projects/climateprediction.net/wah2rm3m2t_um_8.24_i686-apple-darwin
0x90558000 - 0x90571fff /usr/lib/system/libsystem_malloc.dylib
0x919f0000 - 0x91a01fff /usr/lib/system/libsystem_trace.dylib
0x91ac8000 - 0x91acefff /usr/lib/system/libunwind.dylib
0x91ad3000 - 0x91b06fff /usr/lib/system/libsystem_m.dylib
0x91d6c000 - 0x91d90fff /usr/lib/libc++abi.dylib
0x9205f000 - 0x92062fff /usr/lib/system/libdyld.dylib
0x920a5000 - 0x920bcfff /usr/lib/system/libsystem_coretls.dylib
0x9287c000 - 0x9287efff /usr/lib/system/libsystem_coreservices.dylib
0x92940000 - 0x92942fff /usr/lib/system/libsystem_configuration.dylib
0x92aab000 - 0x92ab4fff /usr/lib/system/libcopyfile.dylib
0x92c12000 - 0x92c80fff /usr/lib/system/libsystem_network.dylib
0x92fee000 - 0x92ff6fff /usr/lib/system/libsystem_pthread.dylib
0x92ff7000 - 0x93001fff /usr/lib/system/libsystem_notify.dylib
0x94167000 - 0x94172fff /usr/lib/system/libcommonCrypto.dylib
0x94173000 - 0x941dafff /usr/lib/system/libcorecrypto.dylib
0x94693000 - 0x94693fff /usr/lib/system/libunc.dylib
0x94cee000 - 0x94cf0fff /usr/lib/system/libquarantine.dylib
0x94da2000 - 0x94dc3fff /usr/lib/system/libsystem_kernel.dylib
0x94e33000 - 0x94e35fff /usr/lib/system/libsystem_secinit.dylib
0x94f1c000 - 0x94f24fff /usr/lib/system/libsystem_dnssd.dylib
0x9551b000 - 0x9551bfff /usr/lib/system/libkeymgr.dylib
0x95550000 - 0x9557afff /usr/lib/system/libdispatch.dylib
0x95ca0000 - 0x95ca5fff /usr/lib/system/libcompiler_rt.dylib
0x962ad000 - 0x962adfff /usr/lib/system/libsystem_blocks.dylib
0x962f6000 - 0x96349fff /usr/lib/libstdc++.6.dylib
0x9788d000 - 0x978b7fff /usr/lib/system/libsystem_info.dylib
0x978b8000 - 0x978b9fff /usr/lib/libSystem.B.dylib
0x9aa0c000 - 0x9aa11fff /usr/lib/system/libmacho.dylib
0x9ab71000 - 0x9ab99fff /usr/lib/system/libxpc.dylib
0x9ae7d000 - 0x9ae81fff /usr/lib/system/libcache.dylib
0x9cd54000 - 0x9cde9fff /usr/lib/system/libsystem_c.dylib
0x9ce9e000 - 0x9ce9ffff /usr/lib/system/libremovefile.dylib
0x9d431000 - 0x9d43afff /usr/lib/system/libsystem_networkextension.dylib
0x9d43b000 - 0x9d454fff /usr/lib/system/libsystem_asl.dylib
0x9d572000 - 0x9d578fff /usr/lib/system/libsystem_platform.dylib
0x9e556000 - 0x9e559fff /usr/lib/system/libsystem_sandbox.dylib
0x9ed6e000 - 0x9ed6efff /usr/lib/system/liblaunch.dylib


Exiting...
Suspended CPDN Monitor - Suspend request from BOINC...
Controller:: CPDN process is not running, exiting, bRetVal = 1, checkPID=0, selfPID=4660, iMonCtr=2
Model crash detected, will try to restart...
Global Worker:: CPDN process is not running, exiting, bRetVal = 1, checkPID=0, selfPID=4672, iMonCtr=2
Leaving CPDN_ain::Monitor...
01:31:29 (4660): called boinc_finish(0)

</stderr_txt>
]]>
</stderr_out>
    <wu_name>wah2_pnw25_c6mm_190312_49_658_011244353</wu_name>
    <report_deadline>1535654935.000000</report_deadline>
    <received_time>1505654935.902994</received_time>
    <file_ref>
        <file_name>wah2_pnw25_c6mm_190312_49_658_011244353_0_r2058696158_1.zip</file_name>
        <open_name>cpdnout1.zip</open_name>
    </file_ref>

... snip numerous file_ref tags...

    <file_ref>
        <file_name>wah2_pnw25_c6mm_190312_49_658_011244353_0_r2058696158_restart.zip</file_name>
        <open_name>cpdnout_restart.zip</open_name>
    </file_ref>
    <file_ref>
        <file_name>wah2_pnw25_c6mm_190312_49_658_011244353_0_r2058696158_out.zip</file_name>
        <open_name>cpdnout_out.zip</open_name>
    </file_ref>
</result>
ID: 81947 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 81948 - Posted: 11 Oct 2017, 22:07:10 UTC

People still coming across this problem, there's a simpler solution for your problem: update to BOINC 7.8.3, which will be recommended any day now, but until that time can be downloaded from https://boinc.berkeley.edu/download_all.php
ID: 81948 · Report as offensive
Previous · 1 · 2 · 3

Message boards : Questions and problems : BOINC client crashes immediately at startup (macOS 10.12.6)

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.