Skip to content

Conversation

@aboellinger
Copy link
Contributor

Problem

Every time NodeGraph is instanced, the QApplication would exit with a segfault
(causing a non zero return code, that it turns breaks my CI, which makes me sad 😿)

Solution

In NodeGraphQt/widgets/tab_search.py,
line_edit was both the parent and the central widget of searchWidget,
causing a circular reference in the objects parenting (resulting in a segfault).

Reparenting searchWidget under self fixes the issue.

`line_edit` was both the parent and the central widget of `searchWidget`,
causing a circular reference in the objects parenting (resulting in a segfault).
Copy link

@piiq piiq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I've tested this on the master branch and it worked out great. The nodes have loaded, the segfault is gone.

@jchanvfx jchanvfx merged commit 696be9f into jchanvfx:master Nov 17, 2020
@jchanvfx
Copy link
Owner

Awesome thanks guys 😸

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

Successfully merging this pull request may close these issues.

3 participants