Bug 9874 - swfdec can't render swftools generated Flash files
Summary: swfdec can't render swftools generated Flash files
Status: RESOLVED FIXED
Alias: None
Product: swfdec
Classification: Unclassified
Component: library (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: swfdec ml
QA Contact: swfdec ml
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-04 08:30 UTC by Pablo Rodríguez
Modified: 2007-10-14 02:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
SWF file that segfaults swfplayer (4.34 KB, application/x-shockwave-flash)
2007-02-04 08:31 UTC, Pablo Rodríguez
Details
SWF file that swfplayer cannot render (26.93 KB, application/x-shockwave-flash)
2007-02-04 08:32 UTC, Pablo Rodríguez
Details

Description Pablo Rodríguez 2007-02-04 08:30:24 UTC
Macromedia Flash for Linux plays this files fine.

swfplayer gives the following error message when opening withoutsound.swf:

$ swfplayer withsound.swf 
starting flashparser
decoding...
New block
flashparser done
X Error of failed request:  BadImplementation (server does not implement operation)
  Major opcode of failed request:  129 (MIT-SHM)
  Minor opcode of failed request:  5 (X_ShmCreatePixmap)
  Serial number of failed request:  23
  Current serial number in output stream:  24
init mp3-decoder, size: 31978
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  62 (X_CopyArea)
  Resource id in failed request:  0x3e00005
  Serial number of failed request:  42
  Current serial number in output stream:  45

And segfaults with withoutsound.swf. Here is the backtrace:

(gdb) run withoutsound.swf 
Starting program: /usr/bin/swfplayer withoutsound.swf
Reading symbols from shared object read from target memory...(no debugging symbols found)...done.
Loaded system supplied DSO at 0xbfffe000
starting flashparser
decoding...

Program received signal SIGFPE, Arithmetic exception.
0xb7ea8bbd in FlashParse () from /usr/lib/libflash.so.0
(gdb) bt
#0  0xb7ea8bbd in FlashParse () from /usr/lib/libflash.so.0
#1  0x0804a1fb in ?? ()
#2  0xb7bb275c in __libc_start_main () from /lib/i686/libc.so.6
#3  0x08049261 in ?? ()

Just in case it helps, files were generated with swftools-0.7.0.

Congratulations for your excellent work,


Pablo
Comment 1 Pablo Rodríguez 2007-02-04 08:31:19 UTC
Created attachment 8591 [details]
SWF file that segfaults swfplayer
Comment 2 Pablo Rodríguez 2007-02-04 08:32:14 UTC
Created attachment 8592 [details]
SWF file that swfplayer cannot render
Comment 3 Eric Anholt 2007-02-14 13:15:12 UTC
flashplayer and libflash are not a part of swfdec.  However, swfdec also chokes on your files.
Comment 4 Benjamin Otte 2007-02-19 12:01:06 UTC
Current git does no longer crash when encountering the files. However, it still doesn't render them correctly.
Comment 5 Pablo Rodríguez 2007-06-19 23:02:32 UTC
I cannot program, but is there any way that I can help to improve swfdec support for swftools generated Flash files?
Comment 6 Stéphane Loeuillet 2007-10-13 04:45:16 UTC
With current git (post 0.5.3) :

withoutsound.swf => displays properly
withsound.swf crashes with the same bug as in bug #12793
Comment 7 Benjamin Otte 2007-10-14 02:47:38 UTC
Indeed, the files work (apart from Stephane's sound crash). I don't know what made them work, but I guess that doesn't matter. ;)


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.