audtool segfaults in g_dbus_connection_close_sync() occasionally
Most of the crashes in the attachment happened to audtool called by my application, not manually. But today when I run `audtool help` from terminal, it displayed the help message and segfaulted. I don't know if versions other than 3.10.1 and 4.0.1 are affected, because my coredumpctl list goes back less than five months.
#2 Updated by Igor Kushnir over 1 year ago
audtool is one of the most common programs in my coredumpctl list. audtool runs only for a very short time, though many times every day on my system. So this launch frequency could be a reason it crashes relatively often. Or perhaps it's something about how audtool is built.
#3 Updated by John Lindgren over 1 year ago
Well, the backtraces are all identical, and all within g_dbus_connection_close_sync(). I suspect there is a bug in that function -- maybe related to it being called in an atexit() handler.
To get to the root of this, someone will have to find a way to reliably reproduce it, and then spend some time debugging that call tree in GLib. I don't have the time to do this myself.