Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358865 - Any application in KDE using sound or video through (phonon-vlc) crashes (hardened)
Summary: Any application in KDE using sound or video through (phonon-vlc) crashes (har...
Status: RESOLVED NEEDINFO
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: 2011-03-14 13:20 UTC by Piotrek Juzwiak
Modified: 2011-08-20 18:49 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 Piotrek Juzwiak 2011-03-14 13:20:11 UTC
Any application that uses phonon for audio/video playback crashes with this message:


KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/piotrek/.kde4/socket-piotrek-gentoo/kdeinit4__0
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...

Kmail crashes trying to play notifications
dragonplayer crashes immediately upon startup
systemsettings/multimedia/phonon crashes when choosing it
akregator crashes when i get a feed containing audio/video

Every time that application crashes i get the above message with QSocket



Reproducible: Always

Steps to Reproduce:
1.Try to play any audio that goes through phonon
2.
3.
Actual Results:  
Application crashes trying to play audio

Expected Results:  
It should play audio/video withouth crashing
Comment 1 Piotrek Juzwiak 2011-03-14 13:21:15 UTC
emerge --info

emerge --info
Portage 2.1.9.42 (hardened/linux/x86, gcc-4.5.2, glibc-2.13-r2, 2.6.37-hardened-r5 i686)
=================================================================
System uname: Linux-2.6.37-hardened-r5-i686-AMD_Athlon-tm-_II_X2_255_Processor-with-gentoo-2.0.1
Timestamp of tree: Sat, 12 Mar 2011 17:30:01 +0000
app-shells/bash:     4.2_p7
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.68
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -msse4a"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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="-O2 -march=native -pipe -msse4a"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi berkdb bzip2 caps cdr cli consolekit cracklib crypt cups cxx dbus dri dvd dvdr encode fam ffmpeg flac fontconfig gallium gdbm gif gpm hardened iconv icu ipod ipv6 jpeg jpeg2k kde kontact lm_sensors lzma lzo matroska mmx mng modules mp3 mp4 mpeg mudflap musepack ncurses nls nptl nptlonly offensive ogg opengl openmp pam pcre pdf perl pic plasma png policykit pppd pulseaudio python qt3support qt4 readline semantic-desktop session smp sse sse2 ssl svg svga sysfs taglib tcpd theora threads tiff truetype udev urandom vaapi vorbis vpx wavpack x264 x86 xattr xcb xcomposite xorg xv xvid zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="ptp2" DRACUT_MODULES="plymouth" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Piotrek Juzwiak 2011-03-14 13:34:07 UTC
I am using phonon-vlc as backend (weirdly i had to disable mprotect on /usr/bin/vlc ).
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2011-03-14 13:40:17 UTC
Does any other backend works? xine/gstreamer/... (just asking for sake of the bug so we know users can revert to something working when hit by this)
Comment 4 Piotrek Juzwiak 2011-03-14 13:46:05 UTC
I am installing gstreamer backend right now to test it.
Comment 5 Piotrek Juzwiak 2011-03-14 13:58:10 UTC
Yes phonon-gstreame works just fine, every application exhibiting crashes work just fine now. Now for the sake of troubleshooting how should i approach debugging it as it clearly is phonon-vlc's fault (i don't know if it is connected but i had to disable mprotect flag from vlc while when i had 64 bit hardened with the same settings i didn't have to and i don't have win32codecs).
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2011-03-14 14:20:16 UTC
Lets see what hardened guys could tell us.
Lowering priority because it can be worked around by using another backend.
Removing creator from CC since he gets the mails anyway.
Comment 7 Piotrek Juzwiak 2011-03-14 16:23:11 UTC
I've been told that phonon-vlc is broken? No idea if that's true.

http://pastebin.com/ktt36fwE
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2011-04-28 21:30:34 UTC
(In reply to comment #7)
> I've been told that phonon-vlc is broken? No idea if that's true.
> 
> http://pastebin.com/ktt36fwE

Please do not use pastebin but add all informations as attachment.
Comment 9 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2011-05-09 01:45:42 UTC
BTW xine backend works just fine.

Piotrek, can you post me the output of:
$ emerge -vp media-video/vlc media-libs/phonon media-libs/phonon-vlc

I need it in order to try reproducing your results (and finding the cause or maybe a fix).
Comment 10 Piotrek Juzwiak 2011-05-09 09:39:40 UTC
To be honest i am not using hardened anymore but i was using stock hardened gentoo with GRC settings set as per the wiki.
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2011-08-20 18:49:50 UTC
(In reply to comment #9)
> BTW xine backend works just fine.
> 
> Piotrek, can you post me the output of:
> $ emerge -vp media-video/vlc media-libs/phonon media-libs/phonon-vlc
> 
> I need it in order to try reproducing your results (and finding the cause or
> maybe a fix).

(In reply to comment #10)
> To be honest i am not using hardened anymore but i was using stock hardened
> gentoo with GRC settings set as per the wiki.

Not much we can do then I guess...