Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1169

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176
8000 avm2: Ensure that we don't skip running queued frame scripts by Aaron1011 · Pull Request #10062 · ruffle-rs/ruffle · GitHub
Nothing Special   »   [go: up one dir, main page]

Skip to content

Conversation

Aaron1011
Copy link
Member

Previously, running enter_frame twice without calling run_frame_scripts would cause us to skip running framescripts queued by the first enter_frame call. We now panic if this occurs.

Adding in this check caught a bug in Loader, which wasn't skipping the first 'enterFrame' call for the constructed MovieClip (this gets treated in the same way as constructing a MovieClip from ActionScript and adding it to the stage).

@MartySVK
Copy link
Contributor

In Jacksmith I can pull the chain, but I am getting:

panicked at 'Queued script frame 32 was not run for (MovieClip { ptr: 0x1e8d4b4a890 } "instance4983" 5877) - now at frame 33', core\src\display_object\movie_clip.rs:1516:17

@Aaron1011
Copy link
Member Author

@MartySVK This PR is detecting the bug that's causing the pour issue - it will be resolved by a separate PR.

@Aaron1011 Aaron1011 force-pushed the framescript-check-final branch from ec898f3 to 04d71f6 Compare March 14, 2023 23:37
@SN902
Copy link
SN902 commented Mar 15, 2023

Quick Test:

retro-unicorn-attack.zip: thread 'main' panicked at 'Queued script frame 42 was not run for (MovieClip { ptr: 0x25d7a93e030 } "instance110" 119) - now at frame 43', core\src\display_object\movie_clip.rs:1516:17

dash_fly_by_futzi01-d9flryk.zip: thread 'main' panicked at 'Queued script frame 54 was not run for (MovieClip { ptr: 0x2a51f14fa90 } "instance337" 79) - now at frame 55', core\src\display_object\movie_clip.rs:1516:17

PixelShy Battle Clouds.zip thread 'main' panicked at 'Queued script frame 2 was not run for (MovieClip { ptr: 0x174cd52b390 } "instance1274" 937) - now at frame 3', core\src\display_object\movie_clip.rs:1516:17

Simulator 1 Starlight Glimmer.zip thread 'main' panicked at 'Queued script frame 10 was not run for (MovieClip { ptr: 0x24d12af3530 } "instance713" 628) - now at frame 11', core\src\display_object\movie_clip.rs:1516:17

bloons-tower-defense-5.zip thread 'main' panicked at 'Queued script frame 1 was not run for (MovieClip { ptr: 0x224503d1630 } "checkBox_mc" 5291) - now at frame 2', core\src\display_object\movie_clip.rs:1516:17

433935_mpnew202c.zip thread 'main' panicked at 'Queued script frame 1 was not run for (MovieClip { ptr: 0x234e83f6700 } "contenedor" 782) - now at frame 2', core\src\display_object\movie_clip.rs:1516:17

madness_combat_defense.zip thread 'main' panicked at 'Queued script frame 3 was not run for (MovieClip { ptr: 0x17e2b9ff0a0 } "instance86" 36) - now at frame 4', core\src\display_object\movie_clip.rs:1516:17

https://ufile.io/8hwv0jjn EFB4.swf (File Size: 34.3 MB) thread 'main' panicked at 'Queued script frame 16 was not run for (MovieClip { ptr: 0x1b0febbbe70 } "instance805" 138) - now at frame 17', core\src\display_object\movie_clip.rs:1516:17

NSFW stuff: thread 'main' panicked at 'Queued script frame 41 was not run for (MovieClip { ptr: 0x1ef7dcde970 } "instance79" 90) - now at frame 42', core\src\display_object\movie_clip.rs:1516:17
NSFW stuff 2: thread 'main' panicked at 'Queued script frame 1 was not run for (MovieClip { ptr: 0x2e7a584e440 } "instance117" 72) - now at frame 2', core\src\display_object\movie_clip.rs:1516:17
NSFW stuff 3: thread 'main' panicked at 'Queued script frame 87 was not run for (MovieClip { ptr: 0x2115213d210 } "instance227" 55) - now at frame 88', core\src\display_object\movie_clip.rs:1516:17

@Aaron1011 Aaron1011 force-pushed the framescript-check-final branch from 04d71f6 to 4faa5e7 Compare March 15, 2023 01:07
@Aaron1011
Copy link
Member Author

We'll probably want to merge #10066 first, to avoid panicking in SWFs exposing the current incorrect behavior.

@n0samu
Copy link
Member
n0samu commented Mar 15, 2023

Is there a reason to outright panic though? I thought we generally wanted to avoid adding more panics.

@Aaron1011
Copy link
Member Author

This should never happen, and can least to strange issues later on in the SWF.

@Aaron1011 Aaron1011 force-pushed the framescript-check-final branch from 4faa5e7 to 2a9e926 Compare March 15, 2023 06:39
@Aaron1011
Copy link
Member Author

This is still crashing in jacksmith - I need to investigate further.

@Aaron1011 Aaron1011 force-pushed the framescript-check-final branch from 2a9e926 to 3934a02 Compare March 15, 2023 06:51
@Aaron1011 Aaron1011 force-pushed the framescript-check-final branch from 3934a02 to 014ddfa Compare April 1, 2023 08:02
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a Dictionary?

Previously, running `enter_frame` twice without calling
`run_frame_scripts` would cause us to skip running framescripts
queued by the first `enter_frame` call. We now panic if this occurs.

Adding in this check caught a bug in Loader, which wasn't skipping
the first 'enterFrame' call for the constructed MovieClip
(this gets treated in the same way as constructing a MovieClip
from ActionScript and adding it to the stage).
@Aaron1011 Aaron1011 force-pushed the framescript-check-final branch from 014ddfa to 2ddefdd Compare May 28, 2023 23:39
@Lord-McSweeney Lord-McSweeney added the waiting-on-author Waiting on the PR author to make the requested changes label Jun 1, 2023
@danielhjacobs danielhjacobs added A-avm2 Area: AVM2 (ActionScript 3) T-fix Type: Bug fix (in something that's supposed to work already) labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-avm2 Area: AVM2 (ActionScript 3) T-fix Type: Bug fix (in something that's supposed to work already) waiting-on-author Waiting on the PR author to make the requested changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

0