Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84103 - beep-media-player crashed while trying to play mp3
Summary: beep-media-player crashed while trying to play mp3
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-04 08:55 UTC by Jan Han Xie
Modified: 2005-03-05 10:52 UTC (History)
1 user (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 Jan Han Xie 2005-03-04 08:55:45 UTC
beep-media-player crashed while I click the play button (or double click in the playlist) to play a mp3 file. It works well with .wmv and .ape files... After crashed it reports these:

Received SIGSEGV

This could be a bug in BMP. If you don't know why this happened, send a mail to us at beepmp-devel@lists.sourceforge.net

Killed

And here's the tail of "strace beep-media-player":

ioctl(24, 0x80044121, 0xbffff118)       = 0
gettimeofday({1109955121, 238679}, NULL) = 0
ioctl(4, FIONREAD, [0])                 = 0
gettimeofday({1109955121, 238958}, NULL) = 0
poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}], 3, 9) = 0
gettimeofday({1109955121, 249063}, NULL) = 0
ioctl(24, 0x80044121, 0xbffff118)       = 0
gettimeofday({1109955121, 249421}, NULL) = 0
gettimeofday({1109955121, 249526}, NULL) = 0
write(4, "\220\3\n\0\3\0\300\2$\0\300\2\0\6@\0P\0010\0L\0\20\0\30"..., 40) = 40
ioctl(4, FIONREAD, [0])                 = 0
gettimeofday({1109955121, 250127}, NULL) = 0
poll(
Received SIGSEGV

This could be a bug in BMP. If you don't know why this happened, send a mail to us at beepmp-devel@lists.sourceforge.net

[{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}], 3, 8) = 0
+++ killed by SIGKILL +++

my system info:

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 14:35:37)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -fPIC"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.gentoo.gr.jp/"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://133.11.205.121/gentoo-portage"
USE="x86 X aalib acpi alsa apm arts avi berkdb bitmap-fonts bonobo cdr cjk crypt cscope cups curl dga directfb dvd emboss encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg junit kde libg++ libwww mad mikmod mmx motif mozilla mpeg nas ncurses nls oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline sdl spell sse sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode xml xml2 xmms xv xvid zlib video_cards_radeon linguas_zh_CN"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, PORTDIR_OVERLAY


Reproducible: Always
Steps to Reproduce:
1.open beep-media-player
2.play a mp3 file
3.

Actual Results:  
application crashed.

Expected Results:  
music...
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2005-03-04 10:38:54 UTC
Have you enabled the "mp3" USE-flag?
BMP will not be able to play MP3 files unless you enable the optional support for it.
Comment 2 Jan Han Xie 2005-03-04 18:55:36 UTC
Yes. I emerged bmp with mp3 USE flag turned on.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2005-03-05 08:11:41 UTC
Okay, just wanted to be sure of that.
Please remove -fPIC from your CFLAGS & CXXFLAGS. The rest of your CFLAGS looks same. I see you have defined LDFLAGS as well, if removing -fPIC from CFLAGS isn't enough, try with LDFLAGS unset.
Comment 4 Jan Han Xie 2005-03-05 10:43:16 UTC
I've tried to remove -fPIC from CFLAGS/CXXFLAGS or disable LDFLAGS or both and the problem remained.
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2005-03-05 10:52:12 UTC
I can't reproduce your problem.
There are two options here; permanently delete "-fPIC" from your CFLAGS & CXXFLAGS and unset LDFLAGS then emerge -e world, and you can get support here.
Or, remove "-fomit-frame-pointer -fPIC" from CFLAGS and add "-g3", then emerge beep-media-players with USE="debug" RESTRICT="nostrip".
gdb /usr/bin/beep-media-player, wait for the problem to occur then type bt
This backtrace may help the BMP developers fix the error.

If you choose the path of emerge -e world, you may reopen with your new emerge info if the problem still occurs.