Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149618 - lastfmplayer crashes after clicking the "play" button
Summary: lastfmplayer crashes after clicking the "play" button
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-30 06:54 UTC by Daniel Klaffenbach
Modified: 2006-11-17 14:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Klaffenbach 2006-09-30 06:54:14 UTC
lastfm starts up correctly but crashes instantly after clicking the green "play" button (i've experienced that on two different systems):

dk ~ # lastfm
Running on: "de_DE"
Initialising Search Extension
Initialising Search GUI
Initialising Sidebar Extension
Initialising Sidebar GUI
Initialising UserInfo Extension
Speicherzugriffsfehler


dk linux # emerge --info
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.12.4
Last Sync: Sat, 30 Sep 2006 09:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE"
LC_ALL="de_DE"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/xgl-coffee"
SYNC="rsync://rsync.home.local/gentoo-portage"
USE="x86 3dnow 3dnowext X acl acpi alsa arts automount bash-completion berkdb bitmap-fonts cairo cdr cli crypt cups dbus dbus-1 dga divx dlloader dri dvd dvdr dvdread elibc_glibc fortran gdbm gif gimp glitz gtk2 hal input_devices_keyboard input_devices_mouse isdnlog jpeg jpg kde kerberos kernel_linux ldap ldapsam libg++ linguas_de lm_sensors mmx mmxext mp3 mpeg nas ncurses new-login nls nptl nptlonly nvidia opengl openldap pam pcre pda perl png ppds pppd python qt quotas readline reflection samba sasl session skins spell spl sse ssl svg tcpd truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_nv video_cards_nvidia video_cards_vesa win32codecs win32codes winbind xorg xscreensaver xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 David Li 2006-09-30 10:50:37 UTC
For the record, "Speicherzugriffsfehler" means "Segmentation Fault".

Could you please do a backtrace of the crash?

If you don't know how to, here are some steps:

1) Emerge gdb
2) Run: gdb /opt/lastfm/LastFm
3) Type: set env LD_LIBRARY_PATH /opt/lastfm
4) Type: run
5) Do whatever you did to crash it
6) Type: bt full

Then reply with the output from the last command.
Comment 2 Lukasz Slonina 2006-09-30 12:51:19 UTC
I have the same problem.
In options there is no any soundcard (it's ok?) and audio system is Alsa.

gdb output:
(gdb) bt full
#0  0xb7143481 in RTAudioPlayback::startPlayback ()
   from /opt/lastfm/services/libplayback_rtaudio.so
No symbol table info available.
#1  0xb714ed8d in RTAudioPlayback::qt_metacall ()
   from /opt/lastfm/services/libplayback_rtaudio.so
No symbol table info available.
#2  0xb7655e7a in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#3  0xb76560f4 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
No symbol table info available.
#4  0xb7195189 in HTTPInput::preparedStreaming ()
   from /opt/lastfm/services/libinput_http.so
No symbol table info available.
#5  0xb7193137 in HTTPInput::startStreaming ()
   from /opt/lastfm/services/libinput_http.so
No symbol table info available.
#6  0xb71911fe in HTTPInput::stationChanged ()
   from /opt/lastfm/services/libinput_http.so
No symbol table info available.
#7  0xb71952d4 in HTTPInput::qt_metacall ()
   from /opt/lastfm/services/libinput_http.so
No symbol table info available.
#8  0xb7655e7a in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
Comment 3 David Li 2006-09-30 16:39:40 UTC
Are you guys sure ALSA is set up correctly on your systems?

wookashs, you are appear to be experiancing bug 142447 which happens when ALSA is not working properly.
Comment 4 Daniel Klaffenbach 2006-10-01 08:56:55 UTC
It doesn't show up a soundcard in my options either, but i'm pretty sure that alsa is set up correctly because all the other apps seem to work fine... here's my output from gdb:

(gdb) bt full
#0  0xb6f5a5dd in RtAudio::setStreamCallback () from /opt/lastfm/services/debug/libplayback_rtaudio_debug.so
No symbol table info available.
#1  0xb6f58e8e in RTAudioPlayback::startPlayback () from /opt/lastfm/services/debug/libplayback_rtaudio_debug.so
No symbol table info available.
#2  0xb6f694c6 in RTAudioPlayback::qt_metacall () from /opt/lastfm/services/debug/libplayback_rtaudio_debug.so
No symbol table info available.
#3  0xb747eb7c in QMetaObject::activate () from /usr/lib/qt4/libQtCore_debug.so.4
No symbol table info available.
#4  0xb747ef98 in QMetaObject::activate () from /usr/lib/qt4/libQtCore_debug.so.4
No symbol table info available.
#5  0xb709d0cd in HTTPInput::preparedStreaming () from /opt/lastfm/services/debug/libinput_http_debug.so
No symbol table info available.
#6  0xb709a6c3 in HTTPInput::startStreaming () from /opt/lastfm/services/debug/libinput_http_debug.so
No symbol table info available.
#7  0xb70989fc in HTTPInput::stationChanged () from /opt/lastfm/services/debug/libinput_http_debug.so
No symbol table info available.
#8  0xb709d43b in HTTPInput::qt_metacall () from /opt/lastfm/services/debug/libinput_http_debug.so
No symbol table info available.
#9  0xb747eb7c in QMetaObject::activate () from /usr/lib/qt4/libQtCore_debug.so.4
No symbol table info available.
#10 0xb747ef98 in QMetaObject::activate () from /usr/lib/qt4/libQtCore_debug.so.4
No symbol table info available.
#11 0xb6fdd337 in WebService::stationChanged () from /opt/lastfm/services/debug/libservice_web_debug.so
No symbol table info available.
#12 0xb6fd5a8b in WebService::changeStationFinished () from /opt/lastfm/services/debug/libservice_web_debug.so
No symbol table info available.
#13 0xb6fdeb80 in WebService::qt_metacall () from /opt/lastfm/services/debug/libservice_web_debug.so
No symbol table info available.
#14 0xb747eb7c in QMetaObject::activate () from /usr/lib/qt4/libQtCore_debug.so.4
No symbol table info available.
#15 0xb747ef98 in QMetaObject::activate () from /usr/lib/qt4/libQtCore_debug.so.4
No symbol table info available.
#16 0xb759bdb5 in QHttp::requestFinished () from /usr/lib/qt4/libQtNetwork_debug.so.4
No symbol table info available.
#17 0xb759ec9e in QHttp::readAll () from /usr/lib/qt4/libQtNetwork_debug.so.4
No symbol table info available.
#18 0xb759ed42 in QHttp::readAll () from /usr/lib/qt4/libQtNetwork_debug.so.4
No symbol table info available.
#19 0xb75a4a45 in QHttp::qt_metacall () from /usr/lib/qt4/libQtNetwork_debug.so.4
No symbol table info available.
#20 0xb7ef2aa6 in Http::qt_metacall () from /opt/lastfm/libLastFMTools.so.1
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#21 0xb747f2e8 in QObject::event () from /usr/lib/qt4/libQtCore_debug.so.4
No symbol table info available.
#22 0xb7935347 in QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui_debug.so.4
No symbol table info available.
#23 0xb79356ce in QApplication::notify () from /usr/lib/qt4/libQtGui_debug.so.4
No symbol table info available.
#24 0xb7470c63 in QCoreApplicationPrivate::appName () from /usr/lib/qt4/libQtCore_debug.so.4
No symbol table info available.
#25 0xb746e7cc in QCoreApplication::sendPostedEvents () from /usr/lib/qt4/libQtCore_debug.so.4
No symbol table info available.
#26 0xb79b731a in non-virtual thunk to QDesktopWidget::~QDesktopWidget() () from /usr/lib/qt4/libQtGui_debug.so.4
No symbol table info available.
#27 0xb79b6782 in non-virtual thunk to QDesktopWidget::~QDesktopWidget() () from /usr/lib/qt4/libQtGui_debug.so.4
No symbol table info available.
#28 0xb746a6a3 in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore_debug.so.4
No symbol table info available.
#29 0xb746a848 in QEventLoop::exec () from /usr/lib/qt4/libQtCore_debug.so.4
No symbol table info available.
#30 0xb746ee46 in QCoreApplication::exec () from /usr/lib/qt4/libQtCore_debug.so.4
No symbol table info available.
#31 0xb7937121 in QApplication::exec () from /usr/lib/qt4/libQtGui_debug.so.4
No symbol table info available.
#32 0x0805f3ed in ?? ()
No symbol table info available.
#33 0xb7157f0b in __libc_start_main () from /lib/tls/libc.so.6
No symbol table info available.
#34 0x0805eb81 in ?? ()
No symbol table info available.
Comment 5 David Li 2006-10-01 15:48:08 UTC
Okay, it's possible to get a segmentation fault if you have set a sound card other than the default one.

Try this:
1) Open ~/.config/Last.fm/Client.ini in a text editor
2) The soundcard line should say "soundcard=0"
3) Start the player and play a station. It should work.

4) In the settings, set another sound device.
5) Quit the player.
6) Start the player and play a station. It should crash.
Comment 6 Daniel Klaffenbach 2006-10-05 08:22:35 UTC
i've messed around with that config file for a long time but it didn't help either. there is still no soundcard available in the dropdown menu. i've completely reinstalled gentoo on another pc (duron 800) yesterday and i'm still experiencing the same problem on that machine. the old lastfm player used to work, though... all my other audio-apps work fine (lastfmplayer is the only qt4 audio-app i'm using).
Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2006-11-17 14:54:21 UTC
closing because of no more activity. Please ask upstream to fix this