Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404417 - dragonplayer crashes when playing DVDs with phonon-gstreamer backend, errors using vlc backend
Summary: dragonplayer crashes when playing DVDs with phonon-gstreamer backend, errors ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-18 17:35 UTC by Kenton Groombridge
Modified: 2012-07-13 21:38 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 Kenton Groombridge 2012-02-18 17:35:14 UTC
I haven't been able to play DVDs with dragonplayer with the phonon-gstreamer backend for some time now (9 months+).  The vlc backend was working for a while, but not sure what changed to make it stop working as well.  I have two systems (laptop and desktop) that exhibit the exact same problems.

I have attempted to build packages with the -ggdb in my CFLAGS and the nostrip in my features in my make.conf.  I am not getting a whole lot out of it and if there are other packages I should rebuild with debugging to get a better output let me know.  I don't want to rebuild my whole system as this is the only problem I have been having for some time.

I was hoping that the new new releases of phonon-gstreamer-4.6.0 and phonon-vlc-0.5.0 would resolve my problems.

I have tried many different DVDs as well.

I have been working on this on and off trying to figure this out (googling the output, etc) with no solution that has resolved my issue and have just given up and would like some help in figuring this out.


Reproducible: Always

Steps to Reproduce:
1. Set phonon-gstreamer as preferred backend
2. Open Dragon Player
3. Play Disc
4. Segfault

1. Set phonon-vlc as preferred backend
2. Open Dragon Player
3. Play Disc
4. Errors out
Actual Results:  
Here is the output using phonon-gstreamer backend:

gdb dragon
GNU gdb (Gentoo 7.4 p1) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/dragon...done.
(gdb) run
Starting program: /usr/bin/dragon 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffec1f5700 (LWP 15446)]
[Thread 0x7fffec1f5700 (LWP 15446) exited]
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::begin: Paint device returned engine == 0, type: 2
[New Thread 0x7fffec1f5700 (LWP 15447)]
Disc in /dev/sr1 is a Video DVD
Setting new source 
New source:  QUrl( "" )  
Transitioning to state "playing" 
State change 
Moving from "null" 0 to "ready" 1 
[New Thread 0x7fffe967d700 (LWP 15448)]
libdvdread: Using libdvdcss version 1.2.11 for DVD access
libdvdnav: Using dvdnav version 4.2.0
libdvdread: Using libdvdcss version 1.2.11 for DVD access
libdvdnav: DVD Title: Foster's Disk 2
libdvdnav: DVD Serial Number: 4336B1B300000000
libdvdnav: DVD Title (Alternative): 
libdvdnav: Unable to find map file '/home/kgroombr/.dvdnav/Foster's Disk 2.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000122
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000019d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00003ffc
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
[New Thread 0x7fffe8c73700 (LWP 15449)]
[New Thread 0x7fffe31e3700 (LWP 15450)]
No accelerated IMDCT transform found
[New Thread 0x7fffe172e700 (LWP 15451)]
[New Thread 0x7fffe0f2d700 (LWP 15452)]
[New Thread 0x7fffe072c700 (LWP 15453)]
[New Thread 0x7fffdff2b700 (LWP 15454)]
[New Thread 0x7fffdf72a700 (LWP 15455)]
[New Thread 0x7fffdef29700 (LWP 15456)]
[New Thread 0x7fffde728700 (LWP 15457)]
[New Thread 0x7fffddf27700 (LWP 15458)]
[New Thread 0x7fffdd726700 (LWP 15459)]
[New Thread 0x7fffdcf25700 (LWP 15460)]
[New Thread 0x7fffdc724700 (LWP 15461)]

(dragon:15443): GLib-GObject-WARNING **: gsignal.c:2412: instance `0x105fe00' has no handler with id `76'
QObject::connect: Cannot queue arguments of type 'QList<MediaController::NavigationMenu>'
(Make sure 'QList<MediaController::NavigationMenu>' is registered using qRegisterMetaType().)
[New Thread 0x7fffdbd17700 (LWP 15462)]
Stream changed to dvd:// 
QPainter::begin: Paint device returned engine == 0, type: 2

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe31e3700 (LWP 15450)]
0x00007fffe805fb51 in mpeg2_idct_copy_sse2 () from /usr/lib64/libmpeg2.so.0
(gdb) quit
A debugging session is active.

        Inferior 1 [process 15443] will be killed.

Here is the output using phonon-vlc backend:

main decoder error: failed to create video output
libdvdnav: Using dvdnav version 4.2.0
libdvdread: Using libdvdcss version 1.2.11 for DVD access
libdvdnav: DVD Title: Foster's Disk 2
libdvdnav: DVD Serial Number: 4336B1B300000000
libdvdnav: DVD Title (Alternative): 
libdvdnav: Unable to find map file '/home/kgroombr/.dvdnav/Foster's Disk 2.map'
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000122
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000019d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00003ffc
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
[0x2e1e4b0] main video output error: video output creation failed
[0x2d08f00] main decoder error: failed to create video output
[0x2d794d0] main video output error: video output creation failed
[0x2d08f00] main decoder error: failed to create video output


Expected Results:  
Should be able to play DVDs with dragon.

emerge --info
Portage 2.1.10.46 (default/linux/amd64/10.0/desktop, gcc-4.6.2, glibc-2.14.1-r2, 3.2.6-gentoo x86_64)
=================================================================
System uname: Linux-3.2.6-gentoo-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.1
Timestamp of tree: Fri, 17 Feb 2012 22:00:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.2::x-portage
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Nero-EULA-US dlj-1.1 googleearth AdobeFlash-10.1 Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news nostrip parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ http://mirror.datapipe.net/gentoo http://mirrors.163.com/gentoo/ http://gentoo.netnitco.net http://gentoo.lcc.ufmg.br"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext S3TC X a52 aac acpi aften alsa amd64 apng atsc bash-completion binary-drivers bzip2 cairo cdda cddb cdparanoia cdr cdrom consolekit cracklib crypt css cups curl cxx dbus declarative dri dts dv dvb dvd dvdnav dvdr embedded emerald emoticon enca encode exif expat extras fame ffmpeg fftw firefox flac fluidsynth fortran g3dvl gdbm gdu gif gimp glibc-omitfp glut gnutls graphite gtk gzip hpcups hpijs iconv ieee1394 imagemagick imlib iproute2 java javascript joystick jpeg jpeg2k kde kdm kipi lame lcms ldap libnotify libv4l2 libvisual live lm_sensors lua lzo mad maps mikmod minizip mjpeg mmx mmxext mng modules mp3 mp4 mpeg mplayer multilib musicbrainz mysql ncurses network nls nodrm normalize nptl nptlonly nsplugin nspr nvidia offensive offlinehelp ogg openal opengl openmp pam pango pcre pdf perl phonon physfs png policykit ppds python qt3support qt4 quicktime rar readline rss rtc samba sasl scanner sdl semantic-desktop server smartcard sound spell sse sse2 sse3 ssl startup-notification subtitles svg svgz sysfs syslog tcpd templates theora threads threadsafe tiff transcode truetype twolame udev unicode unzip urandom usb userlocales utempter v4l2 vaapi vcd vdpau videos vlc vnc vorbis wav weather wifi wma wmf x264 xcb xcomposite xine xml xorg xpm xscreensaver xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="dvb_usb_dib0700" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="epson" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Franz Trischberger 2012-02-19 09:07:53 UTC
When in gdb and yout application crashes, you should type "bt" to get a backtrace. Then you will see something like that:

==============
(gdb) bt
#0  0x00007fffdbdf67f1 in mpeg2_idct_copy_sse2 () from /usr/lib64/libmpeg2.so.0
#1  0x00007fffdbdf0805 in mpeg2_slice () from /usr/lib64/libmpeg2.so.0
#2  0x00007fffdbde68c8 in mpeg2_parse () from /usr/lib64/libmpeg2.so.0
#3  0x00007fffe013ebae in gst_mpeg2dec_chain (pad=<optimized out>, buf=<optimized out>) at gstmpeg2dec.c:1081
#4  0x00007fffe7847c82 in gst_pad_push () from /usr/lib64/libgstreamer-0.10.so.0
#5  0x00007fffe1553fbf in gst_auto_convert_sink_chain () from /usr/lib64/gstreamer-0.10/libgstautoconvert.so
#6  0x00007fffe7847c82 in gst_pad_push () from /usr/lib64/libgstreamer-0.10.so.0
#7  0x00007fffe7847c82 in gst_pad_push () from /usr/lib64/libgstreamer-0.10.so.0
#8  0x00007fffe4431b30 in gst_multi_queue_loop () from /usr/lib64/gstreamer-0.10/libgstcoreelements.so
#9  0x00007fffe786cea4 in gst_task_func () from /usr/lib64/libgstreamer-0.10.so.0
#10 0x00007ffff1e96a48 in g_thread_pool_thread_proxy () from /usr/lib64/libglib-2.0.so.0
#11 0x00007ffff1e94666 in g_thread_create_proxy () from /usr/lib64/libglib-2.0.so.0
#12 0x00007ffff3279e2c in start_thread () from /lib64/libpthread.so.0
#13 0x00007ffff4bfe55d in clone () from /lib64/libc.so.6
===============

I fixed it by disabling sse2 for libmpeg2:

if [[ "${CATEGORY}/${PN}" == "media-libs/libmpeg2" ]] ; then
    CFLAGS="${CFLAGS} -mno-sse2"
    CXXFLAGS="${CXXFLAGS} -mno-sse2"
fi

I put this in my /etc/paludis/bashrc. I am sure there is a way for portage, too.

I am on a i7-2600K
Comment 2 Kenton Groombridge 2012-02-19 15:32:59 UTC
dragon now works great with gstreamer backend by building libmpeg2 without sse2.  

dragon still bombs with vlc backend (same message).
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2012-07-06 20:16:38 UTC
Which version of dragonplayer are you talking about? Is the bug still relevant?
Comment 4 Kenton Groombridge 2012-07-07 18:38:07 UTC
This was a problem that affected me for about a year.  As one of the comments indicated, this wasn't a problem with dragon player, but with libmpeg2.  I added media-libs/libmpeg2 -sse to my package.use file to correct the issue.  I just commented it out, rebuilt libmpeg2 and dragon player will play DVDs with the gstreamer backend just find now, so this can be closed.
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2012-07-13 21:38:10 UTC
(In reply to comment #4)
> This was a problem that affected me for about a year.  As one of the
> comments indicated, this wasn't a problem with dragon player, but with
> libmpeg2.  I added media-libs/libmpeg2 -sse to my package.use file to
> correct the issue.  I just commented it out, rebuilt libmpeg2 and dragon
> player will play DVDs with the gstreamer backend just find now, so this can
> be closed.

The package media-libs/libmpeg2 in portage doesnt have such use flag.