Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible memory leak in Qt's QScroller #363

Open
RudolfCardinal opened this issue Jun 26, 2024 · 0 comments
Open

Possible memory leak in Qt's QScroller #363

RudolfCardinal opened this issue Jun 26, 2024 · 0 comments

Comments

@RudolfCardinal
Copy link
Collaborator

Running CamCOPS with memory leak debugging (sudo apt install valgrind, then the "Memcheck" option from the Qt Creator menu) shows multiple instances of e.g.

16 bytes in 1 blocks are definitely lost in loss record <x> of <n> ... uifunc.cpp:559:0
32 bytes in 2 blocks are definitely lost in loss record <y> of <n> ... uifunc.cpp:559:0

This line is in the function void applyScrollGestures(QWidget* widget), and is

QScroller::grabGesture(widget, gesture_type);  // will ungrab any other

This is a known Qt bug:

Our action therefore likely to be: wait for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant