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 when booting as MSXturboR #142

Open
Sanaki opened this issue Nov 29, 2021 · 0 comments
Open

Segfault when booting as MSXturboR #142

Sanaki opened this issue Nov 29, 2021 · 0 comments

Comments

@Sanaki
Copy link

Sanaki commented Nov 29, 2021

Observed on x86_64 Linux while attempting to run 10th Frame (1986)(US Gold)(GB).dsk validated against TOSEC dats with the core option bluemsx_msxtype = "MSXturboR". I've gotten a couple slightly different results in the backtrace depending on the core build.

RetroArch build used: libretro/RetroArch@97f3fca139
blueMSX version: cfc1df4

gdb backtrace (buildbot)
Thread 1 "retroarch" received signal SIGSEGV, Segmentation fault.
0x00007fffef567ca0 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) thread apply all bt

Thread 10 (Thread 0x7fffe0aa7700 (LWP 26299) "threaded-ml"):
#0  0x00007fffef290cb9 in __GI___poll (fds=0x7fffd4001b50, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff4e14481 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007ffff4e05e40 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007ffff4e064d0 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007ffff4e06560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007ffff4e143c9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fffed406468 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#7  0x00007ffff46d16db in start_thread (arg=0x7fffe0aa7700) at pthread_create.c:463
#8  0x00007fffef29d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffe12a8700 (LWP 26296) "[vkrt] Analysis"):
#0  0x00007ffff46d8065 in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffe12a7d50, expected=0, futex_word=0x7fffdc000d28) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0x7fffe12a7d50, mutex=0x555557730b90, cond=0x7fffdc000d00) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x7fffdc000d00, mutex=0x555557730b90, abstime=0x7fffe12a7d50) at pthread_cond_wait.c:667
#3  0x00007fffd2b9efd2 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#4  0x00007fffd3015a45 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#5  0x00007fffd2ba1288 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#6  0x00007ffff46d16db in start_thread (arg=0x7fffe12a8700) at pthread_create.c:463
#7  0x00007fffef29d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffdaedc700 (LWP 26295) "retroarch"):
#0  0x00007ffff46d8065 in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffdaedbd40, expected=0, futex_word=0x7fffcc000eb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0x7fffdaedbd40, mutex=0x555557aa4200, cond=0x7fffcc000e90) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x7fffcc000e90, mutex=0x555557aa4200, abstime=0x7fffdaedbd40) at pthread_cond_wait.c:667
#3  0x00007fffd2b9efd2 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#4  0x00007fffd2ffec64 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#5  0x00007fffd2ba1288 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#6  0x00007ffff46d16db in start_thread (arg=0x7fffdaedc700) at pthread_create.c:463
#7  0x00007fffef29d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffe6b5e700 (LWP 26293) "retroarch"):
#0  0x00007ffff46db474 in __libc_read (fd=47, buf=0x7fffb815db08, nbytes=5) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007ffff5c94b1f in mbedtls_net_recv () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#2  0x00007ffff5ca5afb in mbedtls_ssl_fetch_input () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#3  0x00007ffff5ca73aa in mbedtls_ssl_read_record_layer () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#4  0x00007ffff5ca8cd3 in mbedtls_ssl_read_record () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#5  0x00007ffff5ca96c0 in mbedtls_ssl_parse_change_cipher_spec () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#6  0x00007ffff5c96e98 in mbedtls_ssl_handshake_client_step () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#7  0x00007ffff5ca2d1d in mbedtls_ssl_handshake_step () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#8  0x00007ffff5ca2d80 in mbedtls_ssl_handshake () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#9  0x0000555555e3dbc9 in ssl_socket_connect (state_data=0x7fffb80e19a0, data=0x7fffb8000f50, timeout_enable=true, nonblock=true) at libretro-common/net/net_socket_ssl_mbed.c:142
#10 0x0000555555e327cc in net_http_new_socket (conn=0x5555568fef80) at libretro-common/net/net_http.c:436
#11 0x0000555555e33002 in net_http_new (conn=0x5555568fef80) at libretro-common/net/net_http.c:699
#12 0x0000555555e36d34 in cb_http_conn_default (data_=0x7fffb807f9b0, len=0) at tasks/task_http.c:97
#13 0x0000555555e36cc8 in task_http_conn_iterate_transfer_parse (http=0x7fffb807f9b0) at tasks/task_http.c:77
#14 0x0000555555e36f50 in task_http_transfer_handler (task=0x555557ce8880) at tasks/task_http.c:154
#15 0x000055555567ac84 in threaded_worker (userdata=0x0) at libretro-common/queues/task_queue.c:508
#16 0x00005555559f1d0d in thread_wrap (data_=0x555557cb85a0) at libretro-common/rthreads/rthreads.c:143
#17 0x00007ffff46d16db in start_thread (arg=0x7fffe6b5e700) at pthread_create.c:463
#18 0x00007fffef29d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffd9d61700 (LWP 26092) "retroarch"):
#0  0x00007ffff46d8065 in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffd9d60c30, expected=0, futex_word=0x555556f81c5c) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0x7fffd9d60c30, mutex=0x555556f81c08, cond=0x555556f81c30) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x555556f81c30, mutex=0x555556f81c08, abstime=0x7fffd9d60c30) at pthread_cond_wait.c:667
#3  0x0000555555e72ce1 in __gthread_cond_timedwait (__cond=0x555556f81c30, __mutex=0x555556f81c08, __abs_timeout=0x7fffd9d60c30) at /usr/include/x86_64-linux-gnu/c++/11/bits/gthr-default.h:872
#4  0x0000555555e73248 in std::__condvar::wait_until (this=0x555556f81c30, __m=..., __abs_time=...) at /usr/include/c++/11/bits/std_mutex.h:162
#5  0x0000555555e74f5c in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x555556f81c30, __lock=..., __atime=...) at /usr/include/c++/11/condition_variable:222
#6  0x0000555555e746f2 in std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x555556f81c30, __lock=..., __atime=...) at /usr/include/c++/11/condition_variable:135
#7  0x0000555555e739ea in std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (this=0x555556f81c30, __lock=..., __rtime=...) at /usr/include/c++/11/condition_variable:163
#8  0x0000555555e7345f in IoThreadHolder::Start()::{lambda()#1}::operator()() const (__closure=0x555557bff688) at deps/discord-rpc/src/discord_rpc.cpp:102
#9  0x0000555555e759f0 in std::__invoke_impl<void, IoThreadHolder::Start()::{lambda()#1}>(std::__invoke_other, IoThreadHolder::Start()::{lambda()#1}&&) (__f=...) at /usr/include/c++/11/bits/invoke.h:61
#10 0x0000555555e759a5 in std::__invoke<IoThreadHolder::Start()::{lambda()#1}>(IoThreadHolder::Start()::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11/bits/invoke.h:96
#11 0x0000555555e75952 in std::thread::_Invoker<std::tuple<IoThreadHolder::Start()::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x555557bff688) at /usr/include/c++/11/bits/std_thread.h:253
#12 0x0000555555e75926 in std::thread::_Invoker<std::tuple<IoThreadHolder::Start()::{lambda()#1}> >::operator()() (this=0x555557bff688) at /usr/include/c++/11/bits/std_thread.h:260
#13 0x0000555555e7590a in std::thread::_State_impl<std::thread::_Invoker<std::tuple<IoThreadHolder::Start()::{lambda()#1}> > >::_M_run() (this=0x555557bff680) at /usr/include/c++/11/bits/std_thread.h:211
#14 0x00007fffefdfb4c0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#15 0x00007ffff46d16db in start_thread (arg=0x7fffd9d61700) at pthread_create.c:463
#16 0x00007fffef29d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7e00800 (LWP 26072) "retroarch"):
#0  0x00007fffef567ca0 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fffe5d78e7a in ?? () from /home/ccrowley/.config/retroarch/cores/bluemsx_libretro.so
#2  0x00007fffe5d2e1eb in retro_run () from /home/ccrowley/.config/retroarch/cores/bluemsx_libretro.so
#3  0x000055555565fa6b in core_run () at runloop.c:8242
#4  0x000055555565e826 in runloop_iterate () at runloop.c:7656
#5  0x00005555556483e4 in rarch_main (argc=1, argv=0x7fffffffd808, data=0x0) at retroarch.c:3820
#6  0x0000555555847f89 in main (argc=1, argv=0x7fffffffd808) at ui/drivers/ui_qt.cpp:4315
gdb backtrace (standard self-compiled)
Thread 1 "retroarch" received signal SIGFPE, Arithmetic exception.
0x00007fffe5d73941 in ?? () from /home/ccrowley/.config/retroarch/cores/bluemsx_libretro.so
(gdb) thread apply all bt

Thread 10 (Thread 0x7fffe0aa7700 (LWP 30657) "threaded-ml"):
#0  0x00007fffef290cb9 in __GI___poll (fds=0x7fffd4001b50, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff4e14481 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007ffff4e05e40 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007ffff4e064d0 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007ffff4e06560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007ffff4e143c9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fffed406468 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#7  0x00007ffff46d16db in start_thread (arg=0x7fffe0aa7700) at pthread_create.c:463
#8  0x00007fffef29d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffe12a8700 (LWP 30655) "[vkrt] Analysis"):
#0  0x00007ffff46d8065 in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffe12a7d50, expected=0, futex_word=0x7fffdc000d28) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0x7fffe12a7d50, mutex=0x5555571a7920, cond=0x7fffdc000d00) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x7fffdc000d00, mutex=0x5555571a7920, abstime=0x7fffe12a7d50) at pthread_cond_wait.c:667
#3  0x00007fffd2b9efd2 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#4  0x00007fffd3015a45 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#5  0x00007fffd2ba1288 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#6  0x00007ffff46d16db in start_thread (arg=0x7fffe12a8700) at pthread_create.c:463
#7  0x00007fffef29d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffdaedc700 (LWP 30654) "retroarch"):
#0  0x00007ffff46d8065 in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffdaedbd40, expected=0, futex_word=0x7fffcc000f08) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0x7fffdaedbd40, mutex=0x555557236760, cond=0x7fffcc000ee0) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x7fffcc000ee0, mutex=0x555557236760, abstime=0x7fffdaedbd40) at pthread_cond_wait.c:667
#3  0x00007fffd2b9efd2 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#4  0x00007fffd2ffec64 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#5  0x00007fffd2ba1288 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#6  0x00007ffff46d16db in start_thread (arg=0x7fffdaedc700) at pthread_create.c:463
#7  0x00007fffef29d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffe6b5e700 (LWP 30649) "retroarch"):
#0  0x00007ffff46db474 in __libc_read (fd=48, buf=0x7fffb819c0e8, nbytes=5) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007ffff5c94b1f in mbedtls_net_recv () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#2  0x00007ffff5ca5afb in mbedtls_ssl_fetch_input () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#3  0x00007ffff5ca73aa in mbedtls_ssl_read_record_layer () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#4  0x00007ffff5ca8cd3 in mbedtls_ssl_read_record () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#5  0x00007ffff5ca96c0 in mbedtls_ssl_parse_change_cipher_spec () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#6  0x00007ffff5c96e98 in mbedtls_ssl_handshake_client_step () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#7  0x00007ffff5ca2d1d in mbedtls_ssl_handshake_step () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#8  0x00007ffff5ca2d80 in mbedtls_ssl_handshake () from /usr/lib/x86_64-linux-gnu/libmbedtls.so.10
#9  0x0000555555e3dbc9 in ssl_socket_connect (state_data=0x7fffb811f0d0, data=0x7fffb80328b0, timeout_enable=true, nonblock=true) at libretro-common/net/net_socket_ssl_mbed.c:142
#10 0x0000555555e327cc in net_http_new_socket (conn=0x55555718f1a0) at libretro-common/net/net_http.c:436
#11 0x0000555555e33002 in net_http_new (conn=0x55555718f1a0) at libretro-common/net/net_http.c:699
#12 0x0000555555e36d34 in cb_http_conn_default (data_=0x55555778c6c0, len=0) at tasks/task_http.c:97
#13 0x0000555555e36cc8 in task_http_conn_iterate_transfer_parse (http=0x55555778c6c0) at tasks/task_http.c:77
#14 0x0000555555e36f50 in task_http_transfer_handler (task=0x555557cf2060) at tasks/task_http.c:154
#15 0x000055555567ac84 in threaded_worker (userdata=0x0) at libretro-common/queues/task_queue.c:508
#16 0x00005555559f1d0d in thread_wrap (data_=0x5555576e5b70) at libretro-common/rthreads/rthreads.c:143
#17 0x00007ffff46d16db in start_thread (arg=0x7fffe6b5e700) at pthread_create.c:463
#18 0x00007fffef29d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffd9d61700 (LWP 30624) "retroarch"):
#0  0x00007ffff46d8065 in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffd9d60c30, expected=0, futex_word=0x555556f81c5c) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0x7fffd9d60c30, mutex=0x555556f81c08, cond=0x555556f81c30) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x555556f81c30, mutex=0x555556f81c08, abstime=0x7fffd9d60c30) at pthread_cond_wait.c:667
#3  0x0000555555e72ce1 in __gthread_cond_timedwait (__cond=0x555556f81c30, __mutex=0x555556f81c08, __abs_timeout=0x7fffd9d60c30) at /usr/include/x86_64-linux-gnu/c++/11/bits/gthr-default.h:872
#4  0x0000555555e73248 in std::__condvar::wait_until (this=0x555556f81c30, __m=..., __abs_time=...) at /usr/include/c++/11/bits/std_mutex.h:162
#5  0x0000555555e74f5c in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x555556f81c30, __lock=..., __atime=...) at /usr/include/c++/11/condition_variable:222
#6  0x0000555555e746f2 in std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x555556f81c30, __lock=..., __atime=...) at /usr/include/c++/11/condition_variable:135
#7  0x0000555555e739ea in std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (this=0x555556f81c30, __lock=..., __rtime=...) at /usr/include/c++/11/condition_variable:163
#8  0x0000555555e7345f in IoThreadHolder::Start()::{lambda()#1}::operator()() const (__closure=0x555557c023e8) at deps/discord-rpc/src/discord_rpc.cpp:102
#9  0x0000555555e759f0 in std::__invoke_impl<void, IoThreadHolder::Start()::{lambda()#1}>(std::__invoke_other, IoThreadHolder::Start()::{lambda()#1}&&) (__f=...) at /usr/include/c++/11/bits/invoke.h:61
#10 0x0000555555e759a5 in std::__invoke<IoThreadHolder::Start()::{lambda()#1}>(IoThreadHolder::Start()::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11/bits/invoke.h:96
#11 0x0000555555e75952 in std::thread::_Invoker<std::tuple<IoThreadHolder::Start()::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x555557c023e8) at /usr/include/c++/11/bits/std_thread.h:253
#12 0x0000555555e75926 in std::thread::_Invoker<std::tuple<IoThreadHolder::Start()::{lambda()#1}> >::operator()() (this=0x555557c023e8) at /usr/include/c++/11/bits/std_thread.h:260
#13 0x0000555555e7590a in std::thread::_State_impl<std::thread::_Invoker<std::tuple<IoThreadHolder::Start()::{lambda()#1}> > >::_M_run() (this=0x555557c023e0) at /usr/include/c++/11/bits/std_thread.h:211
#14 0x00007fffefdfb4c0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#15 0x00007ffff46d16db in start_thread (arg=0x7fffd9d61700) at pthread_create.c:463
#16 0x00007fffef29d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7e00800 (LWP 30611) "retroarch"):
#0  0x00007fffe5d73941 in ?? () from /home/ccrowley/.config/retroarch/cores/bluemsx_libretro.so
#1  0x00007fffe5d7cc49 in ?? () from /home/ccrowley/.config/retroarch/cores/bluemsx_libretro.so
#2  0x00007fffe5d2e20b in retro_run () from /home/ccrowley/.config/retroarch/cores/bluemsx_libretro.so
#3  0x000055555565fa6b in core_run () at runloop.c:8242
#4  0x000055555565e826 in runloop_iterate () at runloop.c:7656
#5  0x00005555556483e4 in rarch_main (argc=1, argv=0x7fffffffd808, data=0x0) at retroarch.c:3820
#6  0x0000555555847f89 in main (argc=1, argv=0x7fffffffd808) at ui/drivers/ui_qt.cpp:4315
gdb backtrace (debug self-compiled)
Thread 1 "retroarch" received signal SIGSEGV, Segmentation fault.
0x0000000000100700 in ?? ()
(gdb) thread apply all bt

Thread 10 (Thread 0x7fffe0aa7700 (LWP 29490) "threaded-ml"):
#0  0x00007fffef290cb9 in __GI___poll (fds=0x7fffd4001b50, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff4e14481 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007ffff4e05e40 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007ffff4e064d0 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007ffff4e06560 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007ffff4e143c9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007fffed406468 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so
#7  0x00007ffff46d16db in start_thread (arg=0x7fffe0aa7700) at pthread_create.c:463
#8  0x00007fffef29d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fffe12a8700 (LWP 29480) "[vkrt] Analysis"):
#0  0x00007ffff46d8065 in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffe12a7d50, expected=0, futex_word=0x7fffdc000d28) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0x7fffe12a7d50, mutex=0x55555719cd10, cond=0x7fffdc000d00) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x7fffdc000d00, mutex=0x55555719cd10, abstime=0x7fffe12a7d50) at pthread_cond_wait.c:667
#3  0x00007fffd2b9efd2 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#4  0x00007fffd3015a45 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#5  0x00007fffd2ba1288 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#6  0x00007ffff46d16db in start_thread (arg=0x7fffe12a8700) at pthread_create.c:463
#7  0x00007fffef29d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fffdaedc700 (LWP 29479) "retroarch"):
#0  0x00007ffff46d8065 in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffdaedbd40, expected=0, futex_word=0x7fffcc000ee8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0x7fffdaedbd40, mutex=0x555557d43ca0, cond=0x7fffcc000ec0) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x7fffcc000ec0, mutex=0x555557d43ca0, abstime=0x7fffdaedbd40) at pthread_cond_wait.c:667
#3  0x00007fffd2b9efd2 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#4  0x00007fffd2ffec64 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#5  0x00007fffd2ba1288 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.495.44
#6  0x00007ffff46d16db in start_thread (arg=0x7fffdaedc700) at pthread_create.c:463
#7  0x00007fffef29d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffe6b5e700 (LWP 29477) "retroarch"):
#0  0x0000555555dfc20b in inflate_fast (strm=0x7fffb8096bd0, start=33179760) at deps/libz/inffast.c:224
#1  0x0000555555dfe47f in inflate (strm=0x7fffb8096bd0, flush=0) at deps/libz/inflate.c:978
#2  0x0000555555e057b5 in zlib_inflate_trans (data=0x7fffb8096bd0, flush=false, rd=0x7fffe6b5dbe8, wn=0x7fffe6b5dbec, error=0x7fffe6b5dbe4) at libretro-common/streams/trans_stream_zlib.c:267
#3  0x0000555555e17778 in rpng_load_image_argb_process_inflate_init (rpng=0x7fffb8093c80, data=0x555558c7c750) at libretro-common/formats/png/rpng.c:765
#4  0x0000555555e18437 in rpng_process_image (rpng=0x7fffb8093c80, _data=0x555558c7c750, size=37614, width=0x7fffe6b5dcf4, height=0x7fffe6b5dcf8) at libretro-common/formats/png/rpng.c:1156
#5  0x0000555555e2bbd0 in image_transfer_process (data=0x7fffb8093c80, type=IMAGE_TYPE_PNG, buf=0x555558c7c750, len=37614, width=0x7fffe6b5dcf4, height=0x7fffe6b5dcf8) at libretro-common/formats/image_transfer.c:220
#6  0x0000555555686d89 in task_image_process (image=0x555558c7c740, width=0x7fffe6b5dcf4, height=0x7fffe6b5dcf8) at tasks/task_image.c:100
#7  0x0000555555686ec9 in task_image_iterate_process_transfer (image=0x555558c7c740) at tasks/task_image.c:143
#8  0x00005555556873f2 in task_image_load_handler (task=0x555557d48710) at tasks/task_image.c:287
#9  0x0000555555686b6d in task_file_load_handler (task=0x555557d48710) at tasks/task_file_transfer.c:106
#10 0x000055555567ac84 in threaded_worker (userdata=0x0) at libretro-common/queues/task_queue.c:508
#11 0x00005555559f1d0d in thread_wrap (data_=0x5555576e6050) at libretro-common/rthreads/rthreads.c:143
#12 0x00007ffff46d16db in start_thread (arg=0x7fffe6b5e700) at pthread_create.c:463
#13 0x00007fffef29d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffd9d61700 (LWP 29455) "retroarch"):
#0  0x00007ffff46d8065 in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffd9d60c30, expected=0, futex_word=0x55555778ef1c) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  __pthread_cond_wait_common (abstime=0x7fffd9d60c30, mutex=0x55555778eec8, cond=0x55555778eef0) at pthread_cond_wait.c:539
#2  __pthread_cond_timedwait (cond=0x55555778eef0, mutex=0x55555778eec8, abstime=0x7fffd9d60c30) at pthread_cond_wait.c:667
#3  0x0000555555e72ce1 in __gthread_cond_timedwait (__cond=0x55555778eef0, __mutex=0x55555778eec8, __abs_timeout=0x7fffd9d60c30) at /usr/include/x86_64-linux-gnu/c++/11/bits/gthr-default.h:872
#4  0x0000555555e73248 in std::__condvar::wait_until (this=0x55555778eef0, __m=..., __abs_time=...) at /usr/include/c++/11/bits/std_mutex.h:162
#5  0x0000555555e74f5c in std::condition_variable::__wait_until_impl<std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x55555778eef0, __lock=..., __atime=...) at /usr/include/c++/11/condition_variable:222
#6  0x0000555555e746f2 in std::condition_variable::wait_until<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > (this=0x55555778eef0, __lock=..., __atime=...) at /usr/include/c++/11/condition_variable:135
#7  0x0000555555e739ea in std::condition_variable::wait_for<long, std::ratio<1l, 1000l> > (this=0x55555778eef0, __lock=..., __rtime=...) at /usr/include/c++/11/condition_variable:163
#8  0x0000555555e7345f in IoThreadHolder::Start()::{lambda()#1}::operator()() const (__closure=0x555557c02308) at deps/discord-rpc/src/discord_rpc.cpp:102
#9  0x0000555555e759f0 in std::__invoke_impl<void, IoThreadHolder::Start()::{lambda()#1}>(std::__invoke_other, IoThreadHolder::Start()::{lambda()#1}&&) (__f=...) at /usr/include/c++/11/bits/invoke.h:61
#10 0x0000555555e759a5 in std::__invoke<IoThreadHolder::Start()::{lambda()#1}>(IoThreadHolder::Start()::{lambda()#1}&&) (__fn=...) at /usr/include/c++/11/bits/invoke.h:96
#11 0x0000555555e75952 in std::thread::_Invoker<std::tuple<IoThreadHolder::Start()::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x555557c02308) at /usr/include/c++/11/bits/std_thread.h:253
#12 0x0000555555e75926 in std::thread::_Invoker<std::tuple<IoThreadHolder::Start()::{lambda()#1}> >::operator()() (this=0x555557c02308) at /usr/include/c++/11/bits/std_thread.h:260
#13 0x0000555555e7590a in std::thread::_State_impl<std::thread::_Invoker<std::tuple<IoThreadHolder::Start()::{lambda()#1}> > >::_M_run() (this=0x555557c02300) at /usr/include/c++/11/bits/std_thread.h:211
#14 0x00007fffefdfb4c0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#15 0x00007ffff46d16db in start_thread (arg=0x7fffd9d61700) at pthread_create.c:463
#16 0x00007fffef29d71f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7e00800 (LWP 29438) "retroarch"):
#0  0x0000000000100700 in ?? ()
#1  0x00007fffe5d27730 in readOpcode (r800=0x555557c1f4b0, address=0) at Src/Z80/R800.c:193
#2  0x00007fffe5d38383 in r800Execute (r800=0x555557c1f4b0) at Src/Z80/R800.c:6071
#3  0x00007fffe5ccc209 in retro_run () at libretro.c:1152
#4  0x000055555565fa6b in core_run () at runloop.c:8242
#5  0x000055555565e826 in runloop_iterate () at runloop.c:7656
#6  0x00005555556483e4 in rarch_main (argc=1, argv=0x7fffffffd808, data=0x0) at retroarch.c:3820
#7  0x0000555555847f89 in main (argc=1, argv=0x7fffffffd808) at ui/drivers/ui_qt.cpp:4315
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