Open malachi2000 opened 3 years ago
I tried to see if this bug was reproducible on nightly 1c249200.
Instead of the one above, I got a very different panic before anything drew on the screen:
thread 'main' panicked at 'Error in Queue::write_texture: copy of 0..2304 would end up overruning the bounds of the Source buffer of size 1536'
It is really hard to track down, but it seems like there is something weird when the source buffer is built.
This is the section of the wgpu renderer where it seem to originate:
The texture itself is 24x24, which at 16bpp is 1536 bytes. I don't know where 2304 comes from.
If it helps, the debug label is "JPEG2", even though it doesn't seem to be compressed.
Full backtrace (which I think is misleading, but just in case):
Error Info
Error name: Error Error message: panicked at 'assertion failed:
(left == right)
left:true
, right:false
: cannot recursively acquire mutex', /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/sys/wasm/../unsupported/mutex.rs:23:9 Error stack:Player Info
Allows script access: false
Page Info
Page URL: https://gamcore.com/games/school_girls_1_a_new_job SWF URL: https://fgn.cdn.serverable.com/common/flashes/ff/s/school_girls_1_a_new_job.swf?d=20191106065912
Browser Info
Useragent: Mozilla/5.0 (Linux; Android 10; 5007Z) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36 OS: Linux armv7l
Ruffle Info
Version: 0.1.0 Name: nightly 2021-02-14 Channel: nightly Built: 2021-02-14T00:19:03.523Z Commit: ecd873eb39c141f9bf2e41454c7a47d5f7e9507c