media-plugins/xmms-lyrc 0.3 media-sound/xmms 1.2.10-r14 When I configure the plugin and press 'Ok', xmms seg-faults. This is the stdout/stderr from xmms: [now, i click on the configure button..] Gdk-CRITICAL **: file gdkcolor.c: line 1008 (gdk_colormap_alloc_colors): assertion `colormap != NULL' failed. Gdk-CRITICAL **: file gdkcolor.c: line 1008 (gdk_colormap_alloc_colors): assertion `colormap != NULL' failed. [hmm okay.. now i click on the Ok button..] Gdk-CRITICAL **: file gdkcolor.c: line 1008 (gdk_colormap_alloc_colors): assertion `colormap != NULL' failed. Gdk-CRITICAL **: file gdkcolor.c: line 1008 (gdk_colormap_alloc_colors): assertion `colormap != NULL' failed. Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject' Gtk-CRITICAL **: file gtkobject.c: line 1069 (gtk_object_get_data_by_id): assertion `object != NULL' failed. Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject' Gtk-CRITICAL **: file gtkobject.c: line 1046 (gtk_object_set_data_by_id_full): assertion `object != NULL' failed. Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject' Segmentation fault You've probably found a bug in XMMS, please visit http://bugs.xmms.org and fill out a bug report. [d'oh!..] okay, when i don't click the configure button and just enable the plugin.. it crashes, too: [Lyrc] Searching on lyrc.com.ar (Red Hot Chili Peppers-Californication) [Lyrc] --> lyrics found :) (Red Hot Chili Peppers-Californication) /home/marc/.lyrics/Red%20Hot%20Chili%20Peppers%20-%20Californication.lyrics.xml:1: parser error : Extra content at the end of the document lt><lyric>Due to server load the service of lyrc.com.ar is down</lyric></result> ^ Segmentation fault You've probably found a bug in XMMS, please visit http://bugs.xmms.org and fill out a bug report. Reproducible: Always Steps to Reproduce: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i586) ================================================================= System uname: 2.6.11-gentoo-r9 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 09:02:33)] distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.5, 1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=k6-2 -O3 -pipe -fomit-frame-pointer" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k6-2 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/gentoo-de /usr/local/portage/arudil" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib acpi aim alsa avi berkdb bitmap-fonts blender-game bonobo cdr crypt cups curl directfb emboss encode fam fbcon flac foomaticdb fortran freetype gdbm gif gpm gtk gtk2 gtkhtml guile hbci icq imagemagick imlib jabber jpeg libg++ libwww mikmod mmx mng motif mp3 mpeg msn ncurses nls nvidia ogg oggvorbis opengl oscar pam pdflib perl png python quicktime readline real samba sdl slang spell ssl svga tcltk tcpd tiff timidity truetype truetype-fonts type1-fonts videos vorbis xchattext xml xml2 xmms xv zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
Created attachment 59620 [details, diff] Patch handles invalid xml-data received from server Works fine for me http://sourceforge.net/tracker/index.php?func=detail&aid=1199402&group_id=88275&atid=586110 With this Patch, xmms-lyrc doesn't segfault anymore when it receives invalid data from server
Patch commited. Thanks for your work