Bug 13855

Summary: Assertion failure at the end of a movie
Product: swfdec Reporter: Lubos Dolezel <lubos>
Component: libraryAssignee: swfdec ml <swfdec>
Status: RESOLVED DUPLICATE QA Contact: swfdec ml <swfdec>
Severity: major    
Priority: medium CC: riccardo.magliocchetti
Version: 0.5.5   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
URL: http://www.csfd.cz/film/224182-ja-legenda-i-am-legend/trailer/
Whiteboard:
i915 platform: i915 features:

Description Lubos Dolezel 2007-12-29 07:10:41 UTC
When I play a trailer on www.csfd.cz (try one here: http://www.csfd.cz/film/224182-ja-legenda-i-am-legend/trailer/ ) and the playback gets to the end of the clip, swfdec crashes with an assertion failure:

Swfdec-ERROR **: file swfdec_net_stream.c: line 199 (swfdec_net_stream_update_playing): assertion failed: (stream->audio == NULL)
aborting...

(By the way, the progress bar also doesn't work correctly.)
Comment 1 Riccardo Magliocchetti 2007-12-30 12:26:20 UTC
Playing the first and second trailer in that page i get some of these:

SWFDEC: ERROR: swfdec_codec_gst.c(392): swfdec_audio_decoder_set_caps: resetting format not allowed
SWFDEC: ERROR: swfdec_codec_gst.c(299): swfdec_gst_decoder_push: error -4 pushing data

and then a libmad deadlock
Comment 2 Riccardo Magliocchetti 2008-01-02 12:51:36 UTC
Reproduced with the third one:

SWFDEC: WARN : swfdec_net_stream.c(591): swfdec_net_stream_seek: FIXME: restarting audio after seek

Swfdec-ERROR **: file swfdec_net_stream.c: line 199 (swfdec_net_stream_update_playing): assertion failed: (stream->audio == NULL)
aborting...

Program received signal SIGABRT, Aborted.
0xb71fdea6 in raise () from /lib/libc.so.6
(gdb) bt full
#0  0xb71fdea6 in raise () from /lib/libc.so.6
No symbol table info available.
#1  0xb71ff7b1 in abort () from /lib/libc.so.6
No symbol table info available.
#2  0xb748ef09 in g_logv () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0xb748ef39 in g_log () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4  0xb748efb0 in g_assert_warning () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5  0xb0c39921 in swfdec_net_stream_update_playing (stream=0xb0c876fb)
    at swfdec_net_stream.c:199
	player = (SwfdecPlayer *) 0xa24e058
	__PRETTY_FUNCTION__ = "swfdec_net_stream_update_playing"
#6  0xb0c39c27 in swfdec_net_stream_video_goto (stream=0xad170b8, 
    timestamp=123040) at swfdec_net_stream.c:136
	buffer = (SwfdecBuffer *) 0x0
	format = 2
	old = <value optimized out>
	process_events_from = 122999
	__PRETTY_FUNCTION__ = "swfdec_net_stream_video_goto"
#7  0xb0c3a853 in swfdec_net_stream_timeout (timeout=0xad17114)
    at swfdec_net_stream.c:166
---Type <return> to continue, or q <return> to quit---
	stream = (SwfdecNetStream *) 0xad170b8
	__PRETTY_FUNCTION__ = "swfdec_net_stream_timeout"
#8  0xb0c42ccb in swfdec_player_do_advance (player=0xa24e058, msecs=36, 
    audio_samples=44) at swfdec_player.c:1384
	priv = (SwfdecPlayerPrivate *) 0xa24e0e8
	timeout = (SwfdecTimeout *) 0xad17114
	target_time = 52528363776
	frames_now = 1544
	__PRETTY_FUNCTION__ = "swfdec_player_do_advance"
#9  0xb0c7264d in swfdec_marshal_VOID__ULONG_UINT (closure=0x96df148, 
    return_value=0x0, n_param_values=3, param_values=0xbfc68784, 
    invocation_hint=0xbfc6868c, marshal_data=0xb0c42a50)
    at swfdec_marshal.c:285
	data1 = (gpointer) 0xa24e058
	data2 = <value optimized out>
	__PRETTY_FUNCTION__ = "swfdec_marshal_VOID__ULONG_UINT"
Comment 3 Riccardo Magliocchetti 2008-01-27 04:05:47 UTC
The stack trace is the same as the one i get from bug 13739, closing this since the other one is assigned.

*** This bug has been marked as a duplicate of bug 13739 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.