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

Crash on shutdown (Linux and Mac) #4

Open
amesgames opened this issue Nov 5, 2018 · 2 comments
Open

Crash on shutdown (Linux and Mac) #4

amesgames opened this issue Nov 5, 2018 · 2 comments

Comments

@amesgames
Copy link

On Linux, when shutdown crash occurs, this text can be found in output:
Xlib: sequence lost (0x10675 > 0x67b) in reply type 0x23!
Xlib: sequence lost (0x11b93 > 0x1b95) in reply type 0x23!
Xlib: sequence lost (0x148f4 > 0x48fa) in reply type 0x23!
Segmentation fault (core dumped)

On Mac, it simply segfaults at shutdown.

@amesgames
Copy link
Author

amesgames commented Nov 5, 2018

Running offscreen sample under apitrace on Linux produces a backtrace on segfault. This might be helpful to anyone wanting this fixed:

~/projects/apitrace/build/apitrace trace --output app.trace ./qt3d-offlinerenderer
apitrace: loaded into ~/projects/Qt3D-OffscreenRenderer/qt3d-offlinerenderer
apitrace: tracing to app.trace
apitrace: warning: unknown function "glBlendBarrier"
apitrace: warning: unknown function "glPrimitiveBoundingBox"
apitrace: warning: unknown function "glDiscardFramebuffer"
apitrace: warning: hiding program binary formats (apitrace/apitrace#316)
Xlib: sequence lost (0x10622 > 0x627) in reply type 0x23!
Xlib: sequence lost (0x10772 > 0x777) in reply type 0x23!
Xlib: sequence lost (0x108f2 > 0x8f7) in reply type 0x23!
apitrace: warning: caught signal 11
apitrace: flushing trace
~/projects/apitrace/build/wrappers/glxtrace.so+0x1cdc2c
/lib/x86_64-linux-gnu/libc.so.6+0x3ef1f
~/projects/opt/qt5/lib/libQt5Core.so.5: _ZN6QMutex4lockEv+0x7
~/projects/opt/qt5/lib/libQt53DRender.so.5+0x1577fe
~/projects/opt/qt5/lib/libQt53DRender.so.5: _ZN10Qt3DRender6Render8Renderer17submitRenderViewsERK7QVectorIPNS0_10RenderViewEE+0x739
~/projects/opt/qt5/lib/libQt53DRender.so.5: _ZN10Qt3DRender6Render8Renderer8doRenderEb+0x4d4
~/projects/opt/qt5/lib/libQt53DRender.so.5: _ZN10Qt3DRender6Render8Renderer6renderEv+0x22
~/projects/opt/qt5/lib/libQt53DRender.so.5+0x8d9ec
~/projects/opt/qt5/lib/libQt5Core.so.5+0xb178e
/lib/x86_64-linux-gnu/libpthread.so.0+0x76da
/lib/x86_64-linux-gnu/libc.so.6: clone+0x3e
?
apitrace: info: taking default action for signal 11

@florianblume
Copy link
Owner

Thanks for your issue! I am aware of it but deemed it a Qt internal bug that's why I did not try to solve it.

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