Skip to content
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

ViewportGadget : Range check gadget ids received from IECoreGL::Selector #5707

Merged

Conversation

johnhaddon
Copy link
Member

I'm hoping this might shed some light on a crash reported on particular laptop hardware. The stack trace indicates that the crash occurs in gadgetsAtInternal(), and an out-of-range index seems like a likely candidate.

…ctor`

I'm hoping this might shed some light on a crash reported on particular laptop hardware. The stack trace indicates that the crash occurs in `gadgetsAtInternal()`, and an out-of-range index seems like a likely candidate.
@johnhaddon johnhaddon self-assigned this Mar 1, 2024
@johnhaddon
Copy link
Member Author

User reports that this does avoid the crash, but that selection is broken, which makes sense if we're getting the wrong ID values back from OpenGL. Worth merging I think, but obviously we now need to figure out why we're getting junk back from OpenGL. Might actually be a driver bug?

@danieldresser-ie
Copy link
Contributor

LGTM

@murraystevenson murraystevenson merged commit b312302 into GafferHQ:main Mar 5, 2024
5 checks passed
@johnhaddon johnhaddon deleted the viewportGadgetSanityChecks branch March 15, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants