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

reload button causes SEGV #202

Open
echarlie opened this issue Apr 20, 2021 · 3 comments
Open

reload button causes SEGV #202

echarlie opened this issue Apr 20, 2021 · 3 comments

Comments

@echarlie
Copy link
Contributor

echarlie commented Apr 20, 2021

==3590341==ERROR: AddressSanitizer: SEGV on unknown address 0x61e05f0004b4 (pc 0x7f9286e34cfd bp 0x7f926262a790 sp 0x7f926262a648 T39)
==3590341==The signal is caused by a READ memory access.
    #0 0x7f9286e34cfd in QOpenGLShaderProgram::setUniformValue(int, QMatrix4x4 const&) (/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x4d4cfd)
    #1 0x7f9289b95c2c in cwGLGridPlane::draw() /home/eric/programs/cavewhere/src/cwGLGridPlane.cpp:49
    #2 0x7f9289de4d6b in cwScene::paint() /home/eric/programs/cavewhere/src/cwScene.cpp:55
    #3 0x7f9289babb2e in cwGLViewer::paint(QPainter*) /home/eric/programs/cavewhere/src/cwGLViewer.cpp:72
    #4 0x7f9288906b8c in QSGDefaultPainterNode::paint() (/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5+0x1f4b8c)
    #5 0x7f928890799b in QSGDefaultPainterNode::update() (/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5+0x1f599b)
    #6 0x7f928897cc55 in QQuickPaintedItem::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) (/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5+0x26ac55)
    #7 0x7f928896ae67 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) (/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5+0x258e67)
    #8 0x7f928896b6fa in QQuickWindowPrivate::updateDirtyNodes() (/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5+0x2596fa)
    #9 0x7f928896cfdb in QQuickWindowPrivate::syncSceneGraph() (/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5+0x25afdb)
    #10 0x7f928890e4b6  (/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5+0x1fc4b6)
    #11 0x7f9288910366  (/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5+0x1fe366)
    #12 0x7f9288911036  (/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5+0x1ff036)
    #13 0x7f92877adb80  (/usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0xccb80)
    #14 0x7f9287315ea6 in start_thread (/usr/lib/x86_64-linux-gnu/libpthread.so.0+0x8ea6)
    #15 0x7f9287432dee in __clone (/usr/lib/x86_64-linux-gnu/libc.so.6+0xfddee)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x4d4cfd) in QOpenGLShaderProgram::setUniformValue(int, QMatrix4x4 const&)
Thread T39 (QSGRenderThread) created by T0 here:
    #0 0x7f928b1352a2 in __interceptor_pthread_create ../../../../src/libsanitizer/asan/asan_interceptors.cpp:214
    #1 0x7f92877ad64a in QThread::start(QThread::Priority) (/usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0xcc64a)

==3590341==ABORTING

This happens in 33ea090 and 3b8814c on debian 11 (bullseye, testing), built as described in #201

@vpicaver
Copy link
Contributor

Is this the Reload under the Debug menu? I should probably remove or hide this button since for development purposes to reload all the QML files. I haven't used it in a while and clearly it's broken.

@echarlie
Copy link
Contributor Author

yes. that's what it is. completely unclear what it is supposed to accomplish as a user, anyway

@vpicaver
Copy link
Contributor

vpicaver commented Apr 20, 2021 via email

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

2 participants