GNU gdb (GDB) 14.1.0.56.d739d4fd457-alt1 (ALT Sisyphus)
Copyright (C) 2023 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-alt-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
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 /usr/bin/dolphin-emu...
Reading symbols from /usr/lib/debug/usr/bin/dolphin-emu.debug...
[New LWP 2913]
[New LWP 2915]
[New LWP 2916]
[New LWP 2919]
[New LWP 2920]
[New LWP 2917]
[New LWP 2921]
[New LWP 2922]
[New LWP 2923]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `dolphin-emu --help'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  unlink_chunk (p=p@entry=0x5620bbeee6e0, av=0x7f5ac71e8ac0 <main_arena>)
    at malloc.c:1615
1615	  if (__builtin_expect (fd->bk != p || bk->fd != p, 0))
[Current thread is 1 (Thread 0x7f5ab8f3bc00 (LWP 2913))]

Thread 9 (Thread 0x7f5a9b7fe6c0 (LWP 2923)):
#0  0x00007f5ac710e3ef in __GI___poll (fds=fds@entry=0x7f5a9b7fc950, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5ab8b4af49 in poll (__timeout=-1, __nfds=2, __fds=0x7f5a9b7fc950) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x5620bc227b50) at /usr/src/debug/qtbase-everywhere-src-6.10.3/src/plugins/platforms/wayland/qwaylanddisplay.cpp:184
#3  0x00007f5acf1081c7 in operator() (__closure=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.10.3/src/corelib/thread/qthread_unix.cpp:448
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qtbase-everywhere-src-6.10.3/src/corelib/thread/qthread_unix.cpp:373
#5  QThreadPrivate::start (arg=0x5620bc227b50) at /usr/src/debug/qtbase-everywhere-src-6.10.3/src/corelib/thread/qthread_unix.cpp:422
#6  0x00007f5ac709942f in start_thread (arg=<optimized out>) at pthread_create.c:444
#7  0x00007f5ac711bba8 in clone3 () from /lib64/libc.so.6

Thread 8 (Thread 0x7f5a9bfff6c0 (LWP 2922)):
#0  0x00007f5ac709660e in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5620bc25d138) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5620bc25d138, expected=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f5ac709668b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5620bc25d138, expected=<optimized out>, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f5ac7098a68 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5620bc25d0f0, cond=0x5620bc25d118) at pthread_cond_wait.c:426
#4  ___pthread_cond_wait (cond=0x5620bc25d118, mutex=0x5620bc25d0f0) at pthread_cond_wait.c:458
#5  0x00007f5acf10d023 in QWaitConditionPrivate::wait (deadline=..., this=0x5620bc25d0f0) at /usr/src/debug/qtbase-everywhere-src-6.10.3/src/corelib/thread/qwaitcondition_unix.cpp:68
#6  QWaitCondition::wait (this=this@entry=0x5620bc0d65e0, mutex=mutex@entry=0x5620bc0d65d8, deadline=...) at /usr/src/debug/qtbase-everywhere-src-6.10.3/src/corelib/thread/qwaitcondition_unix.cpp:146
#7  0x00007f5ab8b4aecf in QtWaylandClient::EventThread::waitForReading (this=0x5620bc0d65a0) at /usr/src/debug/qtbase-everywhere-src-6.10.3/src/plugins/platforms/wayland/qwaylanddisplay.cpp:218
#8  QtWaylandClient::EventThread::run (this=0x5620bc0d65a0) at /usr/src/debug/qtbase-everywhere-src-6.10.3/src/plugins/platforms/wayland/qwaylanddisplay.cpp:179
#9  0x00007f5acf1081c7 in operator() (__closure=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.10.3/src/corelib/thread/qthread_unix.cpp:448
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qtbase-everywhere-src-6.10.3/src/corelib/thread/qthread_unix.cpp:373
#11 QThreadPrivate::start (arg=0x5620bc0d65a0) at /usr/src/debug/qtbase-everywhere-src-6.10.3/src/corelib/thread/qthread_unix.cpp:422
#12 0x00007f5ac709942f in start_thread (arg=<optimized out>) at pthread_create.c:444
#13 0x00007f5ac711bba8 in clone3 () from /lib64/libc.so.6

Thread 7 (Thread 0x7f5ab0ffa6c0 (LWP 2921)):
#0  0x00007f5ac710e926 in __GI_ppoll (fds=fds@entry=0x7f5a94000bb0, nfds=nfds@entry=3, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x00007f5ac6b1821b in ppoll (__ss=0x0, __timeout=0x0, __nfds=3, __fds=0x7f5a94000bb0) at /usr/include/bits/poll2.h:88
#2  g_main_context_poll_unlocked (priority=2147483647, n_fds=3, fds=0x7f5a94000bb0, timeout_usec=<optimized out>, context=0x7f5a9c005a80) at ../glib/gmain.c:4632
#3  g_main_context_iterate_unlocked.isra.0 (context=0x7f5a9c005a80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4309
#4  0x00007f5ac6abc5af in g_main_loop_run (loop=0x7f5a9c007f40) at ../glib/gmain.c:4516
#5  0x00007f5abbf313e6 in gdbus_shared_thread_func (user_data=0x7f5a9c005a50) at ../gio/gdbusprivate.c:284
#6  0x00007f5ac6aeee63 in g_thread_proxy (data=0x5620bbfc6cc0) at ../glib/gthread.c:893
#7  0x00007f5ac709942f in start_thread (arg=<optimized out>) at pthread_create.c:444
#8  0x00007f5ac711bba8 in clone3 () from /lib64/libc.so.6

Thread 6 (Thread 0x7f5ab27fd6c0 (LWP 2917)):
#0  0x00007f5ac710e926 in __GI_ppoll (fds=fds@entry=0x7f5aa4000b70, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x00007f5ac6b1821b in ppoll (__ss=0x0, __timeout=0x0, __nfds=1, __fds=0x7f5aa4000b70) at /usr/include/bits/poll2.h:88
#2  g_main_context_poll_unlocked (priority=2147483647, n_fds=1, fds=0x7f5aa4000b70, timeout_usec=<optimized out>, context=0x5620bbfc1ad0) at ../glib/gmain.c:4632
#3  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x5620bbfc1ad0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4309
#4  0x00007f5ac6abb12c in g_main_context_iteration (context=0x5620bbfc1ad0, may_block=may_block@entry=1) at ../glib/gmain.c:4379
#5  0x00007f5ac6abb171 in glib_worker_main (data=<optimized out>) at ../glib/gmain.c:6578
#6  0x00007f5ac6aeee63 in g_thread_proxy (data=0x5620bbfac2b0) at ../glib/gthread.c:893
#7  0x00007f5ac709942f in start_thread (arg=<optimized out>) at pthread_create.c:444
#8  0x00007f5ac711bba8 in clone3 () from /lib64/libc.so.6

Thread 5 (Thread 0x7f5ab17fb6c0 (LWP 2920)):
#0  0x00007f5ac710e926 in __GI_ppoll (fds=fds@entry=0x7f5aa0000bb0, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x00007f5ac6b1821b in ppoll (__ss=0x0, __timeout=0x0, __nfds=1, __fds=0x7f5aa0000bb0) at /usr/include/bits/poll2.h:88
#2  g_main_context_poll_unlocked (priority=2147483647, n_fds=1, fds=0x7f5aa0000bb0, timeout_usec=<optimized out>, context=0x5620bbfd66f0) at ../glib/gmain.c:4632
#3  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x5620bbfd66f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4309
#4  0x00007f5ac6abb12c in g_main_context_iteration (context=0x5620bbfd66f0, may_block=1) at ../glib/gmain.c:4379
#5  0x00007f5ab8bf797d in ?? () from /usr/lib64/gio/modules/libdconfsettings.so
#6  0x00007f5ac6aeee63 in g_thread_proxy (data=0x5620bbfd68d0) at ../glib/gthread.c:893
#7  0x00007f5ac709942f in start_thread (arg=<optimized out>) at pthread_create.c:444
#8  0x00007f5ac711bba8 in clone3 () from /lib64/libc.so.6

Thread 4 (Thread 0x7f5ab1ffc6c0 (LWP 2919)):
#0  0x00007f5ac71198b9 in syscall () from /lib64/libc.so.6
#1  0x00007f5ac6aeaa4c in g_cond_wait_until_impl (end_time=<optimized out>, mutex=0x5620bbfbfc30, cond=<optimized out>) at ../glib/gthread-posix.c:1159
#2  g_cond_wait_until (cond=<optimized out>, mutex=0x5620bbfbfc30, end_time=<optimized out>) at ../glib/gthread.c:1782
#3  0x00007f5ac6a86ef3 in g_async_queue_pop_intern_unlocked (queue=0x5620bbfbfc30, wait=1, end_time=70273015) at ../glib/gasyncqueue.c:378
#4  0x00007f5ac6af09ca in g_thread_pool_wait_for_new_task (pool=0x5620bbfbd440) at ../glib/gthreadpool.c:262
#5  g_thread_pool_thread_proxy (data=<optimized out>) at ../glib/gthreadpool.c:325
#6  0x00007f5ac6aeee63 in g_thread_proxy (data=0x7f5aa8000b70) at ../glib/gthread.c:893
#7  0x00007f5ac709942f in start_thread (arg=<optimized out>) at pthread_create.c:444
#8  0x00007f5ac711bba8 in clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7f5ab2ffe6c0 (LWP 2916)):
#0  0x00007f5ac71198b9 in syscall () from /lib64/libc.so.6
#1  0x00007f5ac6aea040 in g_cond_wait_impl (mutex=0x5620bbfb9f40, cond=0x5620bbfb9f48) at ../glib/gthread-posix.c:1026
#2  g_cond_wait (cond=0x5620bbfb9f48, mutex=0x5620bbfb9f40) at ../glib/gthread.c:1686
#3  0x00007f5ac6a86f1b in g_async_queue_pop_intern_unlocked (queue=0x5620bbfb9f40, wait=1, end_time=-1) at ../glib/gasyncqueue.c:375
#4  0x00007f5ac6aefd20 in g_thread_pool_spawn_thread (data=<optimized out>) at ../glib/gthreadpool.c:297
#5  0x00007f5ac6aeee63 in g_thread_proxy (data=0x5620bbfba270) at ../glib/gthread.c:893
#6  0x00007f5ac709942f in start_thread (arg=<optimized out>) at pthread_create.c:444
#7  0x00007f5ac711bba8 in clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5ab37ff6c0 (LWP 2915)):
#0  0x00007f5ac71198b9 in syscall () from /lib64/libc.so.6
#1  0x00007f5ac6aea040 in g_cond_wait_impl (mutex=0x5620bbfb3990, cond=0x5620bbfb3998) at ../glib/gthread-posix.c:1026
#2  g_cond_wait (cond=0x5620bbfb3998, mutex=0x5620bbfb3990) at ../glib/gthread.c:1686
#3  0x00007f5ac6a86f1b in g_async_queue_pop_intern_unlocked (queue=0x5620bbfb3990, wait=1, end_time=-1) at ../glib/gasyncqueue.c:375
#4  0x00007f5ac6a86f77 in g_async_queue_pop (queue=queue@entry=0x5620bbfb3990) at ../glib/gasyncqueue.c:409
#5  0x00007f5aba4e95e3 in fc_thread_func (data=0x5620bbfb3990) at ../pango/pangofc-fontmap.c:997
#6  0x00007f5ac6aeee63 in g_thread_proxy (data=0x5620bbfb1cd0) at ../glib/gthread.c:893
#7  0x00007f5ac709942f in start_thread (arg=<optimized out>) at pthread_create.c:444
#8  0x00007f5ac711bba8 in clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5ab8f3bc00 (LWP 2913)):
#0  unlink_chunk (p=p@entry=0x5620bbeee6e0, av=0x7f5ac71e8ac0 <main_arena>) at malloc.c:1615
#1  0x00007f5ac70a6a24 in _int_free_merge_chunk (av=av@entry=0x7f5ac71e8ac0 <main_arena>, p=0x5620bbeee6e0, size=416) at malloc.c:4689
#2  0x00007f5ac70a6da9 in _int_free (av=0x7f5ac71e8ac0 <main_arena>, p=<optimized out>, have_lock=<optimized out>) at malloc.c:4639
#3  0x00007f5ac70a958f in __GI___libc_free (mem=<optimized out>) at malloc.c:3391
#4  0x00007f5acaf95c40 in llvm_regfree () at /usr/src/debug/llvm-project-19/llvm/lib/Support/regfree.c:68
#5  0x00007f5acaf32cc1 in llvm::Regex::~Regex() () at /usr/src/debug/llvm-project-19/llvm/lib/Support/Regex.cpp:51
#6  0x00007f5ac704e951 in __cxa_finalize (d=0x7f5ace418720) at cxa_finalize.c:82
#7  0x00007f5acae6a497 in __do_global_dtors_aux () from /lib64/libLLVM.so.19.1
#8  0x00007f5acff0df60 in ?? ()
#9  0x00007f5ad07fa0ca in _dl_call_fini (closure_map=0x7ffe312706b0, closure_map@entry=0x7f5acff0df60) at dl-call_fini.c:43
#10 0x00007f5ad07fdea6 in _dl_fini () at dl-fini.c:114
#11 0x00007f5ac704eec6 in __run_exit_handlers (status=0, listp=0x7f5ac71e8680 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:111
#12 0x00007f5ac704effc in __GI_exit (status=<optimized out>) at exit.c:141
#13 0x0000562091b1a13d in optparse::OptionParser::process_opt (this=<optimized out>, o=..., opt=..., value=...) at /usr/src/debug/dolphin-2503a/Externals/cpp-optparse/OptionParser.cpp:374
#14 0x0000562091b1b632 in optparse::OptionParser::handle_long_opt (optstr="help", this=0x5620bc176910) at /usr/src/debug/dolphin-2503a/Externals/cpp-optparse/OptionParser.cpp:274
#15 optparse::OptionParser::parse_args (this=0x5620bc176910, v=...) at /usr/src/debug/dolphin-2503a/Externals/cpp-optparse/OptionParser.cpp:304
#16 0x000056209136bfaf in optparse::OptionParser::parse_args<char const* const*> (end=0x7ffe31272c08, begin=0x7ffe31272c00, this=0x5620bc176910) at /usr/src/debug/dolphin-2503a/Externals/cpp-optparse/OptionParser.h:198
#17 optparse::OptionParser::parse_args (argv=0x7ffe31272bf8, argc=2, this=0x5620bc176910) at /usr/src/debug/dolphin-2503a/Externals/cpp-optparse/OptionParser.cpp:280
#18 CommandLineParse::ParseArguments (argv=0x7ffe31272bf8, argc=2, parser=0x5620bc176910) at /usr/src/debug/dolphin-2503a/Source/Core/UICommon/CommandLineParse.cpp:145
#19 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-2503a/Source/Core/DolphinQt/Main.cpp:161
