kdevdesigner: prevent SEGV from invalid pointer. This relates to issue TDE/tqt3#97 #35
Merged
MicheleC
merged 1 commits from fix/prevent-segv
into master
5 months ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'fix/prevent-segv'
Deleting a branch is permanent. It CANNOT be undone. Continue?
@ormorph this is a similar fix for tdevelop. Can you also test this one?
f1c48d3238
to30ac86e18c
5 months agoThese changes are certainly necessary, but they do not solve the problem of creating the form. In this case, there is another error when creating the form.
Program received signal SIGSEGV, Segmentation fault.
I will add the full window crash output using gdb later. If you check the error directly in gdb, the output will be cleaner. For now, I’m posting the error log obtained directly using TDE.
However, we can still make these changes in kdevdesigner, they are also necessary.
The gdb error output from the source directory.
This still needs to be dealt with; a null pointer is also passed here.
Ok, I will merge this PR and link this to TDE/tdevelop#17, which is an issue for TDevelop crash (maybe the same?)
30ac86e18c
into master 5 months agoA failure occurs when attempting to create any form. It doesn't even get to the point of adding elements to the form. We still need to figure this out, it’s clear that null pointers are being added, but the reason itself still needs to be found.
Yes, but please report on issue #17 not here. This was a simple PR to implement the same fix done in TDE/tqt3#99. This PR is not meant to solve all crashes, so we should use issue #17 to track the problem, for better clarity.
Or if the problem is different from issue #17, then let's create a new issue for that :-)
Reviewers
30ac86e18c
.