Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720684 - sci-biology/foldingathome-7.6.9: general protection fault in libc-2.31.so
Summary: sci-biology/foldingathome-7.6.9: general protection fault in libc-2.31.so
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Science Biology related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-02 17:25 UTC by George Diamantopoulos
Modified: 2023-06-13 13:16 UTC (History)
3 users (show)

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


Attachments
systemd unit logs (fah-systemd-service.log,1.10 KB, text/x-log)
2020-05-17 14:58 UTC, George Diamantopoulos
Details
emerge --info output (emerge-info.txt,6.28 KB, text/plain)
2020-05-17 14:58 UTC, George Diamantopoulos
Details
emerge --info foldingathome rocm-opencl-runtime (emerge.info,9.21 KB, text/plain)
2023-06-13 13:16 UTC, Andrei Slavoiu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description George Diamantopoulos 2020-05-02 17:25:44 UTC
After upgrading to 7.6.9, FAHClient fails to start with the following error:

kernel: traps: FAHClient[1424] general protection fault ip:7f0df1fc9efc sp:7fffc504c240 error:0 in libc-2.31.so[7f0df1f65000+145000]

Anyone else getting this? Any known workarounds? I'm running an ~amd64 system.

Reproducible: Always

Steps to Reproduce:
1. Upgrade to 7.6.9
2. Start the service via systemd unit
Comment 1 Jonas Stein gentoo-dev 2020-05-03 00:49:33 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to 
* attach the logs and 
* paste the emerge info 
as described on 
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket

Precursors for general protection fault can be in the warnings of the compile log.

Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Comment 2 George Diamantopoulos 2020-05-17 14:58:30 UTC
Created attachment 639842 [details]
systemd unit logs

output of: journalctl -u foldingathome.service -b -0
Comment 3 George Diamantopoulos 2020-05-17 14:58:58 UTC
Created attachment 639844 [details]
emerge --info output
Comment 4 Ian Stakenvicius (RETIRED) gentoo-dev 2020-05-19 23:36:17 UTC
Does this issue still exist with 7.6.13 ?
Comment 5 Andrei Slavoiu 2023-06-13 13:14:50 UTC
I'm not the original reporter, but I think I'm hitting the same issue. dmesg contains the folowing:
[178463.098848] traps: mfakto-x64[21251] general protection fault ip:7fce229064e3 sp:7ffe02eb4180 error:0 in libc.so.6[7fce228ed000+156000]
[178476.066700] FAHClient[977]: segfault at 0 ip 0000000000000000 sp 00007ffcdbde85b8 error 14 in FAHClient[3fe000+21000] likely on CPU 2 (core 2, socket 0)
[178476.066708] Code: Unable to access opcode bytes at 0xffffffffffffffd6.

This is the stacktrace from gdb:
Thread 3 "FAHClient" received signal SIGINT, Interrupt.
[Switching to Thread 0x7ffff7ca76c0 (LWP 2648)]
__GI___ioctl (fd=fd@entry=5, request=request@entry=3222817548) at ../sysdeps/unix/sysv/linux/ioctl.c:36
36            if (__glibc_unlikely (INTERNAL_SYSCALL_ERROR_P (r)))
(gdb) bt
#0  __GI___ioctl (fd=fd@entry=5, request=request@entry=3222817548) at ../sysdeps/unix/sysv/linux/ioctl.c:36
#1  0x00007ffff6fe0a00 in kmtIoctl (fd=5, request=request@entry=3222817548, arg=arg@entry=0x7ffff7ca6c00) at /usr/src/debug/dev-libs/roct-thunk-interface-5.4.3/ROCT-Thunk-Interface-rocm-5.4.3/src/libhsakmt.c:13
#2  0x00007ffff6fda43f in hsaKmtWaitOnMultipleEvents (Milliseconds=<optimized out>, WaitOnAll=false, NumEvents=<optimized out>, Events=0x7ffff7ca6d00) at /usr/src/debug/dev-libs/roct-thunk-interface-5.4.3/ROCT-Thunk-Interface-rocm-5.4.3/src/events.c:312
#3  hsaKmtWaitOnMultipleEvents (Events=0x7ffff7ca6d00, NumEvents=2, WaitOnAll=<optimized out>, Milliseconds=<optimized out>) at /usr/src/debug/dev-libs/roct-thunk-interface-5.4.3/ROCT-Thunk-Interface-rocm-5.4.3/src/events.c:286
#4  0x00007ffff70725e3 in rocr::core::Signal::WaitAny (signal_count=signal_count@entry=2, hsa_signals=hsa_signals@entry=0xfbd150, conds=conds@entry=0xfe5f30, values=values@entry=0xfe5f50, timeout=timeout@entry=18446744073709551615, wait_hint=<optimized out>, wait_hint@entry=HSA_WAIT_STATE_BLOCKED, 
    satisfying_value=0x7ffff7ca6e38) at /usr/src/debug/dev-libs/rocr-runtime-5.4.3-r1/ROCR-Runtime-rocm-5.4.3/src/core/runtime/signal.cpp:312
#5  0x00007ffff705665e in rocr::AMD::hsa_amd_signal_wait_any (signal_count=2, hsa_signals=0xfbd150, conds=0xfe5f30, values=0xfe5f50, timeout_hint=timeout_hint@entry=18446744073709551615, wait_hint=wait_hint@entry=HSA_WAIT_STATE_BLOCKED, satisfying_value=0x7ffff7ca6e38)
    at /usr/src/debug/dev-libs/rocr-runtime-5.4.3-r1/ROCR-Runtime-rocm-5.4.3/src/core/runtime/hsa_ext_amd.cpp:512
#6  0x00007ffff70674ca in rocr::core::Runtime::AsyncEventsLoop () at /usr/src/debug/dev-libs/rocr-runtime-5.4.3-r1/ROCR-Runtime-rocm-5.4.3/src/core/runtime/runtime.cpp:1059
#7  0x00007ffff70271f7 in rocr::os::ThreadTrampoline (arg=<optimized out>) at /usr/src/debug/dev-libs/rocr-runtime-5.4.3-r1/ROCR-Runtime-rocm-5.4.3/src/core/util/lnx/os_linux.cpp:77
#8  0x00007ffff7d3b2aa in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007ffff7dbe39c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Comment 6 Andrei Slavoiu 2023-06-13 13:16:35 UTC
Created attachment 863766 [details]
emerge --info foldingathome rocm-opencl-runtime