[Swfdec] segmentation fault when no decoder found

Riccardo Magliocchetti riccardo at datahost.it
Fri Nov 9 12:30:59 PST 2007


Hi,

to reproduce play the main movie on this page http://www.mymovies.it/trailer/?id=46437

SWFDEC: ERROR: swfdec_resource_request.c(66): swfdec_player_request_resource_now: not allowing access to http://trailer.mymovies.it/filmclub/2007/07/113/trailer.flv
SWFDEC: WARN : swfdec_movie_asprops.c(241): mc_width_set: trying to set width to a non-finite value, ignoring
SWFDEC: ERROR: swfdec_loader.c(333): swfdec_loader_error: error in loader 0xb58db40: Network error
Loading stream: http://www.mymovies.it/video/logo.png
SWFDEC: ERROR: swfdec_resource.c(247): swfdec_resource_loader_target_parse: no decoder found

Program received signal SIGSEGV, Segmentation fault.
---Type <return> to continue, or q <return> to quit---bt
[Switching to Thread 0xb71a2920 (LWP 31559)]
0xb2e79d8f in swfdec_movie_get_version (movie=0xaea2608) at swfdec_movie.c:366
366       return SWFDEC_SWF_DECODER (movie->resource->decoder)->version;

Attached a quick patch that fix the issue for me.

Sorry for not posting to bugzilla, i'm having troubles with http://bugs.freedesktop.org/.

Cheers,
Riccardo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-segfault-with-no-decoder-found.diff
Type: text/x-diff
Size: 510 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/swfdec/attachments/20071109/2e76e1b6/attachment-0001.diff 


More information about the Swfdec mailing list