Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192837 - media-sound/bmpx-0.40.7 crashes at startup
Summary: media-sound/bmpx-0.40.7 crashes at startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-17 17:23 UTC by Geert Vanhaute
Modified: 2007-09-28 17:12 UTC (History)
0 users

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 Geert Vanhaute 2007-09-17 17:23:56 UTC
I believe it has something to do with this bug:
(BMPx crashes at startup if a device where tracks are stored is missing)
http://bugs.beep-media-player.org/view.php?id=339
but this one is closed and should be fixed in version 0.40

I can't remember which CD I put last in and also I have made changes to my music library as well, so can not get it working again.

BTW, I had this with previous version as well.

Reproducible: Always

Steps to Reproduce:
1.Startup beep-media-player-2
2.Crash: 
BMPx tried to start up, but crashed.

Please file a bug at:

http://bugs.beep-media-player.org

(I've read in another bug here that we should file bugs to Gentoo first)

Actual Results:  
 $ /usr/libexec/beep-media-player-2-bin --no-log output
** Message: sm.cc:270: Connection opened, client id is 117f000001000119004952000000099160015
** Message: sm.cc:53: XSMP Version: 1  Revision: 0
** Message: sm.cc:56: Session manager: GnomeSM 
** Message: sm.cc:60: Release: 2.18.3
** Message: object: '/BMP', interface 'org.beepmediaplayer.bmp', service 'org.mpris.bmp'
** Message: object: '/', interface 'org.freedesktop.MediaPlayer', service 'org.mpris.bmp'
** Message: Taglib plugin load SUCCESS '/usr/lib64/bmpx/plugins/taglib/libtaglib_plugin_asf.so'
** Message:      >> Plugin 'asf' can write metadata
** Message:      >> Plugin registers for video/x-ms-asf
** Message:      >> Plugin registers for audio/x-ms-wma
** Message: Taglib plugin load SUCCESS '/usr/lib64/bmpx/plugins/taglib/libtaglib_plugin_mp3.so'
** Message:      >> Plugin 'mp3' can write metadata
** Message:      >> Plugin registers for application/x-id3
** Message:      >> Plugin registers for audio/mpeg
** Message: Taglib plugin load SUCCESS '/usr/lib64/bmpx/plugins/taglib/libtaglib_plugin_mp4.so'
** Message:      >> Plugin 'mp4' can write metadata
** Message:      >> Plugin registers for audio/x-m4a
** Message:      >> Plugin registers for audio/mp4
** Message: Taglib plugin load SUCCESS '/usr/lib64/bmpx/plugins/taglib/libtaglib_plugin_mpc.so'
** Message:      >> Plugin 'mpc' can write metadata
** Message:      >> Plugin registers for application/x-apetag
** Message: Taglib plugin load SUCCESS '/usr/lib64/bmpx/plugins/taglib/libtaglib_plugin_ogg.so'
** Message:      >> Plugin 'ogg' can write metadata
** Message:      >> Plugin registers for application/ogg
** Message: Taglib plugin load SUCCESS '/usr/lib64/bmpx/plugins/taglib/libtaglib_plugin_flac.so'
** Message:      >> Plugin 'flac' can write metadata
** Message:      >> Plugin registers for audio/x-flac
** Message: library.cc:1966: Library initalized OK.
** Message: lastfm.cc:787: Loaded [0] items from the Last.fm queue.
** Message: object: '/Player', interface 'org.freedesktop.MediaPlayer', service 'org.mpris.bmp'
terminate called after throwing an instance of 'Bmp::HAL::InvalidVolumeSpecifiedError'
  what():  /org/freedesktop/Hal/devices/volume_uuid_23cfdf23_080f_4ecf_863e_95efa2d283b5
Aborted


Expected Results:  
A working music player

# emerge --info
Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Mon, 17 Sep 2007 16:30:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.9999
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo "
LANG="nl_BE@euro"
LC_ALL="C"
LINGUAS="en en_GB nl"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/portato /usr/portage/local/layman/java-experimental /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 amr amrnb amrwb apm automount avahi bash-completion berkdb binary-drivers bitmap-fonts bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli cpudetection cracklib crypt cups dbus directfb dts dvd dvdnav dvdr dvdread eds emboss emerald encode esd evo evolution exif extrafilters fam fbcon ffmpeg fftw firefox flac fontconfig fortran gdbm gif gimp gksu glitz gnome gphoto2 gpm gstreamer gtk hal hddtemp iconv imap imlib irmc isdnlog java javascript jbig jpeg jpeg2k lcms libnotify libsexy lm_sensors logrotate mad midi mikmod mmkeys mmx mmxext mng mp160 mp2 mp3 mpeg mplayer mudflap musepack ncurses nls nptl nptlonly nsplugin ntfs nvidia obj-gc objc objc++ objc-gc ogg opengl openmp oss pam paste64 pcre pda pdf perl plugins png pop pppd python quicktime readline realmedia reflection reiser4 rfkill rt61pci rtc rtsp sdl sdl-image sensord session skins smp sms spell spl srt sse sse2 ssl streamripper subtitles svg swat sysfs tcpd test-programs threads threadsafe tiff totem tracker trayicon truetype truetype-fonts type1-fonts unicode upnp usb userlocales userpriv vorbis winbind wma wmf wmp x264 xcb xcomposite xml xorg xosd xprint xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="directory lg_gsm" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-09-17 18:00:22 UTC
Looks like a lot of information but more would be appericiated.

Try starting it in gdb, let it run for a second and ctrl-c (interrupt) it and use "catch throw" as gdb command, it will set a breakpoint at libstdc++ 'throw'..
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-09-17 18:50:07 UTC
<quoting irc log for reference>

21:43 <@deadchip> drac: i've figured out a given set of circumstances in which this bug might occur
21:45 <@deadchip> drac: there's a separate library file for HAL volumes, and it stores all volumes ever seen; on second thought this is a 
                  bad idea to begin with but anyway, for now it's like taht
21:45 <@deadchip> drac: files in the main library also have volume information (volume/device UDI pairs)
21:46 <@deadchip> drac: if the app comes across files from the library with a given volume/device UDI pair, but this volume doesn't exist 
                  in the HAL library anymore, then this error occurs
21:46 <@deadchip> drac: the only way it can get out of there is if someone deletes the hal.mlib file -- Bmp::HAL never deletes volumes on 
                  its own

</quoting>
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-09-17 18:51:51 UTC
umm.. try, rm ~/.local/share/bmpx/hal.mlib
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-09-17 19:00:00 UTC
ok, should be fixed in next BMPX release, upstream:

21:56 <@deadchip> drac: ok well i've fixed the bug
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-09-24 17:57:17 UTC
0.40.8 is released, could you try building & running it? I believe copying 0.40.7 as 0.40.8 might be enough to test your issue.

However, I'm waiting for 0.40.9 before I bump it in portage as per upstreams advice.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2007-09-28 17:12:12 UTC
bmpx-0.40.10 is in tree now, I belive your problem is gone with it.

If not, reopen. Thanks for reporting.