Public bug reported:
When running Unity with nux (version 4.0.8+18.10.20180623-0ubuntu12 from
Ubuntu Resolute), it crashes inside of libnux-graphics-4.0.so.
After doing a bit of digging, it seems to be caused by
NuxGraphics/IOpenGLFrameBufferObject.cpp not resizing the
texture_attachement_array_ and surface_attachment_array_ to the proper
sizes after clearing them. I'll attach a basic patch I wrote that fixes
it.
I was building the Unity desktop with gcc 16.1.1 and other newer
compilers, so this might just be related to that, I'm not sure.
Additionally, I used AI to help me find the bug and do the array sizing,
so the code might not be perfect. But after testing it myself, the crash
went away.
** Affects: nux (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "crashpatch.patch"
https://bugs.launchpad.net/bugs/2160298/+attachment/5981010/+files/crashpatch.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2160298
Title:
IOpenGLFrameBufferObject crashes Unity due to array handling
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nux/+bug/2160298/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs