bugGnash - The GNU Flash player - Bugs: bug #18840, endofworld.swf sound play multiple...

 
 

bug #18840: endofworld.swf sound play multiple times (WAS: makes gnash hang)

Submitted by:  Tomas Groth <tgc>
Submitted on:  Sun 21 Jan 2007 01:49:53 AM UTC  
 
Category: sound-gstSeverity: 4 - Important
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Bastiaan Jacques <bjacques>
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)

Tue 02 Dec 2008 02:49:27 PM UTC, comment #14:

Works for me with both ffmpeg and gst.

Benjamin Wolsey <bwy>
Project Member
Wed 07 May 2008 09:16:59 AM UTC, comment #13:

Doesn't stop anymore with head, so regression (if ever was one)
is now fixed.

Still, sound isn't right.
Gstreamer reports:
(<unknown>:27323): GStreamer-CRITICAL **: gst_segment_to_stream_time: assertion `segment->format == format' failed

and sometimes output some same sound, but mostly is silent
or makes low noise.

Sandro Santilli <strk>
Project Member
Wed 27 Feb 2008 08:37:31 AM UTC, comment #12:

I confirm the stop at end of loading.
Seems like a regression. I tested with ffmpeg, FWIW.

Sandro Santilli <strk>
Project Member
Wed 27 Feb 2008 07:53:35 AM UTC, comment #11:

This doesn't play at all for me; it sticks at the screen after loading.

It also gets 30 auto audio sinks.

Benjamin Wolsey <bwy>
Project Member
Sat 09 Feb 2008 10:21:30 AM UTC, comment #10:

I hear NO sound and get these messages:

(<unknown>:31382): GStreamer-CRITICAL **: gst_segment_to_stream_time: assertion `segment->format == format' failed

many of them

Sandro Santilli <strk>
Project Member
Sat 09 Feb 2008 06:38:30 AM UTC, comment #9:

I just hear static now.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Tue 22 Jan 2008 03:18:35 PM UTC, comment #8:

With gst backend I hear 'meteors becoming crashed into us' twice - that is, where the sound used to start playing twice, and two of another same sound effect later. Otherwise it's silent all the way through.

I get this error message a few times:

    • (<unknown>:22183): CRITICAL **: gst_capsfilter_prepare_buf: assertion `out_caps != NULL' failed
Benjamin Wolsey <bwy>
Project Member
Mon 17 Sep 2007 01:29:45 PM UTC, comment #7:

I confirm sound keeps looping, and that the playback of animation seems better.

Sandro Santilli <strk>
Project Member
Mon 17 Sep 2007 12:57:35 PM UTC, comment #6:

This movie now plays correctly with current head, except for some sound issues, so i've changed the summery into reflecting that

Tomas Groth <tgc>
Sat 30 Jun 2007 05:14:58 PM UTC, comment #5:

Are you saying that with mad it doesn't reset to the starting frame ?

Sandro Santilli <strk>
Project Member
Sat 12 May 2007 12:14:26 PM UTC, comment #4:

Still present in opengl-gtk-ffmpeg. Now plays ok but resets to the starting frame after 11.5 seconds' play. If you press play again it does the same.

With opengl-gtk-mad the sound is garbled and bubbly, but it "plays" all the way through.

Martin Guy <martinwguy>
Tue 10 Apr 2007 05:14:50 PM UTC, comment #3:

I fixed the deadlock by modifying total frame count when at end of parsing the number of frames loaded is less then the frame count
and. Not exactly what we want probably, anyway this file reveals a bug in the parser (and not only for Gnash, also for flasm and for Ming).

Sandro Santilli <strk>
Project Member
Tue 10 Apr 2007 02:19:31 PM UTC, comment #2:

I confirm the bug. Unfortunately both Ming and flasm choke on the input. The file advertise an high number of frames but then
it's likely NOT providing enough SHOWFRAME tags so the advertised
number of frames is never fully loaded.

A possible fix is likely resetting frame count when
the parser thread finishes and triggering the frame reached
condition even if the requested frame has never been
reached. IIRC the function signature for the 'waiter' is
already able to return a false value if any problem occurs.

Sandro Santilli <strk>
Project Member
Tue 10 Apr 2007 10:10:04 AM UTC, comment #1:

The given link doesn't work anymore, so here's a new one: http://www.nata2.info/humor/flash/endofworld.swf

The problem seems to be a deadlock, here's a backtrace:
0x00002aff2e6226b6 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
(gdb) bt
#0 0x00002aff2e6226b6 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#1 0x00002aff2d806e53 in gnash::movie_def_impl::ensure_frame_loaded (
this=0x744c80, framenum=287) at /usr/include/boost/thread/condition.hpp:149
#2 0x00002aff2d374e4c in gnash::movie_instance::advance (this=0x7914e0,
delta_time=1) at /home/tomas/gnash/gnash/server/movie_instance.cpp:69
#3 0x00002aff2d3763de in gnash::movie_root::advance (this=0x7a0030,
delta_time=1) at /home/tomas/gnash/gnash/server/movie_root.cpp:582
#4 0x00002aff2cfe6e08 in gnash::Gui::advance_movie (gui=0x510720)
at /home/tomas/gnash/gnash/gui/gui.cpp:424
#5 0x00002aff3032eabb in g_timeout_dispatch () from /usr/lib/libglib-2.0.so.0
#6 0x00002aff3032e5b3 in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#7 0x00002aff303313fd in g_main_context_iterate ()
from /usr/lib/libglib-2.0.so.0
#8 0x00002aff303316e6 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#9 0x00002aff2f2a8792 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x00002aff2cfe44bb in gnash::GtkGui::run (this=<value optimized out>)
at /home/tomas/gnash/gnash/gui/gtk.cpp:319
#11 0x00002aff2db9b58b in gnash::Player::run (this=0x7fff7dbebf10,
argc=<value optimized out>, argv=0x7fff7dbec0b8,
infile=<value optimized out>, url=<value optimized out>)
at /home/tomas/gnash/gnash/gui/Player.cpp:348
#12 0x000000000040388f in main (argc=2, argv=0x7fff7dbec0b8)
at /home/tomas/gnash/gnash/gui/gnash.cpp:352

Tomas Groth <tgc>
Sun 21 Jan 2007 01:49:53 AM UTC, original submission:

This swf plays for a bit, and then just hangs: http://www.media.ebaumsworld.com/endofworld.swf

The only error message is this:
ERROR: *** no tag loader for type 515 (movie)

There is a sound bug which makes the audio play to fast, but i have that fixed locally and will commit when i get a free moment. It doesn't change the bug described.

Tomas Groth <tgc>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bjacques (Updated the item)
  • -unavailable- added by bwy (Posted a comment)
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by tgc (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 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 04 Jan 2009 09:22:26 AM UTCbwyStatusReady For Test=>Fixed
      PrivacyPublic=>Public
      Open/ClosedOpen=>Closed
    Tue 02 Dec 2008 02:49:27 PM UTCbwyStatusConfirmed=>Ready For Test
    Tue 22 Jan 2008 04:40:30 PM UTCbjacquesAssigned toNone=>bjacques
    Tue 22 Jan 2008 04:40:29 PM UTCbjacquesCategorycore=>sound-gst
    Wed 09 Jan 2008 11:28:43 AM UTCstrkSeverity3 - Normal=>4 - Important
    Mon 17 Sep 2007 12:57:35 PM UTCtgcSummaryendofworld.swf makes gnash hang=>endofworld.swf sound play multiple times (WAS: makes gnash hang)
    Sat 12 May 2007 12:15:34 PM UTCmartinwguySummaryswf makes gnash hang=>endofworld.swf makes gnash hang
    Sat 12 May 2007 12:14:26 PM UTCmartinwguyStatusReady For Test=>Confirmed
    Tue 10 Apr 2007 05:14:50 PM UTCstrkStatusConfirmed=>Ready For Test
    Tue 10 Apr 2007 02:19:31 PM UTCstrkStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1