Firefox crash on youtube video

Bug #590771 reported by inflamestory on 2010-06-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I'm on x64 and I tried severall video on youtube. All of them made firefox crash with the following output :

INFO: RenderThread this=0x7fd644e5ef90
INFO: Creating input thread
INFO: Newstream for
INFO: Compressed SWF file: Version 10 Length 254635
INFO: FrameRate 12
INFO: Creating VM
INFO: Global is 0x7fd64486ce30
INFO: ExportAssetsTag Tag
INFO: DestroyStream on main stream?
INFO: Fragment shader compilation
INFO: Vertex shader compilation
terminate called after throwing an instance of 'lightspark::RunTimeException'
  what(): Lightspark error

I'm running an up to date Archlinux with the git version of lightspark.

Please get a backtrace of the crash. You can use 'firefox -g' to start firefox inside gdb and the 'bt' command after the crash to get the backtrace.

Also try the current git master, as I've added another debug message which may be useful. Have you run make install before using lightspark?

inflamestory (dory-thibault) wrote :
  • bt Edit (7.5 KiB, text/plain)

Here is the backtrace, using the last version on git.
The package from Arch does a

make DESTDIR="$pkgdir" install

instead of a simple make install to create the package, here is the output that seems correct :

Install the project...
-- Install configuration: "Release"
-- Installing: /tmp/packerbuild-1000/lightspark-git/lightspark-git/pkg/usr/share/lightspark/lightspark.frag
-- Installing: /tmp/packerbuild-1000/lightspark-git/lightspark-git/pkg/usr/share/lightspark/lightspark.vert
-- Installing: /tmp/packerbuild-1000/lightspark-git/lightspark-git/pkg/usr/bin/lightspark
-- Installing: /tmp/packerbuild-1000/lightspark-git/lightspark-git/pkg/usr/lib/mozilla/plugins/
-- Up-to-date: /tmp/packerbuild-1000/lightspark-git/lightspark-git/pkg/usr/lib/mozilla/plugins/

Please install ttf-liberation font, the packager forgot to add the dependency on such package

inflamestory (dory-thibault) wrote :

In fact ttf-liberation is already installed installed

It seems that your distribution puts truetype fonts in /usr/share/fonts/TTF/. Until fontconfig support is added Lightspark expects ttf-liberation to be in /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Regular.ttf

You may solve the issue by creating a symlink or adding a distribution specific patch to modify the hardcoded path of the font (swf.cpp:1179)

inflamestory (dory-thibault) wrote :

Ok done, thanks for the tip it is working now. Some video are playing well, but no vsync.

what do you mean by no VSync? is the frame rate drifting?

Changed in lightspark:
status: New → Confirmed
status: Confirmed → Fix Released
status: Fix Released → Fix Committed
milestone: none → lightspark-0.5.0
inflamestory (dory-thibault) wrote :

No, I see tearings (horizontal lines going down) like with the original flash player (always) or XV (if the vsync is not enabled).

In current git master I've added double buffering for the plugin, may you try it? May you also give some details about your system configuration (video card/video driver)?

inflamestory (dory-thibault) wrote :

Nice! Now the few videos I can play on youtube have VSync enabled! It's the first time it ever happens to me as I get tearings even with HTML5 :-)
My graphic card is a 9500M G and the drivers are the latest beta : 256.29. VSync is enabled in OpenGL settings of course.

I see that the ArchLinux packager added pulseaudio as a dependency, is it realy necessary? I don't realy like this software, alsa has always been great :-)

Pulseaudio has been chosen as the audio backend for the high latency measurements, moreover using an audio server offers control over the various streams, for example it makes it possible to mute only Lightspark.

My current policy anyway is not supporting more than a backend for each feature. Of course any contribution to implement other backends will be accepted.

Changed in lightspark:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments