Firefox crash on youtube video

Bug #590771 reported by inflamestory
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Lightspark
Fix Released
Undecided
Unassigned

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 http://s.ytimg.com/yt/swf/watch_as3-vfl169211.swf
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
Aborted

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

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

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?

Revision history for this message
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/liblightsparkplugin.so
-- Up-to-date: /tmp/packerbuild-1000/lightspark-git/lightspark-git/pkg/usr/lib/mozilla/plugins/liblightsparkplugin.so

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

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

Revision history for this message
inflamestory (dory-thibault) wrote :

In fact ttf-liberation 1.05.2.20091019 is already installed installed

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

http://www.archlinux.org/packages/community/any/ttf-liberation/

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)

Revision history for this message
inflamestory (dory-thibault) wrote :

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

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

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
Revision history for this message
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).

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

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)?

Revision history for this message
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 :-)

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

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  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.