BOINC SIGBUS error

Message boards : BOINC client : BOINC SIGBUS error
Message board moderation

To post messages, you must log in.

AuthorMessage
huns0004

Send message
Joined: 25 May 14
Posts: 6
United States
Message 54256 - Posted: 25 May 2014, 3:17:03 UTC

I have installed BOINC on Centos 6.5 and I am constantly getting SIGBUS errors. They usually look like this:

Exiting...
SIGBUS: bus error
Stack trace (12 frames):
/var/lib/boinc/boinc(boinc_catch_signal+0x4d)[0x49725d]
/lib64/libpthread.so.0[0x3a0f80f710]
/var/lib/boinc/boinc[0x48bca6]
/var/lib/boinc/boinc[0x416b88]
/var/lib/boinc/boinc[0x4170d3]
/var/lib/boinc/boinc[0x42bbde]
/var/lib/boinc/boinc[0x42f6dd]
/var/lib/boinc/boinc[0x4205c2]
/var/lib/boinc/boinc[0x46c8cc]

I've had trouble with missing dependencies for my projects, but this is what I get when I run "ldd boinc" on the executable:

linux-vdso.so.1 => (0x00007fff67147000)
libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x000000311e400000)
libssl.so.10 => /usr/lib64/libssl.so.10 (0x0000003e24600000)
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x0000003e24200000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003a0fc00000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003a22c00000)
libz.so.1 => /lib64/libz.so.1 (0x0000003a10000000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003a0f800000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003a1c000000)
libm.so.6 => /lib64/libm.so.6 (0x0000003a0f000000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003a1a800000)
libc.so.6 => /lib64/libc.so.6 (0x0000003a0f400000)
libidn.so.11 => /lib64/libidn.so.11 (0x0000003a24000000)
libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x000000311e000000)
librt.so.1 => /lib64/librt.so.1 (0x0000003a10400000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x0000003a1d000000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x0000003a1bc00000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x0000003a1b800000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000003a1a400000)
libssl3.so => /usr/lib64/libssl3.so (0x0000003a1f400000)
libsmime3.so => /usr/lib64/libsmime3.so (0x0000003a1fc00000)
libnss3.so => /usr/lib64/libnss3.so (0x0000003a1ec00000)
libnssutil3.so => /usr/lib64/libnssutil3.so (0x0000003a1d800000)
libplds4.so => /lib64/libplds4.so (0x0000003a1e000000)
libplc4.so => /lib64/libplc4.so (0x0000003a1e400000)
libnspr4.so => /lib64/libnspr4.so (0x0000003a1dc00000)
libssh2.so.1 => /usr/lib64/libssh2.so.1 (0x0000003e24e00000)
/lib64/ld-linux-x86-64.so.2 (0x0000003a0ec00000)
liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x0000003a22000000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003a11400000)
libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x000000311dc00000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x0000003a1c400000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x0000003a1b400000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x000000311d400000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x0000003a10c00000)
libfreebl3.so => /lib64/libfreebl3.so (0x000000311d800000)

I'm running Centos 6.5 and kernal info:

Linux LINUX1 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25 19:59:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Any ideas what could be causing these constant crashes?
ID: 54256 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 54258 - Posted: 25 May 2014, 7:48:20 UTC

Hi,

what version of BOINC and from where did you install? I have a CentOS 6.5 testserver where I can check this.

Regards
Christian
ID: 54258 · Report as offensive
huns0004

Send message
Joined: 25 May 14
Posts: 6
United States
Message 54267 - Posted: 26 May 2014, 20:54:47 UTC - in response to Message 54258.  

Version 7.3.15, downloaded from the BOINC site.
ID: 54267 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 54274 - Posted: 27 May 2014, 10:55:06 UTC

7.3.15 is a development version and so far superseded by 7.3.19 (which is also experimental!).

Please test again with 7.3.19 or the current stable 7.2.42
ID: 54274 · Report as offensive
huns0004

Send message
Joined: 25 May 14
Posts: 6
United States
Message 54384 - Posted: 8 Jun 2014, 15:32:36 UTC - in response to Message 54274.  

I've installed version 7.2.42 and now I get these errors:

./boinc: /usr/lib64/libssl.so.1.0.0: version `OPENSSL_1.0.0' not found (required by ./boinc)
./boinc: /usr/lib64/libcurl.so.4: no version information available (required by ./boinc)
./boinc: /usr/lib64/libcrypto.so.1.0.0: version `OPENSSL_1.0.0' not found (required by ./boinc)
./boinc: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by ./boinc)
./boinc: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./boinc)

Perhaps I'll have to compile from source based on some of the other messages I've seen on this board.
ID: 54384 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 54385 - Posted: 8 Jun 2014, 15:44:11 UTC

I just also downloaded 7.2.42 because I was wondering if a package is missing or so. It seems you/we have to build a version specific for Centos because of older libraries.

This is may ldd of the prebuild boinc client from Berkeley:
ldd boinc
./boinc: /usr/lib64/libcurl.so.4: no version information available (required by ./boinc)
./boinc: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by ./boinc)
./boinc: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./boinc)
        linux-vdso.so.1 =>  (0x00007fff039ff000)
        libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x0000003615a00000)
        libssl.so.1.0.0 => not found
        libcrypto.so.1.0.0 => not found
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003e2b600000)
        libz.so.1 => /lib64/libz.so.1 (0x0000003e2c200000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x0000003e2e600000)
        libXss.so.1 => not found
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x0000003e32600000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003e2ba00000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003e2ce00000)
        libm.so.6 => /lib64/libm.so.6 (0x0000003e2be00000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003e2d600000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003e2b200000)
        libidn.so.11 => /lib64/libidn.so.11 (0x00007f76b0cf6000)
        libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x0000003e32e00000)
        librt.so.1 => /lib64/librt.so.1 (0x0000003e2c600000)
        libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x0000003e30a00000)
        libkrb5.so.3 => /lib64/libkrb5.so.3 (0x0000003e31200000)
        libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x0000003e30600000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000003e2da00000)
        libssl3.so => /usr/lib64/libssl3.so (0x0000003e30e00000)
        libsmime3.so => /usr/lib64/libsmime3.so (0x0000003e31600000)
        libnss3.so => /usr/lib64/libnss3.so (0x0000003e2f600000)
        libnssutil3.so => /usr/lib64/libnssutil3.so (0x0000003e2ea00000)
        libplds4.so => /lib64/libplds4.so (0x00007f76b0aee000)
        libplc4.so => /lib64/libplc4.so (0x0000003e2fe00000)
        libnspr4.so => /lib64/libnspr4.so (0x0000003e2fa00000)
        libssh2.so.1 => /usr/lib64/libssh2.so.1 (0x0000003615e00000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003e2ae00000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x0000003e2f200000)
        liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x0000003e33200000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003e2d200000)
        libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007f76b08d1000)
        libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x0000003e30200000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x0000003e2ee00000)
        libssl.so.10 => /usr/lib64/libssl.so.10 (0x0000003615600000)
        libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x0000003615200000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f76b06cd000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003e2de00000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x0000003e2ca00000)
        libfreebl3.so => /lib64/libfreebl3.so (0x0000003e2e200000)
ID: 54385 · Report as offensive
huns0004

Send message
Joined: 25 May 14
Posts: 6
United States
Message 54389 - Posted: 8 Jun 2014, 15:59:43 UTC - in response to Message 54385.  

So now I'm building from source according to http://boinc.berkeley.edu/trac/wiki/CompileClient

Everything works fine until I get to the last make, where I get these errors:

cp ../../../stage//usr/local/bin/boinc BOINC/boinc
cp ../../../stage//usr/local/bin/boincmgr BOINC/boincmgr
cp: cannot stat `../../../stage//usr/local/bin/boincmgr': No such file or directory
make: *** [BOINC/boincmgr] Error 1
ID: 54389 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 54391 - Posted: 8 Jun 2014, 16:06:33 UTC
Last modified: 8 Jun 2014, 16:21:50 UTC

I'm also building the client right now, but my build system is very slow. Just to make sure we are on the right page, I'm compiling the 7.2.42 client (not the manager) like this:

$ git checkout client_release/7.2/7.2.42
$ ./_autosetup
$ ./configure --disable-manager --disable-server
$ make

I'm currently running the make which may take some time.

I'm not building the manager because the system does not have wxwidgets or other needed libraries installed. It also has no XServer so the manager is not needed only the client.

Edit: my build finished succesfully I now have this for ldd ./client/boinc
linux-vdso.so.1 =>  (0x00007fffef6b1000)
        libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x0000003615a00000)
        libssl.so.10 => /usr/lib64/libssl.so.10 (0x0000003615600000)
        libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x0000003615200000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003e2b600000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003e2fa00000)
        libz.so.1 => /lib64/libz.so.1 (0x0000003e2c200000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003e2ba00000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003e2ce00000)
        libm.so.6 => /lib64/libm.so.6 (0x0000003e2be00000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003e2d600000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003e2b200000)
        libidn.so.11 => /lib64/libidn.so.11 (0x00007f36610ae000)
        libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x0000003e32e00000)
        librt.so.1 => /lib64/librt.so.1 (0x0000003e2c600000)
        libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x0000003e30a00000)
        libkrb5.so.3 => /lib64/libkrb5.so.3 (0x0000003e31200000)
        libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x0000003e30600000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000003e2da00000)
        libssl3.so => /usr/lib64/libssl3.so (0x0000003e30e00000)
        libsmime3.so => /usr/lib64/libsmime3.so (0x0000003e31600000)
        libnss3.so => /usr/lib64/libnss3.so (0x0000003e2f600000)
        libnssutil3.so => /usr/lib64/libnssutil3.so (0x0000003e2ea00000)
        libplds4.so => /lib64/libplds4.so (0x0000003e2e600000)
        libplc4.so => /lib64/libplc4.so (0x0000003e2fe00000)
        libnspr4.so => /lib64/libnspr4.so (0x00007f3660e6d000)
        libssh2.so.1 => /usr/lib64/libssh2.so.1 (0x0000003615e00000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003e2ae00000)
        liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x0000003e33200000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003e2d200000)
        libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x0000003e32600000)
        libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x0000003e30200000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x0000003e2ee00000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003e2de00000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x0000003e2ca00000)
        libfreebl3.so => /lib64/libfreebl3.so (0x0000003e2e200000)
ID: 54391 · Report as offensive
huns0004

Send message
Joined: 25 May 14
Posts: 6
United States
Message 54394 - Posted: 8 Jun 2014, 16:19:40 UTC - in response to Message 54391.  
Last modified: 8 Jun 2014, 16:23:28 UTC

I did checkout the 7.2.42 release. I didn't disable the manager so I'll give that a go.

Edit: same issue with --disable-manager.
ID: 54394 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 54395 - Posted: 8 Jun 2014, 16:24:00 UTC - in response to Message 54389.  
Last modified: 8 Jun 2014, 16:39:10 UTC

So now I'm building from source according to http://boinc.berkeley.edu/trac/wiki/CompileClient

Everything works fine until I get to the last make, where I get these errors:

cp ../../../stage//usr/local/bin/boinc BOINC/boinc
cp ../../../stage//usr/local/bin/boincmgr BOINC/boincmgr
cp: cannot stat `../../../stage//usr/local/bin/boincmgr': No such file or directory
make: *** [BOINC/boincmgr] Error 1

What I just recognized. You are saying "the last make", there is only one make to do unless you are running "make install" which is not on the page and also not really supported.

Edit: can you give me your exact commands so I can reproduce this a little bit better?
ID: 54395 · Report as offensive
huns0004

Send message
Joined: 25 May 14
Posts: 6
United States
Message 54397 - Posted: 8 Jun 2014, 16:39:34 UTC - in response to Message 54395.  

Yes, just realized that as well. I copied over the binaries and they appear to be working just fine, I've been able to attach to projects and everything.

Now hopefully this version will be more stable!
ID: 54397 · Report as offensive

Message boards : BOINC client : BOINC SIGBUS error

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.