Giter Club home page Giter Club logo

Comments (8)

spackard avatar spackard commented on July 28, 2024

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.

spackard avatar spackard commented on July 28, 2024

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.

milianw avatar milianw commented on July 28, 2024

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.

vkrause avatar vkrause commented on July 28, 2024

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.

vkrause avatar vkrause commented on July 28, 2024

Milian, is this fixed by your commit from yesterday?

from gammaray.

milianw avatar milianw commented on July 28, 2024

Quite possibly so. But I'd like to test it more thoroughly next week before I close this report.

Cheers

from gammaray.

milianw avatar milianw commented on July 28, 2024

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.

krf avatar krf commented on July 28, 2024

So I assume we can close this? Closing.

from gammaray.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.