Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688450 - sci-biology/foldingathome-7.5.1 - FAHClient: segmentation fault in ? at ?
Summary: sci-biology/foldingathome-7.5.1 - FAHClient: segmentation fault in ? at ?
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ian Stakenvicius (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-21 18:35 UTC by Neil Stone
Modified: 2020-03-23 17:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Stone 2019-06-21 18:35:02 UTC
Trying to launch FAHClient, I get the following at the CLI:

# ./FAHClient 
./FAHClient: /opt/foldingathome/libssl.so.10: no version information available (required by ./FAHClient)
./FAHClient: /opt/foldingathome/libcrypto.so.10: no version information available (required by ./FAHClient)
./FAHClient: /opt/foldingathome/libcrypto.so.10: no version information available (required by ./FAHClient)
Segmentation fault


# ldd FAHClient 
./FAHClient: /opt/foldingathome/libssl.so.10: no version information available (required by ./FAHClient)
./FAHClient: /opt/foldingathome/libcrypto.so.10: no version information available (required by ./FAHClient)
./FAHClient: /opt/foldingathome/libcrypto.so.10: no version information available (required by ./FAHClient)
        linux-vdso.so.1 (0x00007fff48dfd000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6a69efd000)
        libssl.so.10 => /opt/foldingathome/libssl.so.10 (0x00007f6a69c8c000)
        libcrypto.so.10 => /opt/foldingathome/libcrypto.so.10 (0x00007f6a6984a000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f6a69646000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f6a6943e000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f6a6922c000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f6a69015000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/libstdc++.so.6 (0x00007f6a68c10000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f6a688d2000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/libgcc_s.so.1 (0x00007f6a686ba000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f6a682e7000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f6a6a11f000)

# ldd /opt/foldingathome/libssl.so.10
        linux-vdso.so.1 (0x00007ffe8a1ed000)
        libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007f80d9f2a000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f80d9b57000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f80d9953000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f80d973c000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f80da5dd000)

# ldd /opt/foldingathome/libcrypto.so.10
        linux-vdso.so.1 (0x00007fff2e3da000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f58f004d000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f58efe36000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f58efa63000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f58f0693000)



# emerge --info
Portage 2.3.66 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-8.3.0, glibc-2.29-r2, 4.19.44-gentoo x86_64)
=================================================================
System uname: Linux-4.19.44-gentoo-x86_64-AMD_Ryzen_Threadripper_1920X_12-Core_Processor-with-gentoo-2.6
KiB Mem:    32828840 total,    522644 free
KiB Swap:   33554428 total,  33553908 free
Timestamp of repository gentoo: Fri, 21 Jun 2019 15:30:01 +0000
Head commit of repository gentoo: b95c6a7c9ef650d846841fbbce68f2677f4366d2
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.14.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo, 2.30-r4::gentoo, 2.31.1-r6::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 7.3.0-r3::dlang, 8.2.0-r6::gentoo, 8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/            http://mirrors.evowise.com/gentoo/              http://mirror.qubenet.net/mirror/gentoo/                http://www.mirrorservice.org/sites/distfiles.gentoo.org/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
USE="X a52 aac aalib acl acpi activities alsa amd64 apache2 berkdb bidi bl bluetooth bluray branding bs2b bzip2 cacert cairo cdda cddb cdparanoia cdr cli conntrack consolekit cpudetection cpumining crypt cups curl cxx dbus declarative device-mapper dri dts dv dvb dvd dvdr emboss encode exif faac faad fam fbcon fdt ffmpeg firmware flac fortran fping ftp fuse gadu gd gdbm geoip ggi gif gimp glamor glusterfs google groupwise gsm gtk history http2 iconv icq ipv6 iscsi java jingle jpeg jpeg2k kde kipi kwallet l2tp ladspa latex lcms ldap libcaca libmpeg2 libnotify librsync-bundled libtirpc lirc live lm_sensors lvm lzo mad md5sum meanwhile mng modminer monitor mp3 mp4 mpeg mplayer msn multilib mysql mysqli nas ncat ncurses ndiff netlink nfs nftables nls nmap-update nowlistening nping nptl ntfs numa nut ocr ofono ogg openal opencl openconnect opengl openmp openvpn oscar otr pam pango pcap pcre pdf phonon pipes plasma png pnm policykit portaudio postscript ppds pptp pulseaudio pvr qml qt5 radio radioreference rar readline reiserfs rpc rtc rtlsdr samba sasl scanner scrypt sdl sdl2 seccomp semantic-desktop sensord sensors sip sipe snappy snmp spell spice sqlite ssh ssl startup-notification statistics steam subtitles svg systemtap systray tci tcpd testbed tga theora threads tidy tiff toolame tools translator tremor truetype tty-helpers twolame udev udisks unicode update_drivedb upower usb usbredir v4l vde vdpau vhost-net virgl virtfs vnc vorbis vpnc vte webpresence widgets winpopup wispr wxwidgets x264 xattr xcb xcomposite xen xfs xine xinerama xinetd xml xmpp xv xvid xvmc yahoo yuv4mpeg zenmap zeroconf zfs zlib zoran" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias access_compat asis auth_digest authn_dbd authz_dbd cache_disk cache_socache cern_meta charset_lite dbd dumpio http2 ident imagemap lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat log_forensic macro proxy proxy_ajp proxy_balancer proxy_connect proxy_fcgi proxy_ftp proxy_html proxy_http proxy_scgi proxy_wstunnel ratelimit remoteip reqtimeout slotmem_shm substitute version xml2enc" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev keyboard libinput mouse" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6" QEMU_SOFTMMU_TARGETS="arm x86_64 sparc i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-06-25 09:27:39 UTC
It would help if you attached the output of a gdb backtrace to this bug report.
Comment 2 Neil Stone 2019-06-26 17:21:25 UTC
Erm.... I think this is right...

# gdb ./FAHClient 
GNU gdb (Gentoo 8.1 p1) 8.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./FAHClient...(no debugging symbols found)...done.
(gdb) run
Starting program: /opt/foldingathome/FAHClient 
/opt/foldingathome/FAHClient: /opt/foldingathome/libssl.so.10: no version information available (required by /opt/foldingathome/FAHClient)
/opt/foldingathome/FAHClient: /opt/foldingathome/libcrypto.so.10: no version information available (required by /opt/foldingathome/FAHClient)
/opt/foldingathome/FAHClient: /opt/foldingathome/libcrypto.so.10: no version information available (required by /opt/foldingathome/FAHClient)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff5f9c700 (LWP 31387)]
[Thread 0x7ffff5f9c700 (LWP 31387) exited]

Thread 1 "FAHClient" received signal SIGSEGV, Segmentation fault.
0x00000000007b76e0 in ?? ()
(gdb) 

If that wasn't right, please accept my apologies and point me at a 'GDB backtrace 101' that'll educate me.

Thanks.
Comment 3 Neil Stone 2019-06-28 19:27:53 UTC
This one might be a little more helpful...

(gdb) run
Starting program: /opt/foldingathome/FAHClient 
/opt/foldingathome/FAHClient: /opt/foldingathome/libssl.so.10: no version information available (required by /opt/foldingathome/FAHClient)
/opt/foldingathome/FAHClient: /opt/foldingathome/libcrypto.so.10: no version information available (required by /opt/foldingathome/FAHClient)
/opt/foldingathome/FAHClient: /opt/foldingathome/libcrypto.so.10: no version information available (required by /opt/foldingathome/FAHClient)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff6f27700 (LWP 24160)]
[Thread 0x7ffff6f27700 (LWP 24160) exited]
[New Thread 0x7ffff6f27700 (LWP 24237)]
[New Thread 0x7fffe41a2700 (LWP 24241)]
[New Thread 0x7fffe39a1700 (LWP 24243)]
[New Thread 0x7fffe31a0700 (LWP 24244)]
[New Thread 0x7fffe299f700 (LWP 24245)]
[New Thread 0x7fffe219e700 (LWP 24246)]
[New Thread 0x7fffe199d700 (LWP 24247)]
[New Thread 0x7fffe119c700 (LWP 24248)]
[New Thread 0x7fffe099b700 (LWP 24249)]
[New Thread 0x7fffc3fff700 (LWP 24250)]
[New Thread 0x7fffc37fe700 (LWP 24251)]
[New Thread 0x7fffc2ffd700 (LWP 24252)]
[New Thread 0x7fffc27fc700 (LWP 24253)]
[New Thread 0x7fffc1ffb700 (LWP 24254)]
[New Thread 0x7fffc17fa700 (LWP 24255)]
[New Thread 0x7fffc0ff9700 (LWP 24256)]
[New Thread 0x7fff9ffff700 (LWP 24257)]
[New Thread 0x7fff97fff700 (LWP 24258)]
[Thread 0x7fffc1ffb700 (LWP 24254) exited]
[Thread 0x7fffc27fc700 (LWP 24253) exited]
[Thread 0x7fff97fff700 (LWP 24258) exited]
[Thread 0x7fff9ffff700 (LWP 24257) exited]
[Thread 0x7fffc0ff9700 (LWP 24256) exited]
[Thread 0x7fffc17fa700 (LWP 24255) exited]
[Thread 0x7fffc2ffd700 (LWP 24252) exited]
[Thread 0x7fffc37fe700 (LWP 24251) exited]
[Thread 0x7fffc3fff700 (LWP 24250) exited]
[Thread 0x7fffe099b700 (LWP 24249) exited]
[Thread 0x7fffe119c700 (LWP 24248) exited]
[Thread 0x7fffe199d700 (LWP 24247) exited]
[Thread 0x7fffe219e700 (LWP 24246) exited]
[Thread 0x7fffe299f700 (LWP 24245) exited]
[Thread 0x7fffe31a0700 (LWP 24244) exited]
[Thread 0x7fffe39a1700 (LWP 24243) exited]

Thread 1 "FAHClient" received signal SIGSEGV, Segmentation fault.
0x00007fff8bce6737 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so
(gdb) bt
#0  0x00007fff8bce6737 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so
#1  0x00007fff8bce96f1 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so
#2  0x00007fff8bd03678 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so
#3  0x00007fff8c056010 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so
#4  0x00007fff8bcd9259 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so
#5  0x00007fff8bcd92cf in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so
#6  0x00007fff8bcda057 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so
#7  0x00007fff8c103c1e in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so
#8  0x00007fff8c10514a in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so
#9  0x00007fff8c105366 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so
#10 0x00007fff8bcb6f07 in ?? () from /opt/amdgpu/lib64/libamdocl-orca64.so
#11 0x00007fff8bc9a1c2 in clIcdGetPlatformIDsKHR () from /opt/amdgpu/lib64/libamdocl-orca64.so
#12 0x00007ffff650cc35 in ?? () from /usr/lib64/OpenCL/vendors/ocl-icd/libOpenCL.so
#13 0x00007ffff7f6a3b7 in __pthread_once_slow () from /lib64/libpthread.so.0
#14 0x00007ffff650bea0 in ?? () from /usr/lib64/OpenCL/vendors/ocl-icd/libOpenCL.so
#15 0x00007ffff650ee44 in clGetPlatformIDs () from /usr/lib64/OpenCL/vendors/ocl-icd/libOpenCL.so
#16 0x000000000069c2cf in FAH::OpenCLLibrary::OpenCLLibrary(cb::Inaccessible) ()
#17 0x000000000046ac1f in cb::Singleton<FAH::OpenCLLibrary>::instance() ()
#18 0x0000000000695315 in FAH::FAHSystemInfo::add(cb::Info&, bool) ()
#19 0x0000000000687831 in FAH::FAHApplication::FAHApplication(std::string const&, bool (*)(int)) ()
#20 0x0000000000426aa1 in FAH::ClientApp::ClientApp() ()
#21 0x0000000000420703 in _start ()
(gdb)
Comment 4 Neil Stone 2019-07-30 22:47:33 UTC
(In reply to Jeroen Roovers from comment #1)
> It would help if you attached the output of a gdb backtrace to this bug
> report.

Did I do it right, or should I try again? (perhaps with some guidance?)
Comment 5 Neil Stone 2019-10-21 20:35:39 UTC
Is there anything further I can add that may be of help here?
Comment 6 Neil Stone 2020-01-01 22:02:16 UTC
Turns out this is not F@H project directly being a problem, but the presence of the AMDGPU features being 'enabled'.

Turned these off, recompiled a heap of stuff and (after months of wanting to get this going with no outside help) it's now working.

Now... if I can only get it to not cause fan vibration on my case that'd be awesome...
Comment 7 Mark 2020-03-22 18:28:36 UTC
@Neil Stone

>Turns out this is not F@H project directly being a problem, but the presence of the AMDGPU features being 'enabled'.

Can you explain what you mean by "AMDGPU features" ?

I'm having the same problem trying to volunteer some compute resources for coronavirus :(
Comment 8 neil.stone 2020-03-23 17:14:02 UTC
(In reply to Mark from comment #7)
> @Neil Stone
> 
> >Turns out this is not F@H project directly being a problem, but the presence of the AMDGPU features being 'enabled'.
> 
> Can you explain what you mean by "AMDGPU features" ?
> 
> I'm having the same problem trying to volunteer some compute resources for
> coronavirus :(

I had "amdgpu" present in, I think it was "VIDEO_CARDS". Removing that made the package compile.

Please feed back your experience...