GNOME Bugzilla – Bug 430522
audioresample seems to be causing segfaults
Last modified: 2007-04-21 14:04:13 UTC
Steps to reproduce: I have a pipeline that uses an alsasrc to read audio from the mic and pass it through an audioconvert and audioresample element and then into an adder. I have a second bin that consists of filesrc, decodebin, audioconvert and audioresample elements and that feeds into another sink of the adder. The adder src outputs to an alsasink. I use this pipline to be able to play an audio file at any time and have it mixed with the microphone data. I will attach a test program that repeatedly plays a file while mixing it with the mic. When I use any audio file (wav or vorbis tested), the program will eventually cause a segfault that seems to always be related to audioresample_buffer_queue_pull in audioresample. Stack trace: (gdb) thread apply all bt
+ Trace 128405
Thread 7 (process 8535)
Thread 1 (process 8545)
Other information: Backtrace was generated from core file dumped while running under valgrind. Core files show when not running under valgrind are similar.
Created attachment 86467 [details] valgrind leak check output
Created attachment 86468 [details] test pipeline program
Looks like another manifestation of bug #420106 to me (race condition when shutting down).
Fairly sure this is a duplicate of #420106, since the test case I made for that crashed exactly the same way. Your test program also runs fine for me. Please re-open if you still have this problem with an up-to-date GStreamer core/-base CVS. *** This bug has been marked as a duplicate of 420106 ***