F36: Rosegarden crashes at startup


After updating to Fedora 36, Rosegarden (version 21.06.1) started crashing with the following message (it was all OK with F35):

GLib (gthread-posix.c): Unexpected error from C library during 'pthread_setspecific': Invalid argument.  Aborting.

When I debug via gdb, the backtrace looks like this:

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007ffff60e0ce3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007ffff6090a06 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007ffff607a834 in __GI_abort () at abort.c:79
#4  0x00007ffff5265051 in g_thread_abort (status=<optimized out>, function=function@entry=0x7ffff52d6a64 "pthread_setspecific")
    at ../glib/gthread-posix.c:86
#5  0x00007ffff5265252 in g_private_set (key=<optimized out>, value=0x7fffb8000cf0) at ../glib/gthread-posix.c:1103
#6  0x00007ffff5232c2a in g_private_set_alloc0 (size=<optimized out>, key=0x7ffff52fa460 <private_thread_memory>)
    at ../glib/gthread.c:544
#7  thread_memory_from_self () at ../glib/gslice.c:564
#8  thread_memory_from_self () at ../glib/gslice.c:550
#9  g_slice_alloc (mem_size=96) at ../glib/gslice.c:1050
#10 0x00007ffff52039c2 in g_hash_table_new_full (hash_func=0x0, key_equal_func=0x0, key_destroy_func=0x0, value_destroy_func=0x0)
    at ../glib/ghash.c:1071
#11 0x00007ffff52119f4 in g_main_context_new_with_flags (flags=G_MAIN_CONTEXT_FLAGS_NONE) at ../glib/gmain.c:713
#12 0x00007ffff6e0a139 in QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate (this=0x7fffb8000b90, context=<optimized out>)
    at kernel/qeventdispatcher_glib.cpp:312
#13 0x00007ffff6e0a1d5 in QEventDispatcherGlib::QEventDispatcherGlib (this=this@entry=0x7fffb8000b70, parent=parent@entry=0x0)
    at kernel/qeventdispatcher_glib.cpp:358
#14 0x00007ffff6bf9020 in QThreadPrivate::createEventDispatcher (data=data@entry=0x555556dce450) at thread/qthread_unix.cpp:258
#15 0x00007ffff6bf7b02 in QThreadData::createEventDispatcher (this=this@entry=0x555556dce450) at thread/qthread.cpp:126
#16 0x00007ffff6bf9900 in QThreadData::ensureEventDispatcher (this=0x555556dce450) at thread/qthread_p.h:274
#17 QThreadPrivate::start (arg=0x555556c078b0) at thread/qthread_unix.cpp:312
#18 0x00007ffff60dee5d in start_thread (arg=<optimized out>) at pthread_create.c:442
#19 0x00007ffff61648f0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Absolutely no idea about what’s the reason (unfortunately, GDB does not say anything helpful to me) and how to fix it. Is the problem in Rosegarden, glib or somewhere else?

Kernel version: 5.17.8
Desktop environment: KDE Plasma 5.24.5
Audio server: PipeWire 0.3.51 (no JACK/PulseAudio, the same setup worked with F35)


Welcome to ask.:fedora: @trolley813

There is a newer version of Rosengarden >> Rosegarden: music software for Linux

Can you please file a bug

If you’re interested it’s also available on flathub

1 Like

Thank you! The 21.12 from Flathub works as expected.
I’ve filed a bug (2089032 – Rosegarden: crash on startup)

1 Like