enaml
enaml copied to clipboard
Repeatable segfault in ToolBar example on OS X/PySide
You can get a segfault reliably by running examples/widgets/tool_bar.enaml, selecting one of the exclusive toolbar buttons and then closing the window.
Looking at the stack trace, it would appear that the toolbar destructor is attempting to reference a Python object which has already been garbage collected.
This may be a PySide issue.
My stance on this is going to be, if it works in PyQt but segfaults in PySide, it's a PySide issue until there is evidence otherwise. I really don't have the time to fix or workaround PySide issues, so I have to leave that to the community.
As an additional data point, this probably the same issue that occurs when you select a checkable menu item and close the window. That also reliably segfaults on PySide.
Have you tested under PyQt - I haven't because I don't currently have PyQt installed on my machine.
If this is a PySide issue, I agree that it's not Enaml's responsibility.
None of the examples have issues on PyQt. On Jul 5, 2013 12:08 PM, "Corran Webster" [email protected] wrote:
Have you tested under PyQt - I haven't because I don't currently have PyQt installed on my machine.
If this is a PySide issue, I agree that it's not Enaml's responsibility.
— Reply to this email directly or view it on GitHubhttps://github.com/nucleic/enaml/issues/31#issuecomment-20534448 .
To be more specific, all of the examples were developed and tested on pyqt and worked fine when they were written. I know of know changes that would have effected that.
I'll test to confirm when I'm back at my machine. On Jul 5, 2013 12:38 PM, "Chris Colbert" [email protected] wrote:
None of the examples have issues on PyQt. On Jul 5, 2013 12:08 PM, "Corran Webster" [email protected] wrote:
Have you tested under PyQt - I haven't because I don't currently have PyQt installed on my machine.
If this is a PySide issue, I agree that it's not Enaml's responsibility.
— Reply to this email directly or view it on GitHubhttps://github.com/nucleic/enaml/issues/31#issuecomment-20534448 .
Just tested this on PyQt on OSX. It works fine, so seems to be a PySide issue.
should I close this as a PySide issue?
closing as a PySide issue