Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
Qt Creator 3.0.0-beta
-
Debian wheezy 64bit, with radeon graphics driver. Qt version: 5.2.0-beta1
Description
In certain cases, when opening the profiler directly from the welcome screen (which doesn't make much sense but can happen if you misclick) qtcreator crashes with the following backtrace:
(gdb) bt #0 0x00007fff9520bd00 in llvm::Instruction::eraseFromParent() () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #1 0x00007fff9503ca4c in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #2 0x00007fff9503e35c in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #3 0x00007fff9522f93f in llvm::FPPassManager::runOnFunction(llvm::Function&) () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #4 0x00007fff9522fa0b in llvm::FunctionPassManagerImpl::run(llvm::Function&) () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #5 0x00007fff9522fae6 in llvm::FunctionPassManager::run(llvm::Function&) () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #6 0x00007fff951d16c9 in LLVMRunFunctionPassManager () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #7 0x00007fff94a4478e in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #8 0x00007fff94a453a2 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #9 0x00007fff94a42f30 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #10 0x00007fff94a35661 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #11 0x00007fff94aef7cb in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #12 0x00007fff94ae8230 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #13 0x00007fff94ae856c in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so #14 0x00007fffe4019d61 in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () from /home/ulf/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5 #15 0x00007fffe401b665 in QSGBatchRenderer::Renderer::renderBatches() () from /home/ulf/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5 #16 0x00007fffe402081a in QSGBatchRenderer::Renderer::render() () from /home/ulf/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5 #17 0x00007fffe402a0d9 in QSGRenderer::renderScene(QSGBindable const&) () from /home/ulf/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5 #18 0x00007fffe402a1f7 in QSGRenderer::renderScene() () from /home/ulf/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5 #19 0x00007fffe40370e4 in QSGRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () from /home/ulf/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5 #20 0x00007fffe4071aaa in QQuickWindowPrivate::renderSceneGraph(QSize const&) () from /home/ulf/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5 #21 0x00007fffe4051f9b in ?? () from /home/ulf/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5 #22 0x00007fffe4052728 in ?? () from /home/ulf/Qt5.2.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../../libQt5Quick.so.5 #23 0x00007ffff6350008 in ?? () from /home/ulf/Qt5.2.0/Tools/QtCreator/bin/../lib/qtcreator/libQt5Core.so.5 #24 0x00007ffff60a0b50 in start_thread (arg=<optimized out>) at pthread_create.c:304 #25 0x00007ffff58cda7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #26 0x0000000000000000 in ?? ()
The backtrace is not very verbose as I haven't been able to reproduce the effect with a debug build, yet, nor was I able to figure out the exact environment parameters necessary to trigger it. In my current test case it's 100% reproducible, though.
Attachments
For Gerrit Dashboard: QTCREATORBUG-10666 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
71760,2 | Enforce window rendering in sequence on llvmpipe. | release | qt/qtdeclarative | Status: MERGED | +2 | 0 |