Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178759 - xfce-extra/xfmedia-0.9.2-r1 is completely broken.
Summary: xfce-extra/xfmedia-0.9.2-r1 is completely broken.
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: XFCE Team
URL: http://foo-projects.org/pipermail/xfc...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-16 12:58 UTC by ash
Modified: 2007-06-04 07:48 UTC (History)
1 user (show)

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


Attachments
gdb-trace (xfmedia.txt,5.27 KB, text/plain)
2007-06-03 21:40 UTC, Niklas Närhinen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ash 2007-05-16 12:58:42 UTC
Xfmedia crashes whenever I try to play a video. I think the only relevant part is the BadAlloc error, since that is what shows up when trying to play a video.

Reproducible: Always

Steps to Reproduce:
1.run xfmedia
2.select video to play
3.click play button

Actual Results:  

** (xfmedia:12407): WARNING **: Not compiled with D-BUS support.  Remote control interface is not available

(xfmedia:12407): Gtk-CRITICAL **: gtk_style_detach: assertion `style->attach_count > 0' failed
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. Do not report crashes to FFmpeg developers.
The program 'xfmedia' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 141 error_code 11 request_code 53 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.

Expected Results:  
It should have played the video.

Portage 2.1.2.2 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.5-r2, 2.6.17.13 i686)
=================================================================
System uname: 2.6.17.13 i686 AMD Athlon (TM) MP
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 15 May 2007 12:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mtune=athlon-mp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -mtune=athlon-mp"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer nodoc parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo"
LINGUAS="en_US en"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aim alsa apache2 bash-completion bzip2 calendar cddb cdparanoia clamav cli cracklib crypt dga dri dvd emacs emacs-w3 encode ffmpeg firefox ftp gcj gif glut gnustep gphoto2 gstreamer gtk gtk2 iconv icq imagemagick imap imlib ipv6 isdnlog jabber java jpeg libwww lirc lm_sensors mad memlimit midi mime mmx mp3 mpeg mysql ncurses nntp nocd nsplugin offensive ogg opengl oscar pam pcre pdf png pppd profile quicktime readline reflection sdl session sharedmem spell spl ssl sysvipc tcpd tetex threads tiff truetype unicode usb v4l verbose win32codecs x86 xine xml xorg xpm xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="nv v4l nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-05-16 13:08:16 UTC
emerge -pv xine-lib please.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-05-16 13:10:26 UTC
Also doing what is says here would be nice,

To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-05-16 13:31:26 UTC
http://qa.mandriva.com/show_bug.cgi?id=28433
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-05-27 17:03:10 UTC
FYI. Mandriva closed their bug of this same problem as RESOLVED, INVALID. Also, Debian has expressed their willing to remove entire package. I'm not sure what do here..

"Looks like xfmedia is totally broken. Close as a invalid."
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-05-28 16:07:44 UTC
It doesn't open GUI at all here. Looks useless to me, but for reference.

code: gdb xfmedia, run, ^C, thread apply all bt

Starting program: /usr/bin/xfmedia 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1490778448 (LWP 8832)]
DBG[main.c:447] main(): calling XInitThreads()
[New Thread -1506665584 (LWP 8835)]
DBG[xfmedia-xine.c:1172] xfmedia_xine_realize(): creating audio driver
DBG[xfmedia-xine.c:772] load_audio_out_driver(): trying audio driver auto

Program received signal SIGINT, Interrupt.
[Switching to Thread -1490778448 (LWP 8832)]
0xa7f8a410 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 2 (Thread -1506665584 (LWP 8835)):
#0  0xa7f8a410 in __kernel_vsyscall ()
#1  0xa7f4cb7c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xa7986d9e in ?? () from /usr/lib/libxine.so.1
#3  0x0815ba00 in ?? ()
#4  0x0815b9e8 in ?? ()
#5  0xa63213b8 in ?? ()
#6  0xa7f9858d in _dl_fixup () from /lib/ld-linux.so.2
#7  0xa7f484ab in start_thread () from /lib/libpthread.so.0
#8  0xa77f0e2e in clone () from /lib/libc.so.6

Thread 1 (Thread -1490778448 (LWP 8832)):
#0  0xa7f8a410 in __kernel_vsyscall ()
#1  0xa77f269b in semop () from /lib/libc.so.6
#2  0xa6eaed3f in snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#3  0xa6eaf977 in _snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#4  0xa6e7e635 in ?? () from /usr/lib/libasound.so.2
#5  0xaf932948 in ?? ()
#6  0x0815ea50 in ?? ()
#7  0x0815df90 in ?? ()
#8  0x08177ae8 in ?? ()
#9  0x00000000 in ?? ()

[ebuild   R   ] media-libs/xine-lib-1.1.6  USE="X a52 aac alsa dvd dxr3 flac gtk ipv6 mad nls opengl real sdl speex theora truetype v4l vorbis win32codecs xcb xv -aalib (-altivec) -arts -debug* -directfb -dts -esd -fbcon -gnome -imagemagick -jack -libcaca -mmap -mng -modplug -musepack -oss -pulseaudio -samba -vcd -vidix -wavpack -xinerama -xvmc" 0 kB 
[ebuild   R   ] xfce-extra/xfmedia-0.9.2-r1  USE="dbus startup-notification -debug*" 0 kB 
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2007-06-02 21:39:45 UTC
Different one,

DBG[xfmedia-xine.c:1366] xfmedia_xine_open(): xine_open() returned 1
DBG[mainwin.c:1492] xfmedia_mainwin_play_uri():   xfmedia_xine_open() returned
DBG[mainwin.c:1517] xfmedia_mainwin_play_uri(): dealt with video window
[New Thread -1775621232 (LWP 30524)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1582707824 (LWP 30495)]
0x6d9054c0 in ?? ()
(gdb) bt
#0  0x6d9054c0 in ?? ()
#1  0xa6bd45e5 in SendDriverMessage () from /usr/lib/xine/plugins/1.1.6/xineplug_decode_w32dll.so
#2  0xa6bda0f5 in ICSendMessage () from /usr/lib/xine/plugins/1.1.6/xineplug_decode_w32dll.so
#3  0xa6bd1cd2 in ?? () from /usr/lib/xine/plugins/1.1.6/xineplug_decode_w32dll.so
#4  0x08d8f3e8 in ?? ()
#5  0x0000400e in ?? ()
#6  0x00000000 in ?? ()
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2007-06-02 21:42:43 UTC
(xfmedia:30529): Gtk-CRITICAL **: gtk_style_detach: assertion `style->attach_count > 0' failed
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2007-06-02 21:55:51 UTC
Seems to work on another machine with X.org 7.1 but current stable is 7.2..
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2007-06-03 17:06:40 UTC
(In reply to comment #8)
> Seems to work on another machine with X.org 7.1 but current stable is 7.2..
 
Breaked after upgrading to X.org 7.2 and xine-lib-1.1.4 from 1.1.3, same problem as in Comment #0 and before that it spit out some of these..

(xfmedia:30529): Gtk-CRITICAL **: gtk_style_detach: assertion
`style->attach_count > 0' failed
Comment 10 Niklas Närhinen 2007-06-03 21:40:24 UTC
Created attachment 121070 [details]
gdb-trace
Comment 11 Niklas Närhinen 2007-06-03 21:43:24 UTC
Hi, works well on amd64 when playing .mp3, but opening a .avi crashes the whole program. Attached a gdb-trace.

Using xine-lib version 1.1.6 and x.org version 7.2. 

Here's my emerge --info:

Portage 2.1.2.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.20-viper7 x86_64)
=================================================================
System uname: 2.6.20-viper7 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System release 1.12.10
Timestamp of tree: Sat, 02 Jun 2007 04:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-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/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.public.fix.fi/gentoo/"
LANG="en_US.utf-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="fi en en_GB en_US"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/home/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/nouveau /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 bash-completion berkdb bitmap-fonts bootsplash cairo ccache cdr cdrom cgi cli cracklib crypt cups dbus dri drm dvb dvd dvdr dvdread eds emboss encode esd evo exif exim fam firefox fortran gdbm gif gpm gstreamer gtk hal hddtemp iconv ipod java jpeg kerberos ldap libg++ mad midi mikmod mmx mp3 mpeg msn mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis xinerama xml xorg xprint xscreensaver xv zlib" ALSA_CARDS="via82xx" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi en en_GB en_US" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="nouveau fbdev nv nvidia vesa v4l vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2007-06-03 21:52:22 UTC
(In reply to comment #10)
> Created an attachment (id=121070) [edit]
> gdb-trace
> 

Could you 'bt' that when it hangs.. :)
Comment 13 Niklas Närhinen 2007-06-04 07:48:33 UTC
(In reply to comment #12)
> (In reply to comment #10)
> > Created an attachment (id=121070) [edit]
> > gdb-trace
> > 
> 
> Could you 'bt' that when it hangs.. :)
> 

(gdb) bt
No stack.
(gdb)

One interesting note:
If I run it with --sync option, it doesn't crash, it just doesn't play the video. Is this what should happen?