bugGnash - The GNU Flash player - Bugs: bug #20583, HEAD crashes with...

 
 

bug #20583: HEAD crashes with __gnu_cxx::__concurrence_lock_error

Submitted by:  Tom Uffner <uffner>
Submitted on:  Wed 25 Jul 2007 01:40:43 AM UTC  
 
Category: coreSeverity: 4 - Important
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Mon 17 Dec 2007 03:19:05 PM UTC, comment #6:

Works fine for me from the plugin

Sandro Santilli <strk>
Project Member
Tue 06 Nov 2007 12:41:02 PM UTC, comment #5:

This plays fine standalone, but won't work in the plugin at all.

Benjamin Wolsey <bwy>
Project Member
Fri 28 Sep 2007 07:24:54 PM UTC, comment #4:

Plays very well for me now. So much has changed in ActionExec etc that it's quite likely been fixed.

It's worth testing it from a local copy because the site is very slow.

Benjamin Wolsey <bwy>
Project Member
Thu 26 Jul 2007 04:01:49 PM UTC, comment #3:

That binary search could really help...

Sandro Santilli <strk>
Project Member
Wed 25 Jul 2007 07:08:56 PM UTC, comment #2:

same exception but now with apparently corrupt stack.

38735] 15:02:08: Verbose output turned on
38735] 15:02:08: Setting width to 720
38735] 15:02:08: Setting height to 480
38735] 15:02:08: Setting root URL to http://www.stargazer-lily.com/ART04/JLoSong.swf
38735] 15:02:08: Setting base URL to http://www.stargazer-lily.com/jlosong.html
38735] 15:02:08: No rendering flags specified, using rcfile
38735] 15:02:09: OpenGL extension version - 1.2
38735] 15:02:09: Got double-buffered visual.
38735] 15:02:09: Created XEmbedded window
38735] 15:02:09: Base url set to: http://www.stargazer-lily.com/jlosong.html
38735] 15:02:09: ERROR: *** no tag loader for type 160 (movie)
terminate called after throwing an instance of '__gnu_cxx::__concurrence_lock_error38735] 15:02:09: ERROR: *** no tag loader for type 160 (movie)
'
what(): __gnu_cxx::__concurrence_lock_error38735] 15:02:09: ERROR: *** no tag loader for type 160 (movie)

Child process exited with status 134

#0 0x2832b0e3 in kill () from /lib/libc.so.7
[New Thread 0x2ae81400 (LWP 100153)]
[New Thread 0x2ae01100 (LWP 100202)]
(gdb) bt
#0 0x2832b0e3 in kill () from /lib/libc.so.7
#1 0x2832b042 in raise () from /lib/libc.so.7
#2 0x2832908c in abort () from /lib/libc.so.7
#3 0x28191d70 in __gnu_cxx::__verbose_terminate_handler ()
from /usr/lib/libstdc++.so.6
#4 0x28196cfe in std::set_unexpected () from /usr/lib/libstdc++.so.6
#5 0x2819768a in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#6 0x28197431 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#7 0x2822458b in _Unwind_Backtrace () from /lib/libgcc_s.so.1
#8 0x28224ced in _Unwind_RaiseException () from /lib/libgcc_s.so.1
#9 0x28196c4d in __cxa_throw () from /usr/lib/libstdc++.so.6
#10 0x281ae29f in __cxa_guard_acquire () from /usr/lib/libstdc++.so.6
#11 0x29f4dd7d in SWFHandlers (this=0x2804f529) at ASHandlers.cpp:174
#12 0xbfbfdac8 in ?? ()
#13 0x2804f529 in ?? () from /libexec/ld-elf.so.1
#14 0x299f4800 in ?? ()
#15 0x0000ee10 in ?? ()
#16 0x29fc8a90 in guard variable for gnash::VM::getLocale() const::loc ()
from /usr/local/lib/gnash/libgnashserver-cvs.so
#17 0x00000001 in ?? ()
#18 0x00000001 in ?? ()
#19 0x00200202 in ?? ()
#20 0x29fbed68 in ?? () from /usr/local/lib/gnash/libgnashserver-cvs.so
#21 0xbfbfdac8 in ?? ()
#22 0x29f5a041 in gnash::ActionExec::operator() (this=0x0)
at ActionExec.cpp:149
Previous frame inner to this frame (corrupt stack?)

Tom Uffner <uffner>
Wed 25 Jul 2007 12:21:29 PM UTC, comment #1:

Please try the attached patch and see if it makes any difference

(file #13464)

Sandro Santilli <strk>
Project Member
Wed 25 Jul 2007 01:40:43 AM UTC, original submission:

Sometime between 0.8.0 3rd alpha release and the 20070719 HEAD I started getting the following error. (if necessary i can narrow it further, but i don't have the fastest machines in the world so i'd prefer to avoid the update, build & test binary search if possible):

gnash output:

xEmbed supported in this Mozilla version
Gtk2+ supported in this Mozilla version
NewStream: The full URL is http://www.stargazer-lily.com/ART04/JLoSong.swf
Forked sucessfully, child process PID is Closed 8365038
files.
Starting process: /usr/local/bin/gnash -v -x 16780820 -j 720 -k 480 -u http://www.stargazer-lily.com/ART04/JLoSong.swf -U http://www.stargazer-lily.com/jlosong.html -P height=480 -P pluginspage=http://www.macromedia.com/go/getflashplayer -P quality=high -P src=ART04/JLoSong.swf -P type=application/x-shockwave-flash -P width=720 -
83650] 20:30:23: Verbose output turned on
83650] 20:30:23: Setting width to 720
83650] 20:30:23: Setting height to 480
83650] 20:30:23: Setting root URL to http://www.stargazer-lily.com/ART04/JLoSong.swf
83650] 20:30:23: Setting base URL to http://www.stargazer-lily.com/jlosong.html
83650] 20:30:23: No rendering flags specified, using rcfile
83650] 20:30:24: OpenGL extension version - 1.2
83650] 20:30:24: Got double-buffered visual.
83650] 20:30:24: Created XEmbedded window
83650] 20:30:24: Base url set to: http://www.stargazer-lily.com/jlosong.html
83650] 20:30:24: ERROR: *** no tag loader for type 160 (movie)
83650] 20:30:24: ERROR: *** no tag loader for type 160 (movie)
terminate called after throwing an instance of '__gnu_cxx::__concurrence_lock_error'
what(): __gnu_cxx::__concurrence_lock_error
Child process exited with status 134

(gdb) bt
#0 0x2832b0e3 in kill () from /lib/libc.so.7
#1 0x2832b042 in raise () from /lib/libc.so.7
#2 0x2832908c in abort () from /lib/libc.so.7
#3 0x28191d70 in __gnu_cxx::__verbose_terminate_handler ()
from /usr/lib/libstdc++.so.6
#4 0x28196cfe in std::set_unexpected () from /usr/lib/libstdc++.so.6
#5 0x2819768a in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#6 0x28197431 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#7 0x2822458b in _Unwind_Backtrace () from /lib/libgcc_s.so.1
#8 0x28224ced in _Unwind_RaiseException () from /lib/libgcc_s.so.1
#9 0x28196c4d in __cxa_throw () from /usr/lib/libstdc++.so.6
#10 0x281ae29f in __cxa_guard_acquire () from /usr/lib/libstdc++.so.6
#11 0x29f4dd7d in gnash::SWF::SWFHandlers::instance () at ASHandlers.cpp:442
#12 0x29f5a041 in gnash::ActionExec::operator() (this=0xbfbfdc44)
at ActionExec.cpp:142
#13 0x29e430d6 in gnash::sprite_instance::execute_action (this=0x2cd8f330,
ab=@0x2cdd24c4) at sprite_instance.cpp:2484
#14 0x29e4314b in gnash::sprite_instance::execute_actions (this=0x2cd8f330,
action_list=@0x2cd8f410) at sprite_instance.cpp:105
#15 0x29e4325e in gnash::sprite_instance::do_actions (this=0x2cd8f330)
at sprite_instance.cpp:1921
#16 0x29e43d71 in gnash::sprite_instance::advance_sprite (this=0x2cd8f330,
delta_time=1) at sprite_instance.cpp:2408
#17 0x29e32b49 in gnash::movie_instance::advance (this=0x2cd8f330,
delta_time=1) at movie_instance.cpp:88
#18 0x29e32fa6 in gnash::movie_root::advanceMovie (this=0x2ae50f80,
movie=@0xbfbfde1c, delta_time=1) at movie_root.cpp:1194
#19 0x29e333d6 in gnash::movie_root::advanceAllLevels (this=0x2ae50f80,
delta_time=1) at movie_root.cpp:1182
#20 0x29e35662 in gnash::movie_root::advance (this=0x2ae50f80, delta_time=1)
at movie_root.cpp:655
#21 0x28ffdf38 in gnash::Gui::advance_movie (gui=0x2ae15080) at gui.cpp:485
#22 0x29897f88 in g_timeout_dispatch (source=0x2c94c9c0,
callback=0x28ffdebe <gnash::Gui::advance_movie(gnash::Gui*)>,
user_data=0x2ae15080) at gmain.c:3422
#23 0x29897a44 in IA__g_main_context_dispatch (context=0x2ae158d0)
at gmain.c:2045
#24 0x2989a714 in g_main_context_iterate (context=0x2ae158d0, block=1,
dispatch=1, self=0x2ae594c0) at gmain.c:2677
#25 0x2989aae3 in IA__g_main_loop_run (loop=0x2cdc4e20) at gmain.c:2881
#26 0x2922a302 in IA__gtk_main () at gtkmain.c:1154
#27 0x2811bdd5 in gnash::GtkGui::run (this=0x2ae15080) at gtk.cpp:357
#28 0x281173a7 in gnash::Player::run (this=0xbfbfe130, argc=25,
argv=0xbfbfe1c8, infile=0xbfbfe4c0 "-",
url=0xbfbfe3bd "http://www.stargazer-lily.com/ART04/JLoSong.swf")
at Player.cpp:376
#29 0x0804bb53 in main (argc=25, argv=0xbfbfe1c8) at gnash.cpp:408
(gdb) info threads

* 2 Thread 0x2ae01100 (LWP 100197) 0x2832b0e3 in kill () from /lib/libc.so.7

1 Thread 0x2ae7f400 (LWP 100154) 0x2832ebef in read () from /lib/libc.so.7
(gdb)

my platform info is:
FreeBSD 7.0-CURRENT #192: Sat Jul 14 03:47:12 EDT 2007

[xiombarg#:~:ttyp1] cc -v
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.0 20070514 [FreeBSD]

[xiombarg#:~:ttyp1] gnash --version
Gnash cvs
Copyright (C) 2005-2007 Free Software Foundation, Inc.
Gnash comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of Gnash under the terms of the GNU General
Public License. For more information, see the file named COPYING.
Build options cvs
Target:
Renderer: ogl GUI: GTK Media handler: ffmpeg
Configured with: --libdir=/usr/local/lib/gnash --with-plugindir=/usr/local/lib/browser_plugins --enable-jpeg --disable-klash --disable-cygnal --enable-gui=GTK --enable-sound=SDL --with-mp3-decoder=mad --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local --build=i386-portbld-freebsd7.0
Ffmpeg version is: Lavc51.40.4

there is more discussion of my environment, etc in <a href="https://savannah.gnu.org/bugs/?20527">Bug #20527</a> from which this is branched.

Tom Uffner <uffner>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #13464:  SWFHandlers-singleton.patch added by strk (557B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bwy (Posted a comment)
  • -unavailable- added by strk (Updated the item)
  • -unavailable- added by uffner (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 17 Dec 2007 03:19:05 PM UTCstrkStatusWorks For Me=>Fixed
      Open/ClosedOpen=>Closed
    Fri 28 Sep 2007 07:24:54 PM UTCbwyStatusNone=>Works For Me
    Wed 25 Jul 2007 12:21:29 PM UTCstrkAttached File-=>Added SWFHandlers-singleton.patch, #13464
      CategoryNone=>core
      Severity3 - Normal=>4 - Important
    Wed 25 Jul 2007 01:40:43 AM UTCuffnerCarbon-Copy-=>Added uffner

    Back to the top


    Powered by Savane 3.1-cleanup1