Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segfault with llvm 9 on latest ubuntu releases #3

Open
whyrv opened this issue May 14, 2022 · 0 comments
Open

segfault with llvm 9 on latest ubuntu releases #3

whyrv opened this issue May 14, 2022 · 0 comments

Comments

@whyrv
Copy link

whyrv commented May 14, 2022

Newer ubuntu releases after 20.04 (namely 21.10 and 22.04) crash when compiled with LLVM 9, in thread create. Problem is only with LLVM 9, latest LLVM (13 or above) and gcc both work ok. The crash is in thread creation.
To reproduce, run any of test[1 2..]

gdb ./test1 8 8 8
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff7a46640 (LWP 9687)]
[New Thread 0x7ffff7245640 (LWP 9688)]

Thread 2 "test1" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7a46640 (LWP 9687)]
0x00007ffff7e572c0 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) where
#0  0x00007ffff7e572c0 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x00007ffff7ae0b43 in start_thread (arg=<optimized out>)
    at ./nptl/pthread_create.c:442
#2  0x00007ffff7b72a00 in clone3 ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant