-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
Bug fix for segfault iss #1795 #1847
base: master
Are you sure you want to change the base?
Conversation
For the test there is a thing where I believe due to memory layout issues the segfault is inconsistent. I could only get it to reliably detect the segfault by repeating the test multiple times. Currently I set that to 5 since that almost always catches the bug in my testing, but we might want to change that or install some kind of other memory validation. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1847 +/- ##
=======================================
Coverage 95.68% 95.68%
=======================================
Files 125 125
Lines 9885 9889 +4
=======================================
+ Hits 9458 9462 +4
Misses 427 427 ☔ View full report in Codecov by Sentry. |
not really sure why the last two tests are failing, any advice would be appreciated. |
Thats fine, memory issues are like that :) |
Not sure about the static analysis error, it seems unrelated. |
VTK v9.2.6: Probably due to an already fixed bug in VTK, just not add the test with VTK 9.2.6 in the CMake logic static_analysis: I dont get why this would be wrong and definitely not caused by ytour changes , is your branch based on master ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice fix! the main change looks good, small changes needed.
The static analysis error is unrelated but it looks valid, the real question is why is it showing up only now?
f3d/library/src/interactor_impl.cxx Lines 1041 to 1053 in 27d1e8a
|
Good point, moving this discussion to: #1848 |
(my bad, I did not intend to do that) |
Anyway, static_analysis CI is fixed in master @hant-hub |
This fixes a UI related segfault due to a stale observer reference in VTK. This was first found in issue #1795 where a python application segfaults if you delete and recreate the f3d engine.