themaister / parallel-rdp-standalone Goto Github PK
View Code? Open in Web Editor NEWA standalone, distilled codebase of parallel-rdp. Autogenerated.
License: MIT License
A standalone, distilled codebase of parallel-rdp. Autogenerated.
License: MIT License
There seems to be a potential race condition during shutdown on devices that don't support all the correct vulkan extensions, like some Android devices.
Mainly I'm getting this stack trace sometimes:
Crashed: Thread: SIGABRT 0x0000000000000000
#00 pc 0x2216c libc.so
#01 pc 0x22140 libc.so
#02 pc 0x919e8 libc.so
#03 pc 0x91050 libc.so
#04 pc 0x90ecc libc.so
#05 pc 0x4546d4 libmupen64plus-video-parallel.so (<name omitted> [__threading_support:367])
#06 pc 0x4069b4 libmupen64plus-video-parallel.so (RDP::Renderer::maintain_queues_idle() [__mutex_base:91])
#07 pc 0x3fdabc libmupen64plus-video-parallel.so (RDP::CommandProcessor::enqueue_command_direct(unsigned int, unsigned int const*) [rdp_device.cpp:939])
#08 pc 0x3fa5dc libmupen64plus-video-parallel.so (RDP::CommandRing::thread_loop() [command_ring.cpp:126])
#09 pc 0x3fad84 libmupen64plus-video-parallel.so (void* std::__ndk1::__thread_proxy<std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, void (RDP::CommandRing::*)(), RDP::CommandRing*> >(void*) [thread:273])
#10 pc 0x90328 libc.so
#11 pc 0x23a28 libc.so
I would take the line numbers with a grain of salt since these are stack traces coming out of optimized builds. Some of the stack is also missing due to the build being optimized. Anyways, an invalid mutex seems to be getting locked during shutdown. It almost seems like the thread is still running after the Renderer
object is destroyed.
@Themaister I noticed that vulkan/wsi_timing.cpp is still here, even though it was removed from Granite. I'm not sure if there are other cases of leftover files.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.