Putting a reporter block in another block then reloading workspace causes crash
See original GitHub issueExpected Behavior
It should be safe to make copies of my mathematicses.
Actual Behavior
If you nest a reporter inside of another reporter (e.g. using operator blocks), then duplicate it, and switch to the costumes tab and back, it crashes with Shadow block cannot be a top-level block.
Steps to Reproduce
- Drag out a
+
block and nest another+
block inside it - Duplicate it
- Switch to costumes tab and back
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Delay, freeze, or crash, when inserting a block or drawing in ...
When trying to insert a drawing or block into a drawing in AutoCAD, the program shows a delay, freezes, or crashes.
Read more >Simulink model crashing when including to workspace block
I have a simulink model which stops running when I have a to workspace block. The to workspace block is set to a...
Read more >Start or stop automatically reporting errors & crashes - Computer
Start or stop automatically reporting errors & crashes. Allowing Chrome to send us automatic reports helps us prioritize what to fix and improve...
Read more >Known Exploited Vulnerabilities Catalog | CISA
A successful exploit could allow the attacker to immediately crash the IGMP process or cause memory exhaustion, resulting in other processes becoming ...
Read more >Applied Biosystems 7900HT Fast Real-Time PCR System
Fluids and other contaminants that adhere to the bottom of the plate can contaminate the sample block and cause an abnormally high background...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/LLK/scratch-blocks/blob/698af3fcbb5e18a0e32cc2ead7713b77e20c809b/core/xml.js#L467
@rachel-fenichel, you’re right. The VM is definitely doing something weird with shadow blocks. The XML that’s being emitted for a
move (x position) steps
stack has two shadow blocks, one in the right place (consistent with the XML for the same stack in the vertical playground) and one shadow block at the same level as the move steps block… I will file a separate issue for this…