Sun 25 May 2008 05:38:22 PM UTC, comment #5:
Perhaps it is related to this Helgrind output:
==13431== Possible data race during write of size 1 at 0x51108D4
==13431== at 0x468BAF5: gnash::movie_def_impl::~movie_def_impl() (movie_def_impl.cpp:229)
==13431== by 0x80AF8F6: gnash::ref_counted::drop_ref() const (ref_counted.h:87)
==13431== by 0x80AF92B: gnash::intrusive_ptr_release(gnash::ref_counted const*) (smart_ptr.h:65)
==13431== by 0x80AF96C: boost::intrusive_ptr<gnash::movie_definition>::~intrusive_ptr() (intrusive_ptr.hpp:83)
==13431== by 0x80A7E53: gnash::Gui::~Gui() (gui.cpp:161)
==13431== by 0x80CB3D4: gnash::GtkGui::~GtkGui() (gtk.cpp:97)
==13431== by 0x80BE59D: std::auto_ptr<gnash::Gui>::~auto_ptr() (auto_ptr.h:173)
==13431== by 0xC3663D: exit (exit.c:75)
==13431== by 0xC20397: (below main) (libc-start.c:252)
==13431== Old state: owned exclusively by thread #2
==13431== New state: shared-modified by threads #1, #2
==13431== Reason: this thread, #1, holds no locks at all
|
Thu 22 May 2008 05:21:42 AM UTC, original submission:
Using the latest snap from the 21st results in crashing with an
assertion error when loading Flash files with the standalone player.
$ gnash schild.swf
RcInitFile: couldn't open file: /etc/gnashrc
RcInitFile: parsing /home/brad/.gnashrc
Warning: unrecognized directive "splash_screen" in rcfile /home/brad/.gnashrc line 2
assertion "m_ref_count >= 0" failed: file "../libbase/ref_counted.h", line 77, function "add_ref"
Abort trap (core dumped)
#0 0x08dac5e1 in kill () from /usr/lib/libc.so.44.0
#1 0x08de4df3 in abort () at /usr/src/lib/libc/stdlib/abort.c:68
#2 0x08d85947 in __assert2 (file=0x3c0031fd "../libbase/ref_counted.h", line=77, func=0x3c0031e4 "add_ref",
failedexpr=0x3c0031ec "m_ref_count >= 0") at /usr/src/lib/libc/gen/assert.c:52
#3 0x1c08fedc in gnash::ref_counted::add_ref() const (this=0x84f10400) at ref_counted.h:77
#4 0x1c08bcbd in intrusive_ptr_add_ref (o=0x84f10400) at smart_ptr.h:59
#5 0x1c08a97f in intrusive_ptr (this=0xcfbef860, p=0x84f10400, add_ref=true) at intrusive_ptr.hpp:64
#6 0x1c08b8ea in boost::intrusive_ptr<gnash::movie_definition>::operator=(gnash::movie_definition*) (this=0xcfbef8a0,
rhs=0x84f10400) at intrusive_ptr.hpp:104
#7 0x095b9a13 in gnash::MovieLibrary::add(std::string const&, gnash::movie_definition*) (this=0x293b6a6c,
key=@0xcfbef970, mov=0x84f10400) at impl.cpp:709
#8 0x095b89c1 in gnash::create_library_movie(gnash::URL const&, char const, bool, std::string const) (url=@0xcfbef9d0,
real_url=0x859c38b4 "schild.swf", startLoaderThread=false, postdata=0x0) at impl.cpp:826
#9 0x1c091f72 in gnash::Player::load_movie() (this=0xcfbefb90) at Player.cpp:263
#10 0x1c0927a6 in gnash::Player::run(int, char**, std::string const&, std::string const&) (this=0xcfbefb90, argc=2,
argv=0xcfbefc4c, infile=@0xcfbefb50, url=@0xcfbefb70) at Player.cpp:354
#11 0x1c078c15 in main (argc=2, argv=0xcfbefc4c) at gnash.cpp:455
|