Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351406 - www-plugins/lightspark-0.4.5.1 makes firefox-3.6.13 crash with "double free or corruption (!prev)"
Summary: www-plugins/lightspark-0.4.5.1 makes firefox-3.6.13 crash with "double free o...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on: 350150
Blocks:
  Show dependency tree
 
Reported: 2011-01-12 03:41 UTC by Attila Stehr
Modified: 2011-10-31 03:27 UTC (History)
0 users

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


Attachments
firefox output on crash (small bt, memory map etc.) (firefox_clean_2011-01-12.out,13.35 KB, text/plain)
2011-01-12 03:46 UTC, Attila Stehr
Details
firefox gdb backtrace (firefox_clean_2011-01-12.bt,6.64 KB, text/plain)
2011-01-12 03:47 UTC, Attila Stehr
Details
emerge --info mesa libxmlpp (emerge__info_mesa_libxmlpp.out,13.59 KB, text/plain)
2011-01-16 01:43 UTC, Attila Stehr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Stehr 2011-01-12 03:41:41 UTC
Firefox crashes when I try to watch a flash video on youtube.

[ebuild   R   ] www-plugins/lightspark-0.4.5.1  USE="nsplugin pulseaudio" 0 kB
[ebuild   R   ] www-plugins/gnash-0.8.8  USE="agg cairo dbus fbcon ffmpeg gtk
nls opengl python sdl sdl-sound ssl test* vaapi xv (-aqua) -cygnal -doc -gnome
-gstreamer -kde (-kdeenablefinal) (-lirc) -mysql -nsplugin -ssh"
VIDEO_CARDS="-intel" 0 kB

What makes this a big problem is that the mouse and keyboard often aren't released for use in X after firefox crashed, which means clicking anywhere leads to no result, changing the desktop or to another running app is not possible (alt-tab)... In that case all I can do is to switch to one of the consoles (ctrl-alt-F<n>) and kill firefox. 
(X itself does _not_ freeze: gkrellm still shows statistics, mplayer keeps playing etc.)

Reproducible: Always

Steps to Reproduce:
1. start firefox
2. open youtube.com
3. click on a video link (image or textual)
Actual Results:  
1. crash
2. mouse and keyboard are not released for use in X in about 67% of the crashes

Expected Results:  
1. no crash, playing the videos
2. usable mouse and keyboard even in a case of a crash, e.g. to access the terminal and gdb, run kill or whatever

Please do not assign to the Mozilla team, see bug #326773.
Comment 1 Attila Stehr 2011-01-12 03:46:17 UTC
Created attachment 259597 [details]
firefox output on crash (small bt, memory map etc.)
Comment 2 Attila Stehr 2011-01-12 03:47:10 UTC
Created attachment 259599 [details]
firefox gdb backtrace
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-01-16 01:23:45 UTC
Two common issues for lightspark crashing are: <media-libs/mesa-7.9.1 (when using the radeon driver) and <dev-cpp/libxmlpp-2.33.1

One can be solved by upgrading mesa to ~arch (no idea what you use due to lack of emerge --info) the other will have to wait for the gnome team to move.
Comment 4 Attila Stehr 2011-01-16 01:43:03 UTC
Created attachment 259989 [details]
emerge --info mesa libxmlpp

media-libs/mesa-7.10 was built with the following:
USE="classic gallium llvm (multilib) nptl test -debug -gles -motif -pic (-selinux)" VIDEO_CARDS="nouveau -intel -mach64 -mga -r128 -radeon -savage -sis -tdfx -via -vmware"
CFLAGS="-O1 -pipe -march=core2 -ggdb -ffast-math"
CXXFLAGS="-O1 -pipe -march=core2 -ggdb -ffast-math"

dev-cpp/libxmlpp-2.32.0 was built with the following:
USE="(multilib) -debug -doc"
CFLAGS="-O2 -pipe -march=core2"
CXXFLAGS="-O2 -pipe -march=core2"

Would you want me to build libxmlpp with debug flags (if possible) as well and post a new backtrace?
Comment 5 Attila Stehr 2011-01-16 01:46:39 UTC
ah, sorry - won't have >=dev-cpp/libxmlpp-2.33.1 anyways ... :(
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-03-21 00:11:45 UTC
Can you test again with lightspark-0.4.6.1 (still p.masked due to >=libxmlpp-2.33.1 dependency)?
Comment 7 tman 2011-06-16 11:13:03 UTC
same test with firefox 4.x,
Comment 8 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-07-27 15:41:14 UTC
Is that still an issue with lightspark-0.5.0?
Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-10-31 03:27:28 UTC
Please reopen if you still see this problem with the latest lightspark and firefox.