-
Notifications
You must be signed in to change notification settings - Fork 188
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
SIGSEGV when changing state property on QML object #84
Comments
This was quickly covered in the mailing list, and I can reproduce the crash. Will have a look after I'm done with the current task. |
Hi niemeyer,
|
Sorry for being slow on this, Sounthar. As you may be following through the list, I've been pushing the GL APIs in the last couple of weeks. I'll stop and look at your case soon. Please do let me know if you find any other issues meanwhile. |
So, this is a strange crash. The logic being done by the qml package is not even touching on anything related to the qml file, and the crash happens deep inside Qt itself:
|
The traceback above was obtained with the stock package from Ubuntu 14.04, Qt 5.2.1. I have tried to reproduce the problem with a local debug build of Qt 5.2.0 and failed. The example worked fine. I'm now doing a debug build of the upstream Qt 5.2.1 to see if it is reproducible. |
A few more data points: running the reproducer under the debug build of Update: I misbuilt 5.2.1.. missed the update of the submodules, which means I built 5.2.0 again. |
So, the debug build of 5.2.0 works fine, but the debug build of 5.2.1 crashes. That's a good lead. Will spend some more time on this next week. |
Okay, found the problem. It's indeed a bug in Qt, for which I provided a detailed report upstream: Now let's see how to workaround it so we're not touching the problem. |
hi Gustavo, Thanks for your effort to find the issue. lets hope for the best . On Tue, Sep 9, 2014 at 10:10 AM, Gustavo Niemeyer notifications@github.com
|
I will workaround the issue locally in the qml package no matter what, as the upstream fix will not be around for quite some time, even if it lands. |
i have created qml file with qt creator and it works very well when i run with QtCreator.But it does not run when i use the same qml file with Go.
i am getting error like this :
SIGSEGV: segmentation violation
PC=0xb65dc472
signal arrived during cgo execution
Its crashing while i move one rectangle to another rectangle's position. Most of the tutorials are working well even gopher example is working well.
i attached you an example. its working well. But if i use rect1.x and rect1.y instead of 50 & 160 its crashing. So the problem is here.
working case :
The text was updated successfully, but these errors were encountered: