Comments (8)
This looks like an issue in Qt itself. I was able to create a small test program that trips the same assert. I filed a bug on qt-project: https://bugreports.qt-project.org/browse/QTBUG-32501
from gammaray.
Follow up, the folks at qt-project say that setting properties on objects outside of the thread the object lives in is undefined behavior, so the assert is not a bug but works as designed. timertop_plugin should check the timer's thread affinity before trying to set properties on the timers, and if the thread affinity is different from the current thread, either you don't set the property, or come up with a way to do it on the thread the object lives in.
from gammaray.
Yep, the timertop plugin is known to be crashy when it comes to multithreaded applications. How to figure that one out in a proper way is left to be seen.
from gammaray.
Indeed, known issue. The property is used to store internal information of the plugin, a mutex-protected map with the timer pointer as key should allow the same, and fix this.
from gammaray.
Milian, is this fixed by your commit from yesterday?
from gammaray.
Quite possibly so. But I'd like to test it more thoroughly next week before I close this report.
Cheers
from gammaray.
I just tested this on KDevelop, which is heavily multithreaded and reliably crashed GammaRay before. Now it stayed stable so I think we can assume this to be fixed.
Note though that timers in non-main-thread are excluded now. Something for the future.
from gammaray.
So I assume we can close this? Closing.
from gammaray.
Related Issues (20)
- Building gammay with custom qt build HOT 3
- GammaRay app crashes on exit
- Crash when item toggled visibility
- Compilation fails against Qt dev branch HOT 2
- New release? HOT 2
- Build failure when Qt is built with opengles HOT 5
- Help tools are misdetected on recent Qt version HOT 5
- Crash when opening popup in a debugged app HOT 4
- Crash when selecting specific item in Quick Scene view
- Static builds without QT_CONFIG(library) HOT 1
- Should GAMMARAY_BUILD_UI be turned off by default in probe only builds?
- Object/Widget inspector Search Bar doesn't Select anything in Large Applications HOT 3
- Wrong logic when looking for Qt HOT 12
- GammaRayConfig.cmake always looks for Qt5 HOT 2
- gammaray.qhc not found HOT 2
- Crash while inspecting plasma-systemmonitor HOT 5
- "Possibly dangling reference" warning building clienttoolmodel.cpp HOT 3
- Crash when scrolling through xdg-desktop-portal-kde Application Chooser
- Crash in probe
- QSG_VISUALIZE overdraw not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gammaray.