Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307097 - www-plugins/swfdec-mozilla-0.8.2 sometimes crashes www-client/mozilla-firefox
Summary: www-plugins/swfdec-mozilla-0.8.2 sometimes crashes www-client/mozilla-firefox
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://www.mdr.de/nachrichten/
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2010-02-27 19:33 UTC by Jean-Marc Hengen
Modified: 2010-03-12 13:39 UTC (History)
0 users

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


Attachments
Patch of new ebuild against current version in the tree. (swfdec-mozilla-0.8.2.patch,1.17 KB, patch)
2010-02-27 19:36 UTC, Jean-Marc Hengen
Details | Diff
Read correct argument when parsing alignment. (swfdec-mozilla-0.8.2-fix_argument.patch,438 bytes, patch)
2010-02-27 19:39 UTC, Jean-Marc Hengen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Marc Hengen 2010-02-27 19:33:06 UTC
Sometimes when opening a link of http://www.mdr.de/nachrichten/ (a german news site) www-client/mozilla-firefox crashes. The crashes only happened when accessing http://www.mdr.de/ . Somehow I found out, that the crash only happened when www-plugins/swfdec-mozilla was installed and the site had flash content. Note the crash also happened when www-plugins/swfdec-mozilla was not playing, because I disabled the autoplay, so www-plugins/swfdec-mozilla was only loaded.



Reproducible: Sometimes

Steps to Reproduce:
1. Install www-plugins/swfdec-mozilla-0.8.2 as the only flash player.
2. Visit http://www.mdr.de/nachrichten/ with www-client/mozilla-firefox and search for a page with flash content (e.g. http://www.mdr.de/nachrichten/7123893.html Note: I forgot to save link, where I personally had a crash.).

Actual Results:  
Altough the content was loaded in a "background" tab, www-client/mozilla-firefox crashed.

Expected Results:  
www-client/mozilla-firefox should display the content.

The first crash happened during the end of my diploma thesis so I uninstalled www-plugins/swfdec-mozilla first. When I had time again, I investigated the crash but couldn't find a hint to it. I took a look at the development repository and found the following commit with a one line fix after the 0.8.2 release:
http://cgit.freedesktop.org/swfdec/swfdec-mozilla/commit/?h=0.8&id=11bfe822fc16a06d8eacacd36a069ccf9dbc1201
(by the way the only commit in the 0.8 series after the 0.8.2 release). After applying this patch, I couldn't reproduce the crash anymore. I must also mention that I couldn't always reproduce the crash with the unaltered www-plugins/swfdec-mozilla-0.8.2 , e.g. after firefox crashed and I restarted it, it worked. But sometimes I kept crashing.

While working on this bug, I did also port the current ebuild to EAPI 2.
Comment 1 Jean-Marc Hengen 2010-02-27 19:36:48 UTC
Created attachment 221467 [details, diff]
Patch of new ebuild against current version in the tree.

I added my current version of my www-plugins/swfdec-mozilla-0.8.2.ebuild. It is ported to EAPI 2 and has the patch of http://cgit.freedesktop.org/swfdec/swfdec-mozilla/commit/?h=0.8&id=11bfe822fc16a06d8eacacd36a069ccf9dbc1201
applied.
Comment 2 Jean-Marc Hengen 2010-02-27 19:39:40 UTC
Created attachment 221469 [details, diff]
Read correct argument when parsing alignment.

This is the patch extracted from http://cgit.freedesktop.org/swfdec/swfdec-mozilla/commit/?h=0.8&id=11bfe822fc16a06d8eacacd36a069ccf9dbc1201
 It fixes a bug in swfdec-mozilla-0.8.2 but I can't prove it is the origin of the current bug.
Comment 3 Jean-Marc Hengen 2010-02-27 19:54:42 UTC
Some additional informatitions:

The first crash happened in Nov. or Dec. 2009 and the last time I did reproduce it was th 15. Feb 2010. Since then I used my modified ebuild with the patch and hadn't an issue since then.

# emerge --info
Portage 2.1.7.16 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Athlon-tm-_64_Processor_3400+-with-gentoo-1.12.13
Timestamp of tree: Mon, 22 Feb 2010 08:30:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de fr ja"
MAKEOPTS="-j2"
PKGDIR="/opt/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude='/lost+found'"
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/tmpfs"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi alsa amd64 apache2 audiofile avi bash-completion berkdb bluetooth bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dga dirac divx4linux doc dri dts dv dvb dvd dvdr dvdread encode exif fbcon ffmpeg flac foomaticdb fortran fpx ftp gdbm gif gimpprint glitz gnome gnome-keyring gnutls gpm graphviz gs gstreamer gtk gtk2 guile hal iconv imagemagick imap imlib ipv6 jabber jack java java6 javascript jbig jikes joystick jpeg jpeg2k latex libcaca libnotify libwww lirc lzo mad matroska midi mime mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musepack musicbrainz mysql mysqli nas nautilus ncurses nls nocardbus nocd nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl php png policykit ppds pppd python quicktime readline reflection scanner schroedinger sdl session sndfile speex spl sse sse2 ssl startup-notification svg sysfs sysvipc tcpd tetex theora tiff truetype unicode usb v4l v4l2 vcd videos vim-syntax vorbis wma x264 xine xml xmms xmpp xorg xosd xpm xulrunner xv xvid 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile   authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de fr ja" LIRC_DEVICES="hauppauge hauppauge_dvb" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-03-01 20:54:02 UTC
inclusion of the patch ok
Comment 5 Pacho Ramos gentoo-dev 2010-03-12 13:39:27 UTC
Fixed in -r1