-
Notifications
You must be signed in to change notification settings - Fork 6
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
Ayon menu crashing a lot #73
Comments
What external addons and scripts? Or better... Is this Houdini 20.5+? (Since it's in |
Just reporting some findings here: I don't have a fix, but it does seem like a SideFX Houdini Bug. Details
Potential workaround And here's a part of my bug report to SideFX: Steps to reproduceAfter launch of Houdini, run this: from PySide2.QtWidgets import QApplication
QApplication.instance() It's unfortunately hard to reproduce when it happens exactly. When it didn't crash - it seems that it'll continue to work for that session but whenever it crashes it's gone instantly. There's a brief moment Houdini Console shows a "SegmentationFault" message before it disappears. I can't seem to reproduce this easily from a Python Shell in Houdini, but I can OFTEN reproduce it from a custom houdini menu (.xml) file with a script item like: <scriptItem id="my_crash_debug">
<label>DEBUG</label>
<scriptCode><![CDATA[
from PySide2 import QtWidgets
QtWidgets.QApplication.instance()
]]> </scriptCode>
</scriptItem>
Best way to reproduce is launch Houdini 20 times with such a custom menu with that script item in there. Then on each of them directly after launch, go to the menu and click the button. Sometimes it crashes most of the times, then it seems rarely... then you retry it later and again 80 of the sessions crash. Hard to put a finger on. |
Together with SideFX support we may have found another workaround. When setting env var So, setting that env var in application environment settings should resolve the crahes. It's in For example see this line in the screenshot:
|
Colorbleed is awesome! |
Looks like it solved the issue for @krishnaavril! |
We could - but I'm still getting some crashes. Plus, from the tech community I've just received another "reproducable" that apparently can still make it crash with this environment variable set. So I'll be testing that soon and if it also crashes, follow up to SideFX for that. This is the reproducable that I got:
If that does crash for me. I'll also start testing whether setting And of course, will share the details with SideFX again. Anyway, it seems the environment variable |
Did you heard any response from the Sidefx team? @BigRoy |
Nothing new - so for now my best recommendation is use the Py3.10 build of Houdini because that is stable it seems. I've just now followed up on this to them and asked whether there's any news since beginning of last week. |
I've had steady updates from SideFX about this bug report - they've gone deep into trying to figure out what the solution is. The issue they are facing is that as soon as they make a debug build, the crash is gone. It only happens with the release builds. They've tried different internal builds of Houdini to see if any updates in PySide2 fixes it:
The issue hence seems Python 3.11 + PySide2 related (which officially had limited support as a combination anyway and only ever got an official release with PySide2 5.15.11 with Python 3.11 support - SideFX was using a custom build of their own of 5.15.2 to make it Py3.11 compatible). So - where does it leave us? They can go down the rabbit hole further with little to go on (due to not being able to attach a debugger to the crash) OR decide to move their efforts on the switch to Qt6 / PySide6 which is on their roadmap anyway. I've told them - moving on and focusing there is time likely better spent. That leaves us:
|
Is there an existing issue for this?
Current Behavior:
a client is using a lot of external addons and scripts and it seems something is colliding with Ayon menu,
There is no log provided, unfortunately.
Expected Behavior:
It should not error on collect and instead provide a nice validation report that the output node is not set or incorrectly configured (which I think may already be the case if the error on the collector itself is resolved.)
Version
1.0.0
What platform you are running on?
Windows
Steps To Reproduce:
..
Are there any labels you wish to add?
Relevant log output:
No response
Additional context:
No response
The text was updated successfully, but these errors were encountered: