GNOME Bugzilla – Bug 589146
crash in rhythmbox with pulse audio output
Last modified: 2011-04-26 12:05:18 UTC
A Mandriva user has reported a crash in rhythmbox on song change here: https://qa.mandriva.com/show_bug.cgi?id=52346 This is the crash dump:
+ Trace 216544
Here is an excerpt from #fedora-desktop (23/07/2009 around 17:00 UTC) 19:03 <@mccann> warren, mezcalero: http://fpaste.org/paste/19559 19:07 < mezcalero> mccann: hmm? 19:07 < mezcalero> mccann: under no circumstances pa_threaded_mainloop_new can fail 19:08 <@mccann> oh this was a pidgin crash 19:08 < mezcalero> mccann: the only reason why that call could fail is if pipe() fails 19:09 < mezcalero> mccann: which afaics can only happen if you run out of fds 19:09 < mezcalero> i.e. something's leaking fds 19:09 < mezcalero> mccann: any chance you can verify that? 19:09 <@mccann> how? 19:09 < mezcalero> just check /proc/$PID/fd 19:10 < mezcalero> i.e. while you are still hanging in gdb 19:10 < mezcalero> that dir shows how many fds are open 19:10 <@mccann> ok i'll just install more debuginfo and wait til it happens again http://fpaste.org/paste/19559 is: which aborts on the same assertion as the backtrace from this bug Program received signal SIGABRT, Aborted.
+ Trace 216579
Thread 140039793871120 (LWP 2882)
GStreamer currently stops and frees the mainloop (and its fds) when the pulsesink element is finalized. If there would be a refcount leak of pulsesink, we would use up all fds. Hard to tell without more info. It could be interesting to attach gdb to the process after it has run for some time and do "info thr" to check the amount of active threads.
can you attach a gdb thr apply all bt after playing a couple of songs? This would show a lot of threads if there is a leak.
>> < mezcalero> just check /proc/$PID/fd I held down "next" so that there were many many track changes in succession and fds indeed go into the hundreds after a few seconds. >> can you attach a gdb thr apply all bt after playing a couple of songs? I don't know enough about gdb.
Created attachment 145997 [details] gdb backtrace as requested Here's a basic backtrace. I've not got all symbols installed so just shout if the critical detail is missing and I'll install them. This is very easy to reproduce. FWIW, I don't acutally use this app, but I've had this bug open in my browser for yonks and figured I could easily give the info needed :)
Created attachment 145998 [details] Full backtrace
Reopening as the stacktrace have been provided.
There is no crash at all in the two latest backtraces... OTOH there are *many* pulse mainloops in the attached backtraces so something is really going wrong here. Maybe things crash because too many pulse clients are used and use too much shmem?
I raise you a https://bugzilla.redhat.com/show_bug.cgi?id=589285
Hrm, this seems like it's a different bug, I somehow assumed they affected each other.
Is this bug still present?