bugGnash - The GNU Flash player - Bugs: bug #31849, SWF8 AVM1 Flash it's not working...

 
 

bug #31849: SWF8 AVM1 Flash it's not working with Gnash

Submitter:  -X- <maximi89>
Submitted:  Sat 11 Dec 2010 02:05:02 AM UTC
   
 
Category:  None Severity:  3 - Normal
Release:  master Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 11 Dec 2010 12:30:13 PM UTC, comment #4: 

The problem probably comes from the fact that character 34 itself is also called 'Id1', so there's both a textfield variable and a textfield with the same name. Gnash uses the variable, the pp uses the textfield.

We'd better check what happens in this case: if the textfield variable is created at all, for instance.

Benjamin Wolsey <bwy>
Group Member
Sat 11 Dec 2010 12:28:05 PM UTC, comment #3: 

The value 1 comes from _root.Id1. This is a textfield variable linked to character 34. The initial text is 1.

The XML.onLoad() method should assign a URL from the loaded XML to Id1.text.

Both Gnash and the pp call XML.onLoad().

For the pp the value of _root.Id1 is '_level0.Id1' before assignment, and the correct URL of a movie to load after assignment.

For Gnash, the value of _root.Id1 is '1' both before and after assignment.

Benjamin Wolsey <bwy>
Group Member
Sat 11 Dec 2010 12:07:38 PM UTC, comment #2: 

Those URLs (e.g. http://www.bmfbovespa.com.br/pt-br/img/1) don't exist, which is why Gnash isn't loading them.

This line shows that it's trying to load the URL "1", which is resolved against the base URL:

get url: target=_root.chama, url=1, method=40 (sendVars:0, loadTarget:1, loadVariable:0)

So the question is: is the (relative) url wrong, or is it resolved against the wrong base?

Benjamin Wolsey <bwy>
Group Member
Sat 11 Dec 2010 12:00:05 PM UTC, comment #1: 

I tested with a recent git version of gnash, and got this output:

% gnash -vvv http://www.bmfbovespa.com.br/pt-br/img/ControlBanners.swf
13857:1] 12:56:38 DEBUG: Verbose output turned on
13857:1] 12:56:38 DEBUG: Verbose output turned on
13857:1] 12:56:38 DEBUG: No rendering flags specified, using rcfile
13857:1] 12:56:38 DEBUG: Timer delay set to 50 milliseconds
13857:1] 12:56:38 DEBUG: Created top level window
13857:1] 12:56:38 DEBUG: gnash_canvas_size_allocate 266 1
13857:1] 12:56:38 DEBUG: Framebuffer pixel format is BGRA32 (little-endian host)
13857:1] 12:56:38 SECURITY: Checking security of URL 'http://www.bmfbovespa.com.br/pt-br/img/ControlBanners.swf'
13857:1] 12:56:38 SECURITY: Load from host www.bmfbovespa.com.br granted (default)
13857:1] 12:56:38 DEBUG: CurlStreamFile 0x95246d0 created
13857:1] 12:56:39 UNIMPLEMENTED: SWF8 is not fully supported, trying anyway but don't expect it to work
13857:1] 12:56:40 DEBUG: Movie http://www.bmfbovespa.com.br/pt-br/img/ControlBanners.swf (SWF8) added to library
13857:1] 12:56:40 DEBUG: Plugins path: /usr/lib/gnash/plugins
13857:1] 12:56:40 DEBUG: Empty SOLSafeDir directive: we'll use '/tmp'
13857:1] 12:56:40 SECURITY: Extensions disabled
13857:1] 12:56:40 DEBUG: Player Host FD #-1, Player Control FD #-1
13857:1] 12:56:40 DEBUG: Pausing virtual clock
13857:2] 12:56:40 UNIMPLEMENTED: FileAttributes tag in the SWF requests that network access is not granted to this movie (or application?) when loaded from the filesystem. Anyway Gnash won't care; use white/black listing in your .gnashrc instead
13857:2] 12:56:40 DEBUG: This SWF uses AVM1
13857:2] 12:56:40 UNIMPLEMENTED: DEFINESHAPE4 edge boundaries and scales
13857:2] 12:56:40 UNIMPLEMENTED: LanguageCode (1) in DefineFont tag
13857:2] 12:56:40 UNIMPLEMENTED: Bounds table in DefineFont2Tag
13857:2] 12:56:40 UNIMPLEMENTED: DefineFontAlignZoneTag
13857:2] 12:56:40 DEBUG: HTTP response 200 from url http://www.bmfbovespa.com.br/pt-br/img/ControlBanners.swf
13857:2] 12:56:40 UNIMPLEMENTED: CSMTextSettings
13857:1] 12:56:40 DEBUG: gnash_canvas_size_allocate 266 1
13857:1] 12:56:40 DEBUG: gnash_canvas_size_allocate 832 147
13857:1] 12:56:41 DEBUG: Loading native class MovieClip
13857:1] 12:56:41 DEBUG: Loading native class TextField
13857:1] 12:56:41 DEBUG: Loading native class AsBroadcaster
13857:1] 12:56:41 DEBUG: Loading native class Stage
13857:1] 12:56:41 DEBUG: Going to or from scaleMode=noScale. Viewport:832x147 Def:832x147
13857:1] 12:56:41 DEBUG: Loading native class XML
13857:1] 12:56:41 DEBUG: Loading native class XMLNode
13857:1] 12:56:41 SECURITY: Checking security of URL 'http://www.bmfbovespa.com.br/pt-br/Noticias/2010/xml/ControlBanners.xml'
13857:1] 12:56:41 SECURITY: Load from host www.bmfbovespa.com.br granted (default)
13857:1] 12:56:41 DEBUG: CurlStreamFile 0x95b8f10 created
13857:1] 12:56:41 DEBUG: Global instance list grew to 5 entries
13857:1] 12:56:41 DEBUG: Starting virtual clock
13857:1] 12:56:41 DEBUG: Advance interval timer set to 50 ms (~ 20 FPS)
13857:1] 12:56:41 DEBUG: gnash_canvas_size_allocate 832 174
13857:1] 12:56:41 DEBUG: HTML in a text field is unsupported, gnash will just ignore the tags and print their content
13857:1] 12:56:42 DEBUG: LoadableObject Loaded 3145 bytes, reaching 3145/8270
13857:1] 12:56:42 DEBUG: HTTP response 200 from url http://www.bmfbovespa.com.br/pt-br/Noticias/2010/xml/ControlBanners.xml
13857:1] 12:56:42 DEBUG: LoadableObject Loaded 5125 bytes, reaching 8270/8270
13857:1] 12:56:42 DEBUG: LoadableObject reached EOF (8270/8270 loaded)
13857:1] 12:56:42 DEBUG: get url: target=_root.chama, url=1, method=40 (sendVars:0, loadTarget:1, loadVariable:0)
13857:1] 12:56:42 DEBUG: getURL2 target load
13857:1] 12:56:42 DEBUG: MovieLoader::loadMovie(http://www.bmfbovespa.com.br/pt-br/img/1, _level0.chama)
13857:1] 12:56:42 DEBUG: CurlStreamFile 0x95b8f10 deleted
13857:3] 12:56:42 SECURITY: Checking security of URL 'http://www.bmfbovespa.com.br/pt-br/img/1'
13857:3] 12:56:42 SECURITY: Load from host www.bmfbovespa.com.br granted (default)
13857:3] 12:56:42 DEBUG: CurlStreamFile 0x95f6cd0 created
13857:1] 12:56:42 DEBUG: Loading native class Mouse
13857:3] 12:56:43 ERROR: unknown file type, buf is
13857:3] 12:56:43 ERROR: unknown file type (5)
13857:3] 12:56:43 DEBUG: CurlStreamFile 0x95f6cd0 deleted
13857:3] 12:56:43 ERROR: Couldn't load library movie 'http://www.bmfbovespa.com.br/pt-br/img/1'
13857:1] 12:56:43 DEBUG: get url: target=_root.chama, url=2, method=40 (sendVars:0, loadTarget:1, loadVariable:0)
13857:1] 12:56:43 DEBUG: getURL2 target load
13857:1] 12:56:43 DEBUG: MovieLoader::loadMovie(http://www.bmfbovespa.com.br/pt-br/img/2, _level0.chama)
13857:1] 12:56:43 DEBUG: loadMovie: waking up existing thread
13857:3] 12:56:43 SECURITY: Checking security of URL 'http://www.bmfbovespa.com.br/pt-br/img/2'
13857:3] 12:56:43 SECURITY: Load from host www.bmfbovespa.com.br granted (default)
13857:3] 12:56:43 DEBUG: CurlStreamFile 0x959f100 created
13857:3] 12:56:44 ERROR: unknown file type, buf is
13857:3] 12:56:44 ERROR: unknown file type (5)
13857:3] 12:56:44 DEBUG: CurlStreamFile 0x959f100 deleted
13857:3] 12:56:44 ERROR: Couldn't load library movie 'http://www.bmfbovespa.com.br/pt-br/img/2'
13857:1] 12:56:47 DEBUG: get url: target=_root.chama, url=3, method=40 (sendVars:0, loadTarget:1, loadVariable:0)
13857:1] 12:56:47 DEBUG: getURL2 target load
13857:1] 12:56:47 DEBUG: MovieLoader::loadMovie(http://www.bmfbovespa.com.br/pt-br/img/3, _level0.chama)
13857:1] 12:56:47 DEBUG: loadMovie: waking up existing thread
13857:3] 12:56:47 SECURITY: Checking security of URL 'http://www.bmfbovespa.com.br/pt-br/img/3'
13857:3] 12:56:47 SECURITY: Load from host www.bmfbovespa.com.br granted (default)
13857:3] 12:56:47 DEBUG: CurlStreamFile 0x959fca0 created
13857:3] 12:56:47 ERROR: unknown file type, buf is
13857:3] 12:56:47 ERROR: unknown file type (5)
13857:3] 12:56:47 DEBUG: CurlStreamFile 0x959fca0 deleted
13857:3] 12:56:47 ERROR: Couldn't load library movie 'http://www.bmfbovespa.com.br/pt-br/img/3'
13857:1] 12:56:49 DEBUG: void gnash::Gui::quit()
13857:1] 12:56:49 DEBUG: Main loop ended, cleaning up
13857:1] 12:56:49 DEBUG: waking up loader thread
13857:1] 12:56:49 DEBUG: MovieLoader notified, joining
13857:1] 12:56:49 DEBUG: MovieLoader joined
13857:1] 12:56:49 DEBUG: ~Player - _movieDef refcount: 2 (1 will be dropped now)
13857:1] 12:56:49 DEBUG: ~Gui - _movieDef refcount: 1
13857:1] 12:56:49 DEBUG: CurlStreamFile 0x95246d0 deleted
13857:1] 12:56:49 DEBUG: ~CurlSession
%

Perhaps the problem is the unknown formats?

Petter Reinholdtsen <pere>
Group Member
Sat 11 Dec 2010 02:05:02 AM UTC, original submission:  
-X- <maximi89>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #22178:  adobe2.png added by maximi89 (400KiB - image/png - Adobe flash player )

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bwy (Posted a comment)
  • -email is unavailable- added by pere (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-08-11 maximi89 Carbon-CopyRemoved 43424 -
    2010-12-11 maximi89 SummarySWF8 AVM1 it\'s not working with Gnash SWF8 AVM1 Flash it's not working with Gnash
    2010-12-11 maximi89 Attached File- Added adobe2.png, #22178

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code