Support arte.tv

Bug #821116 reported by AAndres on 2011-08-04
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Lightspark
Medium
Unassigned

Bug Description

Hi,

the Lightspark plugin crashes with both Firefox 5 and Chromium 12 (from Natty official repos) while loading the following page : http://videos.arte.tv/fr/videos/venganza-4062178.html
I'm using a git version of Lightspark (compiled today) on Kubuntu 11.04.
I'm attaching the backtrace of the crash.

AAndres (dejazmach) wrote :
AAndres (dejazmach) on 2011-08-04
description: updated
description: updated
Antti Ajanki (aajanki) wrote :

I debugged this and added some fixes to git. Now it gets a bit further (looks like it paints UI partially), but still does not play video.

Changed in lightspark:
status: New → Confirmed
AAndres (dejazmach) wrote :

Thanks for your efforts.
The plugin however crashes again with the following backtrace (using FF 6 and LS compiled today) :

(gdb) bt
#0 0x00007ffff435fd05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff4363ab6 in abort () at abort.c:92
#2 0x00007ffff43587c5 in __assert_fail (assertion=0x7fffbf9b0ded "typeClass", file=<value optimized out>, line=2240, function=<value optimized out>) at assert.c:81
#3 0x00007fffbf2b662a in lightspark::ABCContext::buildTrait (this=0x7fffb74dea20, obj=0x7fffd1387400, t=0x7fffd18bd5e8, isBorrowed=false, deferred_initialization=0x0)
    at /home/augustin/lightspark22092011/src/scripting/abc.cpp:2240
#4 0x00007fffbf35eb4a in lightspark::ABCVm::newClass (th=0x7fffa736c820, n=169) at /home/augustin/lightspark22092011/src/scripting/abc_opcodes.cpp:2407
#5 0x00007fffbf34a528 in lightspark::ABCVm::executeFunction (function=0x7fffa79ef040, context=0x7fffa736c820)
    at /home/augustin/lightspark22092011/src/scripting/abc_interpreter.cpp:768
#6 0x00007fffbf3f24bd in lightspark::SyntheticFunction::callImpl (this=0x7fffa79ef040, obj=0x7fffa7603b80, args=0x0, numArgs=0, thisOverride=false)
    at /home/augustin/lightspark22092011/src/scripting/toplevel.cpp:3472
#7 0x00007fffbf3f0e74 in lightspark::IFunction::call (this=0x7fffa79ef040, obj=0x7fffa7603b80, args=0x0, num_args=0)
    at /home/augustin/lightspark22092011/src/scripting/toplevel.cpp:3255
#8 0x00007fffbf2ba242 in lightspark::ScriptDefinable::define (this=0x7fffa7603c80, g=0x7fffa7603b80) at /home/augustin/lightspark22092011/src/scripting/toplevel.h:808
#9 0x00007fffbf2b0422 in lightspark::ABCVm::findClassInherit (this=0x7fffb799aae0, s=...) at /home/augustin/lightspark22092011/src/scripting/abc.cpp:1416
#10 0x00007fffbf2b0870 in lightspark::ABCVm::buildClassAndInjectBase (this=0x7fffb799aae0, s=..., base=...) at /home/augustin/lightspark22092011/src/scripting/abc.cpp:1437
#11 0x00007fffbf2af736 in lightspark::ABCVm::handleEvent (this=0x7fffb799aae0, e=...) at /home/augustin/lightspark22092011/src/scripting/abc.cpp:1283
#12 0x00007fffbf2b2660 in lightspark::ABCVm::Run (th=0x7fffb799aae0) at /home/augustin/lightspark22092011/src/scripting/abc.cpp:1732
#13 0x00007ffff7bb8d8c in start_thread (arg=0x7fffa72ff700) at pthread_create.c:304
#14 0x00007ffff441204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Antti Ajanki (aajanki) wrote :

I was able to fix the crash, but it still doesn't play the video.

tags: added: websitesupport

Changing the title of the bug to reflect the new situation

Changed in lightspark:
importance: Undecided → Medium
summary: - Crash with current git on arte.tv
+ Support arte.tv
AAndres (dejazmach) wrote :
Download full text (7.3 KiB)

I get LS crashing again on this website (on the following page : http://www.arte.tv/fr) using LS compiled with latest git on FF 10.

I get the following backtrace :

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffba7d9700 (LWP 9441)]
0x00007fffd043ac45 in std::__atomic2::__atomic_base<int>::fetch_add (this=0x5e, __i=1, __m=std::memory_order_seq_cst) at /usr/include/c++/4.6/bits/atomic_2.h:396
396 { return __sync_fetch_and_add(&_M_i, __i); }
(gdb) bt
#0 0x00007fffd043ac45 in std::__atomic2::__atomic_base<int>::fetch_add (this=0x5e, __i=1, __m=std::memory_order_seq_cst) at /usr/include/c++/4.6/bits/atomic_2.h:396
#1 0x00007fffd043980c in lightspark::ASObject::incRef (this=0x6) at /home/augustin/lightspark12032012/src/asobject.h:267
#2 0x00007fffd067722b in lightspark::Array::slice (obj=0x7fffe46e65b0, args=0x7fffba7cfde0, argslen=1) at /home/augustin/lightspark12032012/src/scripting/toplevel/Array.cpp:486
#3 0x00007fffd06a63f8 in lightspark::Function::call (this=0x7fffd60816a0, obj=0x7fffe46e65b0, args=0x7fffba7cfde0, num_args=1)
    at /home/augustin/lightspark12032012/src/scripting/toplevel/toplevel.cpp:969
#4 0x00007fffd05ddcb5 in lightspark::ABCVm::callImpl (th=0x7fffba7d1580, f=0x7fffd60816a0, obj=0x7fffe46e65b0, args=0x7fffba7cfde0, m=1, called_mi=0x7fffba7d0930,
    keepReturn=true) at /home/augustin/lightspark12032012/src/scripting/abc_opcodes.cpp:2067
#5 0x00007fffd05d0193 in lightspark::ABCVm::callProperty (th=0x7fffba7d1580, n=2516, m=1, called_mi=0x7fffba7d0930, keepReturn=true)
    at /home/augustin/lightspark12032012/src/scripting/abc_opcodes.cpp:302
#6 0x00007fffd05c99c5 in lightspark::ABCVm::executeFunction (function=0x7fffd5f98080, context=0x7fffba7d1580)
    at /home/augustin/lightspark12032012/src/scripting/abc_interpreter.cpp:730
#7 0x00007fffd06a5aae in lightspark::SyntheticFunction::call (this=0x7fffd5f98080, obj=0x7fffd600da00, args=0x7fffba7d1970, numArgs=0)
    at /home/augustin/lightspark12032012/src/scripting/toplevel/toplevel.cpp:891
#8 0x00007fffd05ddcb5 in lightspark::ABCVm::callImpl (th=0x7fffba7d3070, f=0x7fffd5f98080, obj=0x7fffd600da00, args=0x7fffba7d1970, m=0, called_mi=0x7fffba7d24b0,
    keepReturn=true) at /home/augustin/lightspark12032012/src/scripting/abc_opcodes.cpp:2067
#9 0x00007fffd05d0193 in lightspark::ABCVm::callProperty (th=0x7fffba7d3070, n=1533, m=0, called_mi=0x7fffba7d24b0, keepReturn=true)
    at /home/augustin/lightspark12032012/src/scripting/abc_opcodes.cpp:302
#10 0x00007fffd05c99c5 in lightspark::ABCVm::executeFunction (function=0x7fffd5f97e40, context=0x7fffba7d3070)
    at /home/augustin/lightspark12032012/src/scripting/abc_interpreter.cpp:730
#11 0x00007fffd06a5aae in lightspark::SyntheticFunction::call (this=0x7fffd5f97e40, obj=0x7fffd600da00, args=0x7fffba7d3460, numArgs=1)
    at /home/augustin/lightspark12032012/src/scripting/toplevel/toplevel.cpp:891
#12 0x00007fffd05ddcb5 in lightspark::ABCVm::callImpl (th=0x7fffba7d4b60, f=0x7fffd5f97e40, obj=0x7fffd600da00, args=0x7fffba7d3460, m=1, called_mi=0x7fffba7d3fb0,
    keepReturn=false) at /home/augustin/lightspark12032012/src/scripting/abc_opcodes.cpp:2067
#13 0x00007fffd05d01...

Read more...

The crash is now fixed in git master, the site is not supported yet though.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments