GNOME Bugzilla – Bug 622750
gstreamer crashes (amarok - phonon - gstreamer - jack - alsa)
Last modified: 2012-06-18 16:41:39 UTC
Version 0.10.25 was working. Version 0.10.28 crashes. Here is the output of valgrind. $ valgrind amarok ==19975== Memcheck, a memory error detector ==19975== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==19975== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==19975== Command: amarok ==19975== ==19975== Invalid read of size 8 ==19975== at 0x175C8A17: snd_pcm_ioplug_close (pcm_ioplug.c:743) ==19975== by 0x1758D444: snd_pcm_close (pcm.c:706) ==19975== by 0x175A5FDC: snd_pcm_plug_close (pcm_plug.c:71) ==19975== by 0x1758D444: snd_pcm_close (pcm.c:706) ==19975== by 0x1961357E: gst_alsasink_close (gstalsasink.c:804) ==19975== by 0x18963915: gst_audioringbuffer_close_device (gstaudiosink.c:365) ==19975== by 0x1895742A: gst_ring_buffer_close_device (gstringbuffer.c:714) ==19975== by 0x1895F265: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1879) ==19975== by 0x1805798B: gst_element_change_state (gstelement.c:2548) ==19975== by 0x1805AD97: gst_element_set_state_func (gstelement.c:2504) ==19975== by 0x17DE8509: Phonon::Gstreamer::AudioOutput::setOutputDevice(Phonon::ObjectDescription<(Phonon::ObjectDescriptionType)0> const&) (audiooutput.cpp:217) ==19975== by 0xAD02283: Phonon::AudioOutputPrivate::setupBackendObject() (audiooutput.cpp:70) ==19975== Address 0x19a23180 is not stack'd, malloc'd or (recently) free'd ==19975== KCrash: Application 'amarok' crashing... sock_file=/home/till/.kde4/socket-wgw-till/kdeinit4__0 <unknown program name>(19975)/: Communication problem with "amarok" , it probably crashed. Error message was: "org.freedesktop.DBus.Error.ServiceUnknown" : " "The name org.kde.amarok was not provided by any .service files" " ==19975== Invalid free() / delete / delete[] ==19975== at 0x4C259AD: free (vg_replace_malloc.c:325) ==19975== by 0x7A6610A: ??? (in /lib64/libc-2.11.1.so) ==19975== by 0x7A65CA1: ??? (in /lib64/libc-2.11.1.so) ==19975== by 0x4A205DC: _vgnU_freeres (vg_preloaded.c:62) ==19975== by 0x7991C24: __run_exit_handlers (exit.c:93) ==19975== by 0x7991C94: exit (exit.c:100) ==19975== by 0x505DD8D: KUniqueApplication::start(QFlags<KUniqueApplication::StartFlag>) (kuniqueapplication.cpp:308) ==19975== by 0x405D05: main (main.cpp:219) ==19975== Address 0x4055d90 is not stack'd, malloc'd or (recently) free'd ==19975== ==19975== ==19975== HEAP SUMMARY: ==19975== in use at exit: 87,911 bytes in 239 blocks ==19975== total heap usage: 28,307 allocs, 28,069 frees, 2,192,692 bytes allocated ==19975== ==19975== LEAK SUMMARY: ==19975== definitely lost: 0 bytes in 0 blocks ==19975== indirectly lost: 0 bytes in 0 blocks ==19975== possibly lost: 744 bytes in 7 blocks ==19975== still reachable: 87,167 bytes in 232 blocks ==19975== suppressed: 0 bytes in 0 blocks ==19975== Rerun with --leak-check=full to see details of leaked memory ==19975== ==19975== For counts of detected and suppressed errors, rerun with: -v ==19975== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 6 from 4) till@wgw-till ~ $ ^C till@wgw-till ~ $ ==19975== Thread 2: ==19975== Invalid read of size 4 ==19975== at 0xA0CE250: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.S:170) ==19975== Address 0x19c3f820 is not stack'd, malloc'd or (recently) free'd ==19975== Unable to start Dr. Konqi ==19975== Thread 1: ==19975== Invalid free() / delete / delete[] ==19975== at 0x4C259AD: free (vg_replace_malloc.c:325) ==19975== by 0x7A6610A: ??? (in /lib64/libc-2.11.1.so) ==19975== by 0x7A65CA1: ??? (in /lib64/libc-2.11.1.so) ==19975== by 0x4A205DC: _vgnU_freeres (vg_preloaded.c:62) ==19975== Address 0x4055d90 is not stack'd, malloc'd or (recently) free'd ==19975== ==19975== ==19975== HEAP SUMMARY: ==19975== in use at exit: 3,865,905 bytes in 42,454 blocks ==19975== total heap usage: 127,560 allocs, 85,107 frees, 42,578,579 bytes allocated ==19975== ==19975== LEAK SUMMARY: ==19975== definitely lost: 343 bytes in 7 blocks ==19975== indirectly lost: 976 bytes in 29 blocks ==19975== possibly lost: 1,914,872 bytes in 18,864 blocks ==19975== still reachable: 1,949,714 bytes in 23,554 blocks ==19975== suppressed: 0 bytes in 0 blocks ==19975== Rerun with --leak-check=full to see details of leaked memory ==19975== ==19975== For counts of detected and suppressed errors, rerun with: -v ==19975== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 35 from 8)
Wow, this bug is old. Sorry no one ever looked at it. Does this still happen for you with recent versions of amarok/phonon/gstreamer/jack?
Please feel free to reopen the bug if the problem still occurs with a newer version of GStreamer, thanks.