After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 619320 - [pulsesink] Amarok crashes on startup of application
[pulsesink] Amarok crashes on startup of application
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other Linux
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-05-21 20:27 UTC by takotheoktopus
Modified: 2011-02-03 16:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
back trace (1.70 KB, application/x-gzip)
2010-07-19 21:22 UTC, takotheoktopus
Details
debug.log file (201.60 KB, application/x-gzip)
2010-08-11 01:38 UTC, takotheoktopus
Details

Description takotheoktopus 2010-05-21 20:27:58 UTC
The developer Sven Krohlas from https://bugs.kde.org told me to report this bug with ALSA/GStreamer instead of at https://bugs.kde.org/show_bug.cgi?id=238357 

Application: amarok (2.3.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Amorak crashes the moment I click on it under Gnome using Ubuntu 10.04 Lucid
Lynx

The crash can be reproduced every time.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0xb610d720 (LWP 3369))]

Thread 2 (Thread 0xb026ab70 (LWP 3392))

  • #0 pa_mutex_lock
    from /usr/lib/libpulsecommon-0.9.21.so
  • #1 ??
    from /usr/lib/libpulse.so.0
  • #2 pa_mainloop_poll
    from /usr/lib/libpulse.so.0
  • #3 pa_mainloop_iterate
    from /usr/lib/libpulse.so.0
  • #4 pa_mainloop_run
    from /usr/lib/libpulse.so.0
  • #5 ??
    from /usr/lib/libpulse.so.0
  • #6 ??
    from /usr/lib/libpulsecommon-0.9.21.so
  • #7 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #8 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 1 Tim-Philipp Müller 2010-05-21 22:39:40 UTC
Could you install the following packages and then get us a new stack trace please?

 sudo apt-get install libpulse0-dbg gstreamer0.10-plugins-good-dbg

Also, what's the output of:

 gst-inspect-0.10 pulsesink | grep Version

?
Comment 2 takotheoktopus 2010-05-22 01:17:50 UTC
(In reply to comment #1)
> Could you install the following packages and then get us a new stack trace
> please?
> 
>  sudo apt-get install libpulse0-dbg gstreamer0.10-plugins-good-dbg
> 
> Also, what's the output of:
> 
>  gst-inspect-0.10 pulsesink | grep Version
> 
> ?

I already have both libpulse0-dbg and gstreamer0.10-plugins-good-dbg installed.

I don't know how to get a new stack trace other then the one I get when Amarok crashes, sorry. Tell me how and I will provide it for you.

Here's the output of: 

gst-inspect-0.10 pulsesink | grep Version

Version:		0.10.21
Comment 3 takotheoktopus 2010-06-05 11:25:05 UTC

(In reply to comment #2)

> I don't know how to get a new stack trace other then the one I get when Amarok
> crashes, sorry. Tell me how and I will provide it for you.

I still need help resolving this bug. Please let me know how to provide you with the stack trace you asked for, thank you.
Comment 4 Stefan Sauer (gstreamer, gtkdoc dev) 2010-07-03 21:12:30 UTC
from terminal
> gdb amarok
inside gdb
> r
once it crashed
> bt
Comment 5 takotheoktopus 2010-07-09 06:00:15 UTC
Here's the output for Amarok - The KDE Crash Handler.



Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7fcb720 (LWP 12850))]

Thread 2 (Thread 0xb2127b70 (LWP 12869))

  • #0 pthread_mutex_lock
    from /lib/tls/i686/cmov/libc.so.6
  • #1 pa_mutex_lock
    at pulsecore/mutex-posix.c line 90
  • #2 poll_func
    at pulse/thread-mainloop.c line 76
  • #3 pa_mainloop_poll
    at pulse/mainloop.c line 879
  • #4 pa_mainloop_iterate
    at pulse/mainloop.c line 961
  • #5 pa_mainloop_run
    at pulse/mainloop.c line 979
  • #6 thread
    at pulse/thread-mainloop.c line 94
  • #7 internal_thread_func
    at pulsecore/thread-posix.c line 72
  • #8 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #9 clone
    from /lib/tls/i686/cmov/libc.so.6



--------------------------------------------------------------------------------
Here is the output after following Stefan's instructions.



lications/mplayer.desktop" specifies undefined mimetype/servicetype "audio/x-mp1"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/mplayer.desktop" specifies undefined mimetype/servicetype "audio/mpg"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/mplayer.desktop" specifies undefined mimetype/servicetype "audio/x-mpg"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/mplayer.desktop" specifies undefined mimetype/servicetype "audio/rn-mpeg"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/mplayer.desktop" specifies undefined mimetype/servicetype "audio/scpls"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/mplayer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-windows-pcm"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/mplayer.desktop" specifies undefined mimetype/servicetype "audio/x-pls"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/mplayer.desktop" specifies undefined mimetype/servicetype "video/x-ms-afs"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/mplayer.desktop" specifies undefined mimetype/servicetype "video/x-ms-wvxvideo"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/k3b_write_bin_image.desktop" specifies undefined mimetype/servicetype "KonqPopupMenu/Plugin"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/evince.desktop" specifies undefined mimetype/servicetype "image/*"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/k3b_create_data_project.desktop" specifies undefined mimetype/servicetype "KonqPopupMenu/Plugin"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/AcetoneISO.desktop" specifies undefined mimetype/servicetype "application/x-iso"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/eog.desktop" specifies undefined mimetype/servicetype "image/jpg"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/eog.desktop" specifies undefined mimetype/servicetype "image/x-gray"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/eog.desktop" specifies undefined mimetype/servicetype "image/x-png"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/openoffice.org-impress.desktop" specifies undefined mimetype/servicetype "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/openoffice.org-impress.desktop" specifies undefined mimetype/servicetype "application/vnd.ms-powerpoint.template.macroEnabled.12"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/k3b_create_audio_cd.desktop" specifies undefined mimetype/servicetype "KonqPopupMenu/Plugin"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/k3b_create_audio_cd.desktop" specifies undefined mimetype/servicetype "audio/*"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/openoffice.org-calc.desktop" specifies undefined mimetype/servicetype "application/vnd.ms-excel.sheet.binary.macroEnabled.12"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/openoffice.org-calc.desktop" specifies undefined mimetype/servicetype "application/vnd.ms-excel.template.macroEnabled.12"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/openoffice.org-calc.desktop" specifies undefined mimetype/servicetype "application/csv"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/openoffice.org-calc.desktop" specifies undefined mimetype/servicetype "application/excel"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/openoffice.org-calc.desktop" specifies undefined mimetype/servicetype "application/tab-separated-values"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/openoffice.org-calc.desktop" specifies undefined mimetype/servicetype "application/x-dos_ms_excel"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/openoffice.org-calc.desktop" specifies undefined mimetype/servicetype "application/x-excel"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/openoffice.org-calc.desktop" specifies undefined mimetype/servicetype "application/x-ms-excel"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/openoffice.org-calc.desktop" specifies undefined mimetype/servicetype "text/comma-separated-values"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/exaile.desktop" specifies undefined mimetype/servicetype "audio/musepack"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/exaile.desktop" specifies undefined mimetype/servicetype "application/musepack"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/exaile.desktop" specifies undefined mimetype/servicetype "application/x-ape"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/exaile.desktop" specifies undefined mimetype/servicetype "audio/ape"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/exaile.desktop" specifies undefined mimetype/servicetype "application/x-musepack"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/exaile.desktop" specifies undefined mimetype/servicetype "application/x-id3"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/exaile.desktop" specifies undefined mimetype/servicetype "audio/x-mpeg-3"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/exaile.desktop" specifies undefined mimetype/servicetype "audio/mpc"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/exaile.desktop" specifies undefined mimetype/servicetype "audio/x-mpc"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/exaile.desktop" specifies undefined mimetype/servicetype "audio/mp"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/exaile.desktop" specifies undefined mimetype/servicetype "audio/x-mp"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/exaile.desktop" specifies undefined mimetype/servicetype "application/x-flac"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/armagetronad.desktop" specifies undefined mimetype/servicetype "application/x-armagetronad"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnome-mplayer.desktop" specifies undefined mimetype/servicetype "application/x-musepack"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnome-mplayer.desktop" specifies undefined mimetype/servicetype "audio/musepack"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnome-mplayer.desktop" specifies undefined mimetype/servicetype "application/musepack"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnome-mplayer.desktop" specifies undefined mimetype/servicetype "application/x-ape"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnome-mplayer.desktop" specifies undefined mimetype/servicetype "audio/ape"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnome-mplayer.desktop" specifies undefined mimetype/servicetype "application/x-id3"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnome-mplayer.desktop" specifies undefined mimetype/servicetype "audio/x-mpeg-3"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnome-mplayer.desktop" specifies undefined mimetype/servicetype "audio/mpc"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnome-mplayer.desktop" specifies undefined mimetype/servicetype "audio/x-mpc"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnome-mplayer.desktop" specifies undefined mimetype/servicetype "audio/mp"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnome-mplayer.desktop" specifies undefined mimetype/servicetype "audio/x-mp"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnome-mplayer.desktop" specifies undefined mimetype/servicetype "application/x-vorbis+ogg"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnome-mplayer.desktop" specifies undefined mimetype/servicetype "application/x-flac"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnome-mplayer.desktop" specifies undefined mimetype/servicetype "video/matroska"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/openoffice.org-writer.desktop" specifies undefined mimetype/servicetype "application/vnd.stardivision.writer-global"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/openoffice.org-writer.desktop" specifies undefined mimetype/servicetype "application/x-extension-txt"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/openoffice.org-writer.desktop" specifies undefined mimetype/servicetype "application/vnd.ms-word.template.macroEnabled.12"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/isomaster.desktop" specifies undefined mimetype/servicetype "application/x-iso"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/onboard-settings.desktop" specifies undefined mimetype/servicetype "application/x-onboardsettings"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "windowsexethumbnail.desktop" specifies undefined mimetype/servicetype "application/x-msdownload"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnusound.desktop" specifies undefined mimetype/servicetype "audio/x-mpeg-3"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnusound.desktop" specifies undefined mimetype/servicetype "audio/aiff"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnusound.desktop" specifies undefined mimetype/servicetype "audio/x-au"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnusound.desktop" specifies undefined mimetype/servicetype "audio/voc"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnusound.desktop" specifies undefined mimetype/servicetype "application/x-flac"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/gnusound.desktop" specifies undefined mimetype/servicetype "audio/x-ulaw"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/k3b_write_iso_image.desktop" specifies undefined mimetype/servicetype "KonqPopupMenu/Plugin"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/k3b_write_iso_image.desktop" specifies undefined mimetype/servicetype "application/x-iso"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/k3b_write_iso_image.desktop" specifies undefined mimetype/servicetype "inode/ISO-image"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "application/musepack"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "application/x-ape"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "application/x-democracy"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "application/x-extension-m4a"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "application/x-extension-mp4"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "application/x-flac"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "application/x-id3"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "application/x-miro"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "application/x-musepack"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "application/x-troff-msvideo"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/ape"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/avi"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/mp"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/mp4a-latm"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/mpc"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/musepack"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/wave"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/x-mp"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/x-mpc"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/x-mpeg-3"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/x-ms-asf"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/x-pn-aiff"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/x-pn-au"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/x-pn-wav"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/x-pn-windows-acm"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "audio/x-sbc"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "image/avi"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "misc/ultravox"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "video/x-flc"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/banshee-1.desktop" specifies undefined mimetype/servicetype "video/x-mpg"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/decibel-audio-player.desktop" specifies undefined mimetype/servicetype "audio/musepack"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/decibel-audio-player.desktop" specifies undefined mimetype/servicetype "application/musepack"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/decibel-audio-player.desktop" specifies undefined mimetype/servicetype "application/x-ape"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/decibel-audio-player.desktop" specifies undefined mimetype/servicetype "audio/ape"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/decibel-audio-player.desktop" specifies undefined mimetype/servicetype "application/x-musepack"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/decibel-audio-player.desktop" specifies undefined mimetype/servicetype "application/x-id3"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/decibel-audio-player.desktop" specifies undefined mimetype/servicetype "audio/x-mpeg-3"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/decibel-audio-player.desktop" specifies undefined mimetype/servicetype "audio/mpc"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/decibel-audio-player.desktop" specifies undefined mimetype/servicetype "audio/x-mpc"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/decibel-audio-player.desktop" specifies undefined mimetype/servicetype "audio/mp"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/decibel-audio-player.desktop" specifies undefined mimetype/servicetype "audio/x-mp"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/decibel-audio-player.desktop" specifies undefined mimetype/servicetype "application/x-flac"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "settings-input-actions.desktop" specifies undefined mimetype/servicetype "SystemSettingsCategory"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "video/x-flc"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "audio/x-ms-asf"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "audio/x-real-audio"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "application/x-flac"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "misc/ultravox"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "audio/x-pn-aiff"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "audio/x-pn-au"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "audio/x-pn-wav"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "audio/x-pn-windows-acm"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/vlc.desktop" specifies undefined mimetype/servicetype "application/x-extension-mp4"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/skencil.desktop" specifies undefined mimetype/servicetype "image/svg"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/onboard.desktop" specifies undefined mimetype/servicetype "application/x-onboard"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/clamtk.desktop" specifies undefined mimetype/servicetype "application/x-msdownload"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/clamtk.desktop" specifies undefined mimetype/servicetype "application/exe"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/clamtk.desktop" specifies undefined mimetype/servicetype "application/x-exe"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/clamtk.desktop" specifies undefined mimetype/servicetype "application/dos-exe"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/clamtk.desktop" specifies undefined mimetype/servicetype "vms/exe"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/clamtk.desktop" specifies undefined mimetype/servicetype "application/x-winexe"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/clamtk.desktop" specifies undefined mimetype/servicetype "application/msdos-windows"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/clamtk.desktop" specifies undefined mimetype/servicetype "application/x-msdos-program"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/totem.desktop" specifies undefined mimetype/servicetype "application/x-extension-m4a"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/totem.desktop" specifies undefined mimetype/servicetype "application/x-extension-mp4"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/totem.desktop" specifies undefined mimetype/servicetype "application/x-flac"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/totem.desktop" specifies undefined mimetype/servicetype "application/x-smil"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/totem.desktop" specifies undefined mimetype/servicetype "audio/x-ms-asf"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/totem.desktop" specifies undefined mimetype/servicetype "audio/x-pn-aiff"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/totem.desktop" specifies undefined mimetype/servicetype "audio/x-pn-au"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/totem.desktop" specifies undefined mimetype/servicetype "audio/x-pn-wav"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/totem.desktop" specifies undefined mimetype/servicetype "audio/x-pn-windows-acm"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/totem.desktop" specifies undefined mimetype/servicetype "audio/x-real-audio"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/totem.desktop" specifies undefined mimetype/servicetype "audio/x-sbc"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/totem.desktop" specifies undefined mimetype/servicetype "misc/ultravox"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/totem.desktop" specifies undefined mimetype/servicetype "video/x-flc"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/totem.desktop" specifies undefined mimetype/servicetype "video/x-ms-asx"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/totem.desktop" specifies undefined mimetype/servicetype "video/x-totem-stream"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/denemo.desktop" specifies undefined mimetype/servicetype "application/denemo"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/chromium-browser.desktop" specifies undefined mimetype/servicetype "application/xhtml_xml"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "video/mkv"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/aiff"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-aiff"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-au"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-8svx"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/8svx"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-16sv"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/168sv"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "image/ilbm"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "video/anim"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "image/x-png"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "video/mng"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-real-audio"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-wav"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "audio/x-pn-windows-acm"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "phononbackends/gstreamer.desktop" specifies undefined mimetype/servicetype "x-mpegurl"
kbuildsycoca4(12861) KBuildServiceFactory::populateServiceTypes: "/usr/share/applications/jackbeat.desktop" specifies undefined mimetype/servicetype "application/jab"
kbuildsycoca4(12861) KMimeAssociations::parseAllMimeAppsList: Parsing "/home/tako/.local/share/applications/mimeapps.list"
kbuildsycoca4(12861) KMimeAssociations::parseAddedAssociations: "/home/tako/.local/share/applications/mimeapps.list" specifies unknown service "kde4-okularApplication_pdf.desktop" in "Added Associations"
kbuildsycoca4(12861) KMimeAssociations::parseAddedAssociations: "/home/tako/.local/share/applications/mimeapps.list" specifies unknown service "nautilus-cd-burner-open-iso.desktop" in "Added Associations"
kbuildsycoca4(12861) KMimeAssociations::parseAddedAssociations: "/home/tako/.local/share/applications/mimeapps.list" specifies unknown service "brasero-open-image.desktop" in "Added Associations"
kbuildsycoca4(12861) KMimeAssociations::parseAddedAssociations: "/home/tako/.local/share/applications/mimeapps.list" specifies unknown service "kde4-kfmclient_html.desktop" in "Added Associations"
kbuildsycoca4(12861) KMimeAssociations::parseAddedAssociations: "/home/tako/.local/share/applications/mimeapps.list" specifies unknown service "kde4-kwrite.desktop" in "Added Associations"
kbuildsycoca4(12861) KMimeAssociations::parseAddedAssociations: "/home/tako/.local/share/applications/mimeapps.list" specifies unknown service "kde4-ark.desktop" in "Added Associations"
kbuildsycoca4(12861) KMimeAssociations::parseAddedAssociations: "/home/tako/.local/share/applications/mimeapps.list" specifies unknown service "kde4-kwrite.desktop" in "Added Associations"
kbuildsycoca4(12861) KBuildServiceFactory::collectInheritedServices: parent mimetype not found: "text/plane" 
kbuildsycoca4(12861) KBuildSycoca::save: Saving
kbuildsycoca4(12861) kdemain: Emitting notifyDatabaseChanged ("servicetypes", "xdgdata-mime", "services", "apps")
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kconf_update.so
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kconf_update.so
KCrash: Application 'amarok' crashing...
sock_file=/home/tako/.kde/socket-tako-desktop/kdeinit4__0
kdeinit4: preparing to launch /usr/lib/kde4/libexec/drkonqi
<unknown program name>(12847)/: 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" " 


Program exited with code 0377.
(gdb) bt
No stack.
(gdb)
Comment 6 Stefan Sauer (gstreamer, gtkdoc dev) 2010-07-09 08:27:33 UTC
What did you actualy start? The log says "kdeinit4: preparing to launch /usr/lib/kde4/libexec/drkonqi"

also when gdb says:
Program exited with code 0377.
(gdb) bt
No stack.

Then its is unhelpful to attach this here. We do need the stacktrace. Not sure if you need to disable the kde crash guard for this app to get a real backtrace.
Comment 7 takotheoktopus 2010-07-09 23:50:41 UTC
(In reply to comment #6)
> What did you actualy start? The log says "kdeinit4: preparing to launch
> /usr/lib/kde4/libexec/drkonqi"
> 
> also when gdb says:
> Program exited with code 0377.
> (gdb) bt
> No stack.
> 
> Then its is unhelpful to attach this here. We do need the stacktrace. Not sure
> if you need to disable the kde crash guard for this app to get a real
> backtrace.

I followed your instructions exactly.

from terminal
> gdb amarok
 
Which prints the following.

GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/amarok...Reading symbols from /usr/lib/debug/usr/bin/amarok...done.
done.

Then inside gdb
> r

This time it only printed the following.

Starting program: /usr/bin/amarok 
[Thread debugging using libthread_db enabled]
KCrash: Application 'amarok' crashing...
sock_file=/home/tako/.kde/socket-tako-desktop/kdeinit4__0
<unknown program name>(16489)/: 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" " 


Program exited with code 0377.


Then the KDE Crash Handler pops up

once it crashed
> bt 

No stack.
(gdb) 


How do I disable KDE Crash Handler if that's what's stopping it from giving me a back trace? I ask you instead of the developers over at Amarok because I initially reported this bug through the Amarok - KDE Crash Handler and the developers were rude and unhelpful. The most they told me was that it was a problem with pulsesink or gstreamer.
Comment 8 takotheoktopus 2010-07-10 00:46:06 UTC
In order to get a back trace, I followed instructions found at http://forum.kde.org/viewtopic.php?f=115&t=88283

from terminal
> gdb amarok

inside gdb
> run --debug --nofork
Starting program: /usr/bin/amarok --debug --nofork
[Thread debugging using libthread_db enabled]
[New Thread 0xb291bb70 (LWP 16893)]
[Thread 0xb291bb70 (LWP 16893) exited]
[New Thread 0xb291bb70 (LWP 16894)]

Program received signal SIGSEGV, Segmentation fault.
0x06482e5c in ?? () from /usr/lib/libasound.so.2

(gdb) bt
  • #0 ??
    from /usr/lib/libasound.so.2
  • #1 snd_pcm_close
    from /usr/lib/libasound.so.2
  • #2 ??
    from /usr/lib/gstreamer-0.10/libgstalsa.so
  • #3 ??
    from /usr/lib/libgstaudio-0.10.so.0
  • #4 gst_ring_buffer_close_device
    from /usr/lib/libgstaudio-0.10.so.0
  • #5 ??
    from /usr/lib/libgstaudio-0.10.so.0
  • #6 gst_element_change_state
    at gstelement.c line 2548
  • #7 gst_element_set_state_func
    at gstelement.c line 2504
  • #8 gst_element_set_state
    at gstelement.c line 2405
  • #9 gst_bin_element_set_state
    at gstbin.c line 2118
  • #10 gst_bin_change_state_func
    at gstbin.c line 2417
  • #11 gst_element_change_state
    at gstelement.c line 2548
  • #12 gst_element_set_state_func
    at gstelement.c line 2504
  • #13 gst_element_set_state
    at gstelement.c line 2405
  • #14 gst_bin_element_set_state
    at gstbin.c line 2118
  • #15 gst_bin_change_state_func
    at gstbin.c line 2417
  • #16 gst_switch_sink_change_state
    at gstswitchsink.c line 255
  • #17 gst_gconf_audio_sink_change_state
    at gstgconfaudiosink.c line 298
  • #18 gst_element_change_state
    at gstelement.c line 2548
  • #19 gst_element_set_state_func
    at gstelement.c line 2504
  • #20 gst_element_set_state
    at gstelement.c line 2405
  • #21 Phonon::Gstreamer::AudioOutput::setOutputDevice
    at ../../gstreamer/audiooutput.cpp line 217
  • #22 callSetOutputDevice
    at ../3rdparty/phonon/phonon/audiooutput.cpp line 67
  • #23 Phonon::AudioOutputPrivate::setupBackendObject
    at ../3rdparty/phonon/phonon/audiooutput.cpp line 281
  • #24 Phonon::AudioOutputPrivate::createBackendObject
    at ../3rdparty/phonon/phonon/audiooutput.cpp line 124
  • #25 Phonon::AudioOutputPrivate::init
    at ../3rdparty/phonon/phonon/audiooutput.cpp line 106
  • #26 AudioOutput
    at ../3rdparty/phonon/phonon/audiooutput.cpp line 76
  • #27 EngineController::initializePhonon
    at ../../src/EngineController.cpp line 122
  • #28 EngineController::qt_metacall
    at ./EngineController.moc line 147
  • #29 QMetaObject::metacall
    at kernel/qmetaobject.cpp line 237
  • #30 QMetaMethod::invoke
    at kernel/qmetaobject.cpp line 1533
  • #31 QMetaObject::invokeMethod
    at kernel/qmetaobject.cpp line 1113
  • #32 QMetaObject::invokeMethod
    at /usr/include/qt4/QtCore/qobjectdefs.h line 398
  • #33 Amarok::DefaultApplicationController::initEngineController
    at ../../src/statemanagement/DefaultApplicationController.cpp line 90
  • #34 Amarok::DefaultApplicationController::start
    at ../../src/statemanagement/DefaultApplicationController.cpp line 47
  • #35 App::continueInit
    at ../../src/App.cpp line 670
  • #36 App
    at ../../src/App.cpp line 212
  • #37 main
    at ../../src/main.cpp line 235

Comment 9 Stefan Sauer (gstreamer, gtkdoc dev) 2010-07-10 19:38:08 UTC
This is better. Could you also please install debuginfo packages for gst-plugin-base and gst-plugins-good. You seem to have them installed for core. Just to be sure - you are using the official packages (or the gstreamer ppa) - or do you have some self-build packages installed too.
Comment 10 takotheoktopus 2010-07-12 02:16:43 UTC
(In reply to comment #9)
> This is better. Could you also please install debuginfo packages for
> gst-plugin-base and gst-plugins-good. You seem to have them installed for core.
> Just to be sure - you are using the official packages (or the gstreamer ppa) -
> or do you have some self-build packages installed too.

I'm confused. I'm sure I originally installed gstreamer through the Synaptic Package Manager but the packages gst-plugins-base and gst-plugins-good don't show up. I found the gstreamer ppa at https://launchpad.net/~gstreamer-developers/+archive/ppa and added them to my Software Sources and proceeded to update via Synaptic. Neither package shows up even though they are listed on the launchpad site. Did the above install of ppa through the terminal as well with same results.

The only similar packages I could find were gstreamer0.10-plugins-good and gstreamer0.10-plugins-base so I updated them and added the debuginfo packages for both. I assume you want me to do another back trace? Here it is if so.

  • #0 ??
    from /usr/lib/libasound.so.2
  • #1 snd_pcm_close
    from /usr/lib/libasound.so.2
  • #2 gst_alsasink_close
    at gstalsasink.c line 783
  • #3 gst_audioringbuffer_close_device
    at gstaudiosink.c line 365
  • #4 gst_ring_buffer_close_device
    at gstringbuffer.c line 714
  • #5 gst_base_audio_sink_change_state
    at gstbaseaudiosink.c line 1888
  • #6 gst_element_change_state
    at gstelement.c line 2546
  • #7 gst_element_set_state_func
    at gstelement.c line 2502
  • #8 gst_element_set_state
    at gstelement.c line 2403
  • #9 gst_bin_element_set_state
    at gstbin.c line 2136
  • #10 gst_bin_change_state_func
    at gstbin.c line 2435
  • #11 gst_element_change_state
    at gstelement.c line 2546
  • #12 gst_element_set_state_func
    at gstelement.c line 2502
  • #13 gst_element_set_state
    at gstelement.c line 2403
  • #14 gst_bin_element_set_state
    at gstbin.c line 2136
  • #15 gst_bin_change_state_func
    at gstbin.c line 2435
  • #16 gst_switch_sink_change_state
    at gstswitchsink.c line 259
  • #17 gst_gconf_audio_sink_change_state
    at gstgconfaudiosink.c line 298
  • #18 gst_element_change_state
    at gstelement.c line 2546
  • #19 gst_element_set_state_func
    at gstelement.c line 2502
  • #20 gst_element_set_state
    at gstelement.c line 2403
  • #21 Phonon::Gstreamer::AudioOutput::setOutputDevice
    at ../../gstreamer/audiooutput.cpp line 217
  • #22 callSetOutputDevice
    at ../3rdparty/phonon/phonon/audiooutput.cpp line 67
  • #23 Phonon::AudioOutputPrivate::setupBackendObject
    at ../3rdparty/phonon/phonon/audiooutput.cpp line 281
  • #24 Phonon::AudioOutputPrivate::createBackendObject
    at ../3rdparty/phonon/phonon/audiooutput.cpp line 124
  • #25 Phonon::AudioOutputPrivate::init
    at ../3rdparty/phonon/phonon/audiooutput.cpp line 106
  • #26 AudioOutput
    at ../3rdparty/phonon/phonon/audiooutput.cpp line 76
  • #27 EngineController::initializePhonon
    at ../../src/EngineController.cpp line 122
  • #28 EngineController::qt_metacall
    at ./EngineController.moc line 147
  • #29 QMetaObject::metacall
    at kernel/qmetaobject.cpp line 237
  • #30 QMetaMethod::invoke
    at kernel/qmetaobject.cpp line 1533
  • #31 QMetaObject::invokeMethod
    at kernel/qmetaobject.cpp line 1113
  • #32 QMetaObject::invokeMethod
    at /usr/include/qt4/QtCore/qobjectdefs.h line 398
  • #33 Amarok::DefaultApplicationController::initEngineController
    at ../../src/statemanagement/DefaultApplicationController.cpp line 90
  • #34 Amarok::DefaultApplicationController::start
    at ../../src/statemanagement/DefaultApplicationController.cpp line 47
  • #35 App::continueInit
    at ../../src/App.cpp line 670
  • #36 App
    at ../../src/App.cpp line 212
  • #37 main
    at ../../src/main.cpp line 235

I removed all the lines that said "---Type <return> to continue, or q <return> to quit---" Hopefully that doesn't ruin the back trace for you.
Comment 11 Stefan Sauer (gstreamer, gtkdoc dev) 2010-07-12 07:38:41 UTC
Yes, "gstreamer0.10-plugins-good" and "gstreamer0.10-plugins-base" where the right packages - each disto names things according to their policies.

Also this backtrace is good. Now whats not so good is that according to the trace it crashed here:
static gboolean
gst_alsasink_close (GstAudioSink * asink)
{
  GstAlsaSink *alsa = GST_ALSA_SINK (asink);

  if (alsa->handle) {
    snd_pcm_close (alsa->handle);                  // <-- this line
    alsa->handle = NULL;
  }
  gst_caps_replace (&alsa->cached_caps, NULL);

  return TRUE;
}

which would be an alsa bug (?). Some questions to narrow it down:
1) can you play music with other applications?
2) what is the output from: cat /proc/asound/cards
3) does this work or crash too ? it should beeeeep (Ctrl-C to abort). gst-launch is part of gstreamer0.10-tools package on ubuntu.
   gst-launch-0.10 audiotestsrc ! alsasink
Comment 12 takotheoktopus 2010-07-13 10:49:13 UTC
(In reply to comment #11)
> Yes, "gstreamer0.10-plugins-good" and "gstreamer0.10-plugins-base" where the
> right packages - each disto names things according to their policies.
> 
> Also this backtrace is good. Now whats not so good is that according to the
> trace it crashed here:
> static gboolean
> gst_alsasink_close (GstAudioSink * asink)
> {
>   GstAlsaSink *alsa = GST_ALSA_SINK (asink);
> 
>   if (alsa->handle) {
>     snd_pcm_close (alsa->handle);                  // <-- this line
>     alsa->handle = NULL;
>   }
>   gst_caps_replace (&alsa->cached_caps, NULL);
> 
>   return TRUE;
> }
> 
> which would be an alsa bug (?). Some questions to narrow it down:
> 1) can you play music with other applications?
> 2) what is the output from: cat /proc/asound/cards
> 3) does this work or crash too ? it should beeeeep (Ctrl-C to abort).
> gst-launch is part of gstreamer0.10-tools package on ubuntu.
>    gst-launch-0.10 audiotestsrc ! alsasink

Here are the answers to your 3 questions.

1) Yes, I can play music with other applications i.e. Songbird, Audacious, Banshee, Rhythmbox etc.

2) Output from: cat /proc/asound/cards
 0 [CK804          ]: NFORCE - NVidia CK804
                      NVidia CK804 with ALC850 at irq 22
 1 [UART           ]: MPU-401 UART - MPU-401 UART
                      MPU-401 UART at 0x330, irq 10

3) Yes it beeped. Here's the output as well.

 $ gst-launch-0.10 audiotestsrc ! alsasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 4742200415 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Comment 13 Stefan Sauer (gstreamer, gtkdoc dev) 2010-07-14 20:04:01 UTC
Hmm, there is nothing wrong on the gstreamer side. I and other people on the irc channel suspect a bug in the phonon stack. Basically if we see a crash at this position the alsa->handle is invalid (e.g. a double close).

Could you perhaps try one more thing:

GST_DEBUG_NO_COLOR=1 GST_DEBUG="*:5" amarok 2>debug.log --debug --nofork

and attach the debug.log here (gzip it if it is too large).
Comment 14 takotheoktopus 2010-07-19 21:22:35 UTC
Created attachment 166179 [details]
back trace
Comment 15 takotheoktopus 2010-07-19 21:24:40 UTC

(In reply to comment #13)
> Hmm, there is nothing wrong on the gstreamer side. I and other people on the
> irc channel suspect a bug in the phonon stack. Basically if we see a crash at
> this position the alsa->handle is invalid (e.g. a double close).
> 
> Could you perhaps try one more thing:
> 
> GST_DEBUG_NO_COLOR=1 GST_DEBUG="*:5" amarok 2>debug.log --debug --nofork
> 
> and attach the debug.log here (gzip it if it is too large).

When I type the above in a terminal I get the following within the console - 

sock_file=/home/tako/.kde/socket-tako-desktop/kdeinit4__0

[1]+  Stopped                 GST_DEBUG_NO_COLOR=1 GST_DEBUG="*:5" amarok --debug --nofork 2> debug.log

That and the KDE Crash Handler spits out the following back trace which I have gzipped and attached as you requested.
Comment 16 takotheoktopus 2010-08-03 22:07:42 UTC
(In reply to comment #13)
> Hmm, there is nothing wrong on the gstreamer side. I and other people on the
> irc channel suspect a bug in the phonon stack. Basically if we see a crash at
> this position the alsa->handle is invalid (e.g. a double close).
> 
> Could you perhaps try one more thing:
> 
> GST_DEBUG_NO_COLOR=1 GST_DEBUG="*:5" amarok 2>debug.log --debug --nofork
> 
> and attach the debug.log here (gzip it if it is too large).

Did I do everything that you asked for correctly?
Comment 17 Tim-Philipp Müller 2010-08-04 11:34:27 UTC
> Did I do everything that you asked for correctly?

If could attach the (gzipped) debug.log, that would be helpful.
Comment 18 takotheoktopus 2010-08-09 22:43:41 UTC
After doing some research about where to find log files (/var/log), the only one titled debug.log had the following line in it: 

bash: cd: /var/logGST_DEBUG_NO_COLOR=1: No such file or directory
Comment 19 Stefan Sauer (gstreamer, gtkdoc dev) 2010-08-10 07:11:13 UTC
(In reply to comment #18)
> After doing some research about where to find log files (/var/log), the only
> one titled debug.log had the following line in it: 
> 
> bash: cd: /var/logGST_DEBUG_NO_COLOR=1: No such file or directory

Any that makes no sense. Please be more careful when invoking the commands.

GST_DEBUG_NO_COLOR=1 GST_DEBUG="*:5" amarok 2>debug.log --debug --nofork
gzip debug.log

After this will have a debug.log.gz in the current working dir. There is nothing written to /var/log.
Comment 20 takotheoktopus 2010-08-11 01:37:14 UTC
(In reply to comment #19)
> (In reply to comment #18)
> > After doing some research about where to find log files (/var/log), the only
> > one titled debug.log had the following line in it: 
> > 
> > bash: cd: /var/logGST_DEBUG_NO_COLOR=1: No such file or directory
> 
> Any that makes no sense. Please be more careful when invoking the commands.
> 
> GST_DEBUG_NO_COLOR=1 GST_DEBUG="*:5" amarok 2>debug.log --debug --nofork
> gzip debug.log
> 
> After this will have a debug.log.gz in the current working dir. There is
> nothing written to /var/log.

Thanks for clearing things up for me. I've attached the gzipped debug.log file.
Comment 21 takotheoktopus 2010-08-11 01:38:39 UTC
Created attachment 167554 [details]
debug.log file
Comment 22 Stefan Sauer (gstreamer, gtkdoc dev) 2010-08-11 06:52:20 UTC
Could bit a problem with gconfaudiosink

0:00:00.963944576  9351  0x87dea18 INFO        GST_ELEMENT_PADS gstelement.c:711:gst_element_add_pad:<bin1> adding pad 'sink'
0:00:00.963962735  9351  0x87dea18 DEBUG        GST_REFCOUNTING gstobject.c:823:gst_object_set_parent:<'':sink> set parent (ref and sink)
0:00:01.004665681  9351  0x87dea18 DEBUG             GST_STATES gstelement.c:2423:gst_element_set_state_func:<gconfaudiosink1> set_state to NULL
0:00:01.004926329  9351  0x87dea18 DEBUG             GST_STATES gstelement.c:2448:gst_element_set_state_func:<gconfaudiosink1> setting target state to NULL

Could you please start "gstreamer-properties" and select "pulseaudio" or "alsa" and try running amarok again (no need for the log at this time).

Could you also go to a terminal and try (ctrl-c to finish):
gst-launch-0.10 audiotestsrc ! gconfaudiosink

does that beep too (like in comment #12)? If that crashes as well, it would confirm an issue with gconfaudiosink.
Comment 23 takotheoktopus 2010-08-11 09:55:45 UTC
(In reply to comment #22)
> Could bit a problem with gconfaudiosink
> 
> 0:00:00.963944576  9351  0x87dea18 INFO        GST_ELEMENT_PADS
> gstelement.c:711:gst_element_add_pad:<bin1> adding pad 'sink'
> 0:00:00.963962735  9351  0x87dea18 DEBUG        GST_REFCOUNTING
> gstobject.c:823:gst_object_set_parent:<'':sink> set parent (ref and sink)
> 0:00:01.004665681  9351  0x87dea18 DEBUG             GST_STATES
> gstelement.c:2423:gst_element_set_state_func:<gconfaudiosink1> set_state to
> NULL
> 0:00:01.004926329  9351  0x87dea18 DEBUG             GST_STATES
> gstelement.c:2448:gst_element_set_state_func:<gconfaudiosink1> setting target
> state to NULL
> 
> Could you please start "gstreamer-properties" and select "pulseaudio" or "alsa"
> and try running amarok again (no need for the log at this time).
> 
> Could you also go to a terminal and try (ctrl-c to finish):
> gst-launch-0.10 audiotestsrc ! gconfaudiosink
> 
> does that beep too (like in comment #12)? If that crashes as well, it would
> confirm an issue with gconfaudiosink.


I started "gstreamer-properties" and tried both "PulseAudio" and "ALSA" as the default output before starting Amarok. Amarok crashed both times.

I typed 
gst-launch-0.10 audiotestsrc ! gconfaudiosink
and it beeps.
Comment 24 Stefan Sauer (gstreamer, gtkdoc dev) 2010-08-11 11:03:35 UTC
I am quite sure you see a bug in phonon. So far all the attempts have not managed to reproduce this in plain gstreamer. It would be good if you could file a bug against phonon/amarok and link it here. An investigation from that side could help to solve your problem.
Comment 25 takotheoktopus 2010-08-11 23:07:52 UTC
(In reply to comment #24)
> I am quite sure you see a bug in phonon. So far all the attempts have not
> managed to reproduce this in plain gstreamer. It would be good if you could
> file a bug against phonon/amarok and link it here. An investigation from that
> side could help to solve your problem.

Do you have a link to where I need to file this with phonon/amarok? I had initially reported this bug through the Amarok KDE Crash Handler https://bugs.kde.org/show_bug.cgi?id=238357 and the person there was extremely rude and unhelpful. I was told to report the bug here.

I tried to start filling out a bug report (https://bugs.kde.org/enter_bug.cgi?product=Phonon&format=guided) with Phonon as the product but it asks what version of KDE I'm using which I'm not, I'm using Gnome and the version of Phonon (version 4:4.6.2-0ubuntu5) isn't listed. I assume the component I'm using is GStreamer and when I select that it tells me to report the bug at Qt Software. 

Any links you can provide me would be very helpful. Thank you so much for all your help so far. Soon as I know how and where to report this bug I will link it here.
Comment 26 Colin Guthrie 2010-12-02 13:50:10 UTC
This appears to be the same as KDE bug https://bugs.kde.org/show_bug.cgi?id=232068

This is technically due to the way phonon+gstreamer tries to use pulse but then falls back to alsa (which in turn is configured to use pulse via the alsa PA plugin). This triggered some bugs in alsa lib that cause this crash.

To cut a long story short, it's an alsa-lib bug which has been fixed, but only in git. If you want the specific patches to apply on top of alsa-lib 1.0.23, I recommend these ones:
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/libalsa2/current/SOURCES/?pathrev=597366

(all the 01??-*.patch files)

So i think this can probably be marked as resolved upstream but having not read all the comments I'd rather let the people involved decide that.
Comment 27 Tobias Mueller 2011-02-03 16:45:51 UTC
Closing as NOTGNOME.