Giter VIP home page Giter VIP logo

Comments (1)

kjarosh avatar kjarosh commented on June 3, 2024 1

Errors start with:

ERROR  Error decompressing SWF: corrupt deflate stream log.target = "swf::read";
log.module_path = "swf::read";
log.file = "swf/src/read.rs";
log.line = 115; [core.ruffle.e74796a9f7eaa248cb19.js:1:12418](https://www.getgames.io/scripts/ruffle/core.ruffle.e74796a9f7eaa248cb19.js)
ERROR core/src/tag_utils.rs:499 Error running definition tag: DefineShape2, got Couldn't read SWF: failed to fill whole buffer [core.ruffle.e74796a9f7eaa248cb19.js:1:12418](https://www.getgames.io/scripts/ruffle/core.ruffle.e74796a9f7eaa248cb19.js)
ERROR core/src/tag_utils.rs:499 Error running definition tag: DefineEditText, got Couldn't read SWF: failed to fill whole buffer 2 [core.ruffle.e74796a9f7eaa248cb19.js:1:12418](https://www.getgames.io/scripts/ruffle/core.ruffle.e74796a9f7eaa248cb19.js)
ERROR core/src/tag_utils.rs:499 Error running definition tag: DefineBitsJpeg4, got Couldn't read SWF: failed to fill whole buffer [core.ruffle.e74796a9f7eaa248cb19.js:1:12418](https://www.getgames.io/scripts/ruffle/core.ruffle.e74796a9f7eaa248cb19.js)
ERROR core/src/tag_utils.rs:499 Error running definition tag: DefineButton2, got Couldn't read SWF: failed to fill whole buffer
[...]

On desktop it panics:

2024-04-08T08:18:47.914783Z ERROR swf::read: Error decompressing SWF: corrupt deflate stream    
2024-04-08T08:18:47.914821Z  WARN swf::read: SWF length doesn't match header, may be corrupt    
2024-04-08T08:18:47.916221Z  INFO ruffle_core::context: Loaded SWF version 15, resolution 800x600 @ 30 FPS
thread 'main' panicked at core/src/display_object/movie_clip.rs:1348:31:
attempt to subtract with overflow
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: ruffle_core::display_object::movie_clip::MovieClip::loaded_bytes
             at ./core/src/display_object/movie_clip.rs:1348:31
   4: ruffle_core::player::Player::preload::{{closure}}
             at ./core/src/player.rs:1567:45
   5: ruffle_core::player::Player::mutate_with_update_context::{{closure}}
             at ./core/src/player.rs:1938:23
   6: gc_arena::arena::Arena<R>::mutate
             at ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gc-arena-0.5.0/src/arena.rs:170:13
   7: ruffle_core::player::Player::mutate_with_update_context
             at ./core/src/player.rs:1851:9
   8: ruffle_core::player::Player::preload
             at ./core/src/player.rs:1559:9
   9: ruffle_core::player::Player::run_frame
             at ./core/src/player.rs:1618:32
  10: ruffle_core::player::Player::tick
             at ./core/src/player.rs:433:17
[...]

It seems that the SWF is malformed, but Flash manages to recover from it. FFDec also reports a bunch of errors.

from ruffle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.