Discuss Scratch

Chiroyce
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

Is this possible with just using these blocks on 300 clones —

change [colour v] effect by (25)
change size by (10)
change [mosaic v] effect by (25)

So we repeatedly (300 times) run these blocks on clones, it increases size from 1 - 300, mosaic effect from 0 - as much as possible, and colour effect from 0 - as much as possible. What I think this will do is, it will generate extremely small 300 SVG scratch cats, with a size of 1, mosaic of 0, then as it goes up, size changes by 1 and mosaic by 25, so it increases SIZE and MOSAIC effect, which will make a lot of other smaller SVG scratch cats, greater than 300, all in vector, changing their colour and spawning even more tiny little vector cats every frame, almost exponentially, with so much rasterization (GPU having to convert complex vector into a 960 x 720 bitmap) happening, can a device's GPU ultimately crash because of this?

Since a lot of devices become slow with some very basic vector animations, I think this exponential vector spawning can have some pretty huge effects.

Also this is just my curiosity — I do NOT plan on intentionally crashing others' devices.
dhuls
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

Unable to crash my computer. At best, Scratch 2.0 slowed to a crawl.
Chiroyce
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

dhuls wrote:

Unable to crash my computer. At best, Scratch 2.0 slowed to a crawl.
Use the Online editor!

Also what about this script?


I'm not responsible for it's after effects btw

Last edited by Chiroyce (Aug. 31, 2021 04:33:35)

PkmnQ
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

I've tried something similar with the scratch lab text extension, with my only goal being to crash scratch. Didn't work, although only size was involved, not color or mosaic.
Chiroyce
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

GPU Usage shot up like CRAZY on an M1 MacBook Air while running the above script



and then once it started lagging I stopped the project.

and no, it wasn't coincidence, it happened again

Last edited by Chiroyce (Aug. 31, 2021 10:18:01)

PkmnQ
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

Actually I just remembered that I have firsthand experience of a computer crashing from a scratch script. All it took was infinite custom block recursion on a not-very-powerful laptop.
gdpr5b78aa4361827f5c2a08d700
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

if it actually causes the computer to shut down/blue screen, or black screen (gpu), then something is wrong with the computer
LankyBox01
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

Somehow i got a bsod from this:
when green flag clicked
create clone of [ v]

when I start as a clone
create clone of [ v]

i think it's time to get a new computer lol
AmazingMech2418
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

Most browser-computer combinations have limits to prevent a tab crash from causing a full browser crash or a computer crash, so it's not likely, but it has happened on some older computers (like Windows 7) that I've used before! XD

LankyBox01 wrote:

Somehow i got a bsod from this:
when green flag clicked
create clone of [ v]

when I start as a clone
create clone of [ v]

i think it's time to get a new computer lol
There is a fix already available for this (made by me! XD) but the ST won't implement it until they have time to review it. LOL!
Venatus_123
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

it didnt work aaaa
but it lags a lot lol
Chiroyce
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

Venatus_123 wrote:

it didnt work aaaa
but it lags a lot lol
ok try this and wait until the project stops on it's own then
https://turbowarp.org/565179702/fullscreen
I'm not responsible for it's after effects btw
Venatus_123
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

Chiroyce wrote:

Venatus_123 wrote:

it didnt work aaaa
but it lags a lot lol
ok try this and wait until the project stops on it's own then
https://turbowarp.org/565179702/fullscreen
I'm not responsible for it's after effects btw
nope not crashed
Venatus_123
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

AAAAAAAA slow internet ™
Venatus_123
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

https://assets.scratch.mit.edu/get_image/.%2E/ba8016dfd217dedcc7ab3d7316c99b3a.mp4
proof

Last edited by Venatus_123 (Sept. 1, 2021 04:04:54)

Chiroyce
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

Venatus_123 wrote:

https://assets.scratch.mit.edu/get_image/.%2E/ba8016dfd217dedcc7ab3d7316c99b3a.mp4
proof
at the end when you moved your cursor over the “save to your computer” icon your cursor didn't change, probably because it lagged out a lot lol

see

also i think chrome has protection for this - so it lags it out until 1FPS so that your computer doesn't crash so that's good

Last edited by Chiroyce (Sept. 1, 2021 04:08:12)

Venatus_123
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

Chiroyce wrote:

Venatus_123 wrote:

https://assets.scratch.mit.edu/get_image/.%2E/ba8016dfd217dedcc7ab3d7316c99b3a.mp4
proof
at the end when you moved your cursor over the “save to your computer” icon your cursor didn't change, probably because it lagged out a lot lol

see

also i think chrome has protection for this - so it lags it out until 1FPS so that your computer doesn't crash so that's good
chiroyce is sus
jeehu
Scratcher
30 posts

Can a single scratch project crash an entire computer?

lag
Venatus_123
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

jeehu wrote:

lag
its funi because !false is true
kccuber
Scratcher
1000+ posts

Can a single scratch project crash an entire computer?

jeehu wrote:

lag
it's supposed to.
Ciyob86
Scratcher
500+ posts

Can a single scratch project crash an entire computer?

simply no

Powered by DjangoBB