| Summary: | net-www/swfdec-mozilla segfaults on playing aac | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | John Klug <ski.brimson> |
| Component: | Current packages | Assignee: | GStreamer package maintainers <gstreamer> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | gnome, kjrg9l802, media-video |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | epiphany.log | ||
|
Description
John Klug
2009-03-01 23:03:20 UTC
Do you have media-plugins/gst-plugins-faad installed? That is required by (most) youtube videos for sound now it seems. That requires that media-libs/swfdec is built with gstreamer support, of course. (It would be helpful if swfdec added enough dependencies to play youtube videos by default at least.) I did not have media-plugins/gst-plugins-faad, but I did have the gstreamer usee flag. I installed: [I--] [ ] media-plugins/gst-plugins-faad-0.10.7 (0.10) Now I frequently see SIGSEGV: $ firefox unhandled event 19 Loading stream: http://s.ytimg.com/yt/swf/watch-vfl80519.swf Loading stream: http://v16.cache.googlevideo.com/videoplayback?id=adf2691d825813bd&itag=34&ip=67.40.170.188®ion=0&signature=17156285C611AE7291BEBA3F305E963E31D9D045.20C45604F06D8645074BF0748A640BD92DD4B29C&sver=2&expire=1236061279&key=yt1&ipbits=0 Segmentation fault Where should I go next? I have [I--] [ ] media-libs/gst-plugins-base-0.10.20 (0.10) [I--] [ ] media-libs/gstreamer-0.10.20 (0.10) [I--] [ ] media-plugins/gst-plugins-faad-0.10.7 (0.10) [I--] [ ] media-plugins/gst-plugins-ffmpeg-0.10.5 (0.10) [I--] [ ] media-libs/alsa-lib-1.0.17a (0) [I--] [ ] media-plugins/alsa-plugins-1.0.17-r1 (0) [I--] [ ] media-sound/alsa-headers-1.0.17 (0) [I--] [ ] media-sound/alsa-utils-1.0.17 (0.9) [I--] [ ] media-sound/pulseaudio-0.9.9 (0) [I--] [ ~] media-libs/swfdec-0.8.4 (0) [I--] [ ~] net-www/swfdec-mozilla-0.8.2 (0) [I--] [ ] www-client/mozilla-firefox-3.0.6 (0) and it "works for me"™ with both pulse and alsa output. amd64 and no crazy flags or optimizations. I have working ALSA and pulseaudio as well. oss is off (is that crazy?). I tried the new netscape-flash: [I--] [ ~] net-www/netscape-flash-10.0.22.87 (0) And now I hear sound, so this is now an academic exercise (or maybe an exercise in open source purity). mplayer works with both -ao alsa and -ao pulse. Removing netscape-flash, and reinstalling swfdec-mozilla repeated the segmentation fault issue. As to my flags and swfdec-mozilla related packages: make.conf: CFLAGS="-march=athlon64 -O2 -pipe" CXXFLAGS="-O2 -pipe" Packages and flags: ./packages.sh [ Searching for packages matching media-libs/gst-plugins-base... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for media-libs/gst-plugins-base-0.10.20 ] U I - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml + + nls : Adds Native Language Support (using gettext - GNU locale utilities) [ Searching for packages matching media-libs/gstreamer... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for media-libs/gstreamer-0.10.20 ] U I - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml + + nls : Adds Native Language Support (using gettext - GNU locale utilities) - - test : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore [ Searching for packages matching media-plugins/gst-plugins-faad... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ No USE flags found for media-plugins/gst-plugins-faad-0.10.7] [ Searching for packages matching media-plugins/gst-plugins-ffmpeg... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ No USE flags found for media-plugins/gst-plugins-ffmpeg-0.10.5] [ Searching for packages matching media-libs/alsa-lib... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for media-libs/alsa-lib-1.0.17a ] U I - - alisp : Enable support for ALISP (ALSA LISP) interpreter for advanced features. + + alsa_pcm_plugins_adpcm : Enable the adpcm internal plugin. + + alsa_pcm_plugins_alaw : Enable the alaw internal plugin. + + alsa_pcm_plugins_asym : Enable the plugin to create virtual devices with different inputs/outputs + + alsa_pcm_plugins_copy : Enable the copy internal plugin. + + alsa_pcm_plugins_dmix : Enable the software mixing plugin (for output) + + alsa_pcm_plugins_dshare : Enable the dshare internal plugin. + + alsa_pcm_plugins_dsnoop : Enable the plugin to allow to processes to get the same input + + alsa_pcm_plugins_empty : Enable the empty internal plugin. + + alsa_pcm_plugins_extplug : Enable the extplug internal plugin. + + alsa_pcm_plugins_file : Enable the plugin to save output to a file + + alsa_pcm_plugins_hooks : Enable the hooks internal plugin. + + alsa_pcm_plugins_iec958 : Enable the passthrough digital audio plugin + + alsa_pcm_plugins_ioplug : Enable the plugin to connect to hardware devices (*important*) + + alsa_pcm_plugins_ladspa : Enable the ladspa internal plugin. + + alsa_pcm_plugins_lfloat : Enable the lfloat internal plugin. + + alsa_pcm_plugins_linear : Enable the linear internal plugin. + + alsa_pcm_plugins_meter : Enable the meter internal plugin. + + alsa_pcm_plugins_mmap_emul : Enable mmap emulation for ro/wo devices. + + alsa_pcm_plugins_mulaw : Enable the mulaw internal plugin. + + alsa_pcm_plugins_multi : Enable the multi internal plugin. + + alsa_pcm_plugins_null : Enable the discard output plugin + + alsa_pcm_plugins_plug : Enable the plugin to connect to other plugins or devices (*important*) + + alsa_pcm_plugins_rate : Enable the samplerate conversion plugin + + alsa_pcm_plugins_route : Enable the route internal plugin. + + alsa_pcm_plugins_share : Enable the share internal plugin. + + alsa_pcm_plugins_shm : Enable the Shared Memory plugin (needed to transform an output into an input) + + alsa_pcm_plugins_softvol : Enable the software volume control plugin - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml - - doc : Adds extra documentation (API, Javadoc, etc) + + midi : Enables MIDI output support (both Hardware and Software) + + python : Adds support/bindings for the Python language [ Searching for packages matching media-plugins/alsa-plugins... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for media-plugins/alsa-plugins-1.0.17-r1 ] U I - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml + + ffmpeg : Enable ffmpeg-based audio/video codec support - - jack : Adds support for the JACK Audio Connection Kit + + libsamplerate : Build with support for converting sample rates using libsamplerate + + pulseaudio : Adds support for PulseAudio sound server - - speex : Adds support for the speex audio codec (used for speech) [ Searching for packages matching media-sound/alsa-headers... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ No USE flags found for media-sound/alsa-headers-1.0.17] [ Searching for packages matching media-sound/alsa-utils... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for media-sound/alsa-utils-1.0.17 ] U I + + midi : Build the sequencer (midi) utilities - - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features) + + nls : Adds Native Language Support (using gettext - GNU locale utilities) [ Searching for packages matching media-sound/pulseaudio... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for media-sound/pulseaudio-0.9.9 ] U I + + X : Adds support for X11 + + alsa : Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture) - - asyncns : Use libasyncns for asynchronous name resolution. + + avahi : Add avahi/Zeroconf support - - bluetooth : Enables Bluetooth Support + + caps : Use Linux capabilities library to control privilege + + dbus : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc) + + gnome : Adds GNOME support + + hal : Enable Hardware Abstraction Layer (HAL) support - - jack : Adds support for the JACK Audio Connection Kit + + libsamplerate : Build with support for converting sample rates using libsamplerate + + lirc : Adds support for lirc (Linux's Infra-Red Remote Control) - - oss : Adds support for OSS (Open Sound System) - - policykit : Enable support for PolicyKit framework. + + tcpd : Adds support for TCP wrappers [ Searching for packages matching media-libs/swfdec... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for media-libs/swfdec-0.8.4 ] U I + + alsa : Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture) - - doc : Adds extra documentation (API, Javadoc, etc) + + ffmpeg : Enable ffmpeg-based audio/video codec support + + gstreamer : Adds support for media-libs/gstreamer (Streaming media) + + gtk : Adds support for x11-libs/gtk+ (The GIMP Toolkit) + + pulseaudio : Adds support for PulseAudio sound server [ Searching for packages matching mozilla-firefox... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for www-client/mozilla-firefox-3.0.6 ] U I - - bindist : Flag to enable or disable options for prebuilt (GRP) packages (eg. due to licensing issues) - - custom-optimization : Fine-tune custom compiler optimizations + + dbus : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc) + + gnome : Adds GNOME support - - iceweasel : Enable iceweasel branding + + java : Adds support for Java - - linguas_af : Afrikaans locale - - linguas_ar : Arabic locale - - linguas_be : Belarusian locale - - linguas_bg : Bulgarian locale - - linguas_bn : Bengali locale - - linguas_bn_IN : Bengali locale for India - - linguas_ca : Catalan locale - - linguas_cs : Czech locale - - linguas_cy : Welsh locale - - linguas_da : Danish locale - - linguas_de : German locale - - linguas_el : Greek locale - - linguas_en : English locale - - linguas_en_GB : English locale for Britain - - linguas_en_US : English locale - - linguas_eo : Esperanto locale - - linguas_es : Spanish locale - - linguas_es_AR : Spanish locale for Argentina - - linguas_es_ES : Spanish locale for Spain - - linguas_et : Estonian locale - - linguas_eu : Basque locale - - linguas_fi : Finnish locale - - linguas_fr : French locale - - linguas_fy : Frisian locale - - linguas_fy_NL : Frisian language locale for the Netherlands - - linguas_ga : Irish locale - - linguas_ga_IE : Irish locale for Ireland - - linguas_gl : Galician locale - - linguas_gu : Gujarati locale - - linguas_gu_IN : Gujarati locale for India - - linguas_he : Hebrew locale - - linguas_hi : Hindi locale - - linguas_hi_IN : Hindi locale - - linguas_hu : Hungarian locale - - linguas_id : Indonesian locale - - linguas_is : Icelandic locale - - linguas_it : Italian locale - - linguas_ja : Japanese locale - - linguas_ka : Georgian locale - - linguas_kn : Kannada locale - - linguas_ko : Korean locale - - linguas_ku : Kurdish (latin) locale - - linguas_lt : Lithuanian locale - - linguas_lv : Latvian locale - - linguas_mk : Macedonian locale - - linguas_mn : Mongolian locale - - linguas_mr : Marathi locale - - linguas_nb : Norwegian (Bokmal) locale - - linguas_nb_NO : Norwegian (Bokmal) locale for Norway - - linguas_nl : Dutch locale - - linguas_nn : Nynorsk locale - - linguas_nn_NO : Nynorsk locale for Norway - - linguas_oc : Occitan locale - - linguas_pa : Punjabi locale for India - - linguas_pa_IN : Punjabi locale for India - - linguas_pl : Polish locale - - linguas_pt : Portuguese locale - - linguas_pt_BR : Portuguese locale for Brasil - - linguas_pt_PT : Portuguese locale for Portugal - - linguas_ro : Romanian locale - - linguas_ru : Russian locale - - linguas_si : Sinhala locale - - linguas_sk : Slovak locale - - linguas_sl : Slovenian locale - - linguas_sq : Albanian locale - - linguas_sr : Serbian locale - - linguas_sv : Swedish locale - - linguas_sv_SE : Swedish locale for Sweden - - linguas_te : Telugu locale - - linguas_th : Thai locale - - linguas_tr : Turkish locale - - linguas_uk : Ukrainian locale - - linguas_zh : Chinese locale - - linguas_zh_CN : Chinese locale for Peoples Republic of China - - linguas_zh_TW : Chinese locale for Taiwan - - mozdevelop : Enable features for web developers (e.g. Venkman) - - restrict-javascript : Pull in x11-plugins/noscript extension to disable javascript globally, putting the user fully in control of the sites he/she visits - - startup-notification : Enable application startup event feedback mechanism + + xulrunner : Build native browser integration against xulrunner instead of firefox or seamonkey tvscribe tmp # Here is what I got with epiphany. Looks like ffmpeg update or gst-ffmpeg broke everything. $ emerge --info shell-init: error retrieving current directory: getcwd: cannot access parent directories: Aucun fichier ou dossier de ce type Portage 2.2_rc23 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.24-gentoo-r8-mactel x86_64) ================================================================= System uname: Linux-2.6.24-gentoo-r8-mactel-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.0 Timestamp of tree: Sat, 28 Feb 2009 09:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p48-r1 dev-lang/python: 2.6.1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.3.8 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -g" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=native -pipe -g" DISTDIR="/var/tmp/distfiles" FEATURES="ccache distcc distlocks fixpackages multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/" LANG="fr_FR.UTF-8" LC_ALL="fr_FR.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en fr ja zh zh_CN" MAKEOPTS="-j4" PKGDIR="/var/tmp/packages" 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="/usr/local/portage/layman/voip /home/eva/devel/overlays/gentoo-misc /home/eva/devel/overlays/gnome" SYNC="rsync://rsync.be.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 applet asyncns avahi avi bash-completion bluetooth bzip2 cairo cdr cjk cli consolekit cracklib crypt cups dbus dri dvd dvdr dvdread eds epiphany evo fam ffmpeg flac galago gedit glitz gnome gnome-keyring gnutls gpm gstreamer hal iconv ipv6 isdnlog jpeg laptop ldap libnotify mad matroska midi mmx mp3 mpeg mudflap multilib nautilus ncurses networkmanager nfs nls nntp nptl nptlonly nsplugin ntpl ogg openct opengl openmp pam pcre pdf perl png pppd python readline reflection session smp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tracker unicode v4l v4l2 vim-syntax vorbis x264 xattr xcb xinerama xml xmp xorg xulrunner 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" APACHE2_MODULES="dav dav_fs authn_file auth_digest authz_groupfile authz_host dir mime" APACHE2_MPMS="event" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LINGUAS="en fr ja zh zh_CN" USERLAND="GNU" VIDEO_CARDS="i810 intel vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Attaching backtrace in a moment. Created attachment 184225 [details]
epiphany.log
backtrace dumped by bug-buddy.
Actually, I got that bug too when playing youtube videos a couple days ago. I first reported this to swfdec, and then got transfered on to gstreamer. Here's the upstream Gnome bug, with a patch :) http://bugzilla.gnome.org/show_bug.cgi?id=573369 As a workaround, dropping back to faad 2.6 fixes the bug. Cheers Actually, my bug refers to gst-ffmpeg, so we may have two bugs in a row here :) My report got duplicated against https://bugzilla.gnome.org/show_bug.cgi?id=563463 which isn't fixed yet. I can't drop faad back because of mythtv. Looking at the patch http://bugzilla.gnome.org/show_bug.cgi?id=573369 It seems to be patching gstfaad.c. I am on gstreamer 0.10.20, and there is no ext/faad/gstfaad.c. In fact there is no ext directory. So I assume the patch applies to a newer level of gstreamer? It would be nice to know which gentoo level of gstreamer this patch could be applied. Bug is in gstreamer, duplicate of bug 259813 *** This bug has been marked as a duplicate of bug 259813 *** uh wait, we have two bugs here, gst-ffmpeg and gst-plugins-faac... Both issues are fixed in upcoming gst-plugins-bad/gst-ffmpeg releases. The pre-releases are out and they will be released next week. |