Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66784 - xmms-1.2.10-r7 crashes when playing files from URIs
Summary: xmms-1.2.10-r7 crashes when playing files from URIs
Status: VERIFIED DUPLICATE of bug 35868
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-08 10:39 UTC by Dead Schorsch
Modified: 2005-11-04 00:33 UTC (History)
1 user (show)

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


Attachments
Playlist with URIs that segv and thise that don't (playlist.pls,409 bytes, text/plain)
2004-10-17 09:53 UTC, James R. Webb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dead Schorsch 2004-10-08 10:39:47 UTC
xmms crashes with segfault when playing filelists or files, which come from a remote server (http-service that is, served by a local Netjuke server). It does not crash however when playing the same file directly from disc.

This has appeared recently, so it might be related to a recent upgrade, but I cannot figure out.

Reproducible: Always
Steps to Reproduce:
1. xmms
2. Play file / playlist from / with http-URLs
3. segfault

Actual Results:  
Segmentation fault

Dies ist wahrscheinlich ein Fehler in XMMS.
Siehe http://bugs.xmms.org zum Ausf
Comment 1 Dead Schorsch 2004-10-08 10:39:47 UTC
xmms crashes with segfault when playing filelists or files, which come from a remote server (http-service that is, served by a local Netjuke server). It does not crash however when playing the same file directly from disc.

This has appeared recently, so it might be related to a recent upgrade, but I cannot figure out.

Reproducible: Always
Steps to Reproduce:
1. xmms
2. Play file / playlist from / with http-URLs
3. segfault

Actual Results:  
Segmentation fault

Dies ist wahrscheinlich ein Fehler in XMMS.
Siehe http://bugs.xmms.org zum Ausfüllen eines Fehlerreports.

Xlib: unexpected async reply (sequence 0xc19)!


Expected Results:  
Play my music!

king ~ # emerge info
Portage 2.0.51_rc7 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,glibc
-2.2.5-r2, 2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dv
ipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config
/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distcc distlocks fixpackages sandbox userpr
iv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/dis
tributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm avi berkdb bitmap-fonts bonobo cdr crypt cups doc dvd
 dvdr encode esd foomaticdb gd gdbm gimpprint gnome gpm gtk gtk2 gtkhtml guile h
bci imagemagick imlib ipv6 java jpeg ldap libg++ libwww mad mozilla moznocompose
 moznoirc moznomail mpeg ncurses network nls nocardbus nptl nvidia oggvorbis ope
ngl pam pda pdflib perl png python readline samba scanner sdl slang spell ssl sv
ga tcltk tcpd tetex tiff truetype usb vanilla x86 xml xml2 xmms xprint xv zlib"
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-09 11:36:23 UTC
please try -r7.  Also, pleasse give me a URL that fails.
Comment 3 Dead Schorsch 2004-10-10 04:37:34 UTC
-r7 doesn't change the situation. This ia a URL, which was produced by netjuke. You can't reach this file from the outside, it's a local web server only:

http://netjuke.dahlen.org/var/music/t/The%20Clash%20-%20Rudy%20Can%27t%20Fail.mp3

Interesting enough, if I insert this URL into firefox, a "file open with" dialog pops up. Selecting xmms here make xmms play this URL without a glitch, using this URL as part of the playlist or enter it in Xmms "Open address ..." dialogue directly causes the crash:

christoph@king ~ $ xmms http://netjuke.dahlen.org/var/music/t/The%20Clash%20-%20Rudy%20Can%27t%20Fail.mp3

Segmentation fault

Dies ist wahrscheinlich ein Fehler in XMMS.
Siehe http://bugs.xmms.org zum Ausf
Comment 4 Dead Schorsch 2004-10-10 04:37:34 UTC
-r7 doesn't change the situation. This ia a URL, which was produced by netjuke. You can't reach this file from the outside, it's a local web server only:

http://netjuke.dahlen.org/var/music/t/The%20Clash%20-%20Rudy%20Can%27t%20Fail.mp3

Interesting enough, if I insert this URL into firefox, a "file open with" dialog pops up. Selecting xmms here make xmms play this URL without a glitch, using this URL as part of the playlist or enter it in Xmms "Open address ..." dialogue directly causes the crash:

christoph@king ~ $ xmms http://netjuke.dahlen.org/var/music/t/The%20Clash%20-%20Rudy%20Can%27t%20Fail.mp3

Segmentation fault

Dies ist wahrscheinlich ein Fehler in XMMS.
Siehe http://bugs.xmms.org zum Ausfüllen eines Fehlerreports.

Xlib: unexpected async reply (sequence 0xbf9)!
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-10 12:25:13 UTC
running 'xmms http://64.236.34.97:80/stream/1038' works fine for me.  Please provide me with a  public URL that breaks, so I can test this.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-11 22:21:26 UTC
Additionally, the URLs listed in bug #65373 also work fine...
Comment 7 Dead Schorsch 2004-10-12 11:19:11 UTC
These URLs in the other bug work here too. It seem like xmms has a problem whenever a blank appears in the file's URL, wether this has been expanded to %20 or not is still subject to investigation.

Files delivered by my local MP3 server which do not contain space in their file name work well, those with blanks in the URL don't.

And btw: We are not talking about streaming, Netjuke does either deliver M3U files  with http:// URLs in it or the file directly, no streaming.
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-14 03:15:04 UTC
just to be thurough, can you please test out -r8.  It contains all updates in the xmms cvs, so it just might have been fixed as there was some work done to the mpg123 plugin.  I wouldn't bet on it, but you never know.
Comment 9 Matt Keadle 2004-10-14 06:40:08 UTC
Confirmed. I've been seeing the same thing described above with -r7.

I can listen to streams from di.fm just fine, but XMMS is incapable of playing anything from my local Ampache server. It's not an internal-only site, but I don't have any public content to share with you to test. Downgrading to -r5 to see if it  works again. I'll try -r8 after my next sync as well.
Comment 10 Matt Keadle 2004-10-14 06:46:41 UTC
Downgrading to -r5 has fixed things for me in all cases. When I've listened to this Blur tune enough I'll work with -r8.
Comment 11 Dead Schorsch 2004-10-14 10:18:27 UTC
Confirmed, r5 does not show any symptoms, r8 is not yet on my mirror.
Comment 12 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-14 12:09:43 UTC
Also, r8 is in package.mask because it is still missing cjk support, so assuming youu don't need that, youu can add it to /etc/portage/package.mask:
echo media-sound/xmms >> /etc/portage/package.mask

I've tried just constructing invalid URLs with %20 in the filename, and xmms seems to handle it fine...

If -r8 fails too, it would be really helpful if you could make some content public, so I can test it, that would be very helpful.

Thanks. 
Comment 13 James R. Webb 2004-10-17 09:53:38 UTC
Created attachment 42038 [details]
Playlist with URIs that segv and thise that don't

The long URIs seg fault. The short ones don't.
Comment 14 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-17 13:48:10 UTC
Ok, so have you tried this with -r8?  Doing either of the following:

xmms playlist.pls
xmms 'http://www.live365.com/play/46135?membername=&session=moviemusicman%3A0&pid=&SaneID=130.13.104.108-1021607125488&lid=753-usa/'

causes xmms to play the stream fine for me in -r8.  Please tell me how you're using this playlist to crash xmms.

Thanks
Comment 15 Dead Schorsch 2004-10-18 01:47:31 UTC
-r8 plays none of the supplied uris, it just does not connect (saying to do so forever). 

However, the -r8 play's my local served files, if I address the MP3 files directly; when being part of a playlist, every mp3 file request fails on server side mit HTTP 400 Illegal Request error. The URI looks fine, but the server log (apache) says:

[Mon Oct 18 10:36:24 2004] [error] [client 192.168.25.3] Invalid URI in request
GET var/music/t/The%20Clash%20-%20Train%20In%20Vain.mp3 HTTP/1.0

Maybe there's a hidden character in that url or it's caused by localization (German here), but the r5 did not show that effect on the same, unchanged apache server.

Back to r5
Comment 16 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-18 02:31:24 UTC
Ok, so it looks like a localization problem as every attempt I make to play those streams works fine for me.  Can you try using -r8 without german localization?

I'm not a locale expert, so I'm not sure what to do about that...
Comment 17 James R. Webb 2004-10-19 22:14:48 UTC
r8 is currently masked. I was using r7. Will try r8.
Comment 18 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-30 04:02:52 UTC
Well... how did -r8 fare?  It probably has something to do with your locale settings... if -r8 fails, please tell me the output of 'locale'
Comment 19 Dead Schorsch 2004-11-01 10:00:29 UTC
Okay, it looks like the problem occuring is not really xmms' fault, but the one of the xmms-mad plugin. While "producing" a sample for testing, I found bug 35868 in the buglist, unmerged xmms-mad package and suddenly, xmms plays everything fine again, doesn't matter if the file is local or played via URL. 
Comment 20 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-01 12:56:14 UTC
can you provide a local mp3 that breaks it?  xmms-mad doesn't support streaming

*** This bug has been marked as a duplicate of 35868 ***
Comment 21 Dead Schorsch 2005-11-04 00:33:07 UTC
dupe and outdated.