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

[QT] Crash in pthread_setspecific when switching content while QT interface is open #17452

Open
2 tasks done
kokoko3k opened this issue Jan 21, 2025 · 2 comments
Open
2 tasks done

Comments

@kokoko3k
Copy link
Contributor

Is there an existing issue for this?

  • This is a bug in RetroArch frontend
  • I have searched the existing issues

Description

I'm unable to switch content while the qt interface is open without crashing retroarch.

Expected behavior

No crash

Steps to reproduce the bug

Linux:

  • Start retroarch
  • load content
  • F5
  • load another content
  • GLib (gthread-posix.c): Unexpected error from C library during 'pthread_setspecific': Invalid argument. Aborting.

Version/Commit

1.20.0 Git version: 3797d4d (Build date Jan, 21 2025)

Bisect Results

No response

Present in the nightly version

I don't know

Platform & operating system

Linux x86 64bit

Affected Cores

Any

Environment information

X11, GLCore

Relevant log output

Thread 1 "retroarch" received signal SIGABRT, Aborted.
0x00007ffff0cac83c in ?? () from /usr/lib/libc.so.6
(gdb) bt all
No symbol "all" in current context.
(gdb) bt full
#0  0x00007ffff0cac83c in  () at /usr/lib/libc.so.6
#1  0x00007ffff0c5c668 in raise () at /usr/lib/libc.so.6
#2  0x00007ffff0c444b8 in abort () at /usr/lib/libc.so.6
#3  0x00007ffff4079f94 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007ffff407a14f in g_private_set () at /usr/lib/libglib-2.0.so.0
#5  0x00007ffff405429a in g_thread_self () at /usr/lib/libglib-2.0.so.0
#6  0x00007ffff401f153 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#7  0x00007ffff759d074 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#8  0x00005555556586d3 in  ()
#9  0x00007ffff0c45cd0 in  () at /usr/lib/libc.so.6
#10 0x00007ffff0c45d8a in __libc_start_main () at /usr/lib/libc.so.6
#11 0x000055555564a5b5 in  ()
@kokoko3k
Copy link
Contributor Author

Related? #6726

@viachaslavic
Copy link
Contributor

I can't reproduce on archlinux, x11, qt 6.8.1, any available videodriver

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

2 participants