Gem icon indicating copy to clipboard operation
Gem copied to clipboard

gemvertexbuffer crash pd when a gemwindows is created for the 2nd time

Open ch-nry opened this issue 1 year ago • 4 comments

Detail

open gemvertexbuffer help file create the gemwin, close the gemwin, create the gemwin again. pd crash with segmentation fault

Gem Version

current git

Pd Version

0.55.2

Operating System

Linux

OS Version

ubuntu mate

Which CPU are you using?

amd64/x86_64 ("64bit Intel")

ch-nry avatar Apr 09 '25 14:04 ch-nry

it only crash on nvidia GPU, not intel. here is a minimal patch and few explanation on how things crash

gemvertexbuffer-minimal.pd.zip

ch-nry avatar Apr 10 '25 09:04 ch-nry

it did not crash if a resize is send when the gemwin is closed

ch-nry avatar Apr 10 '25 09:04 ch-nry

gemvertexbuffer_deletion_bug.pd.zip On intel GPU, gemvertexbuffer create an error in Pd log when deleted (after having been initialized) : [gemglxwindow]: invalid enumerant [1280] I don't know if it's related or if it's an other bug

ch-nry avatar Apr 16 '25 14:04 ch-nry

also experiencing this crash from repeated gemwin creation on macOS arm64 on Pd0.55-2. tested with current Deken snapshot from 9d57ad8.

i was about to create a new issue here since i also experience crashes when deleting a gemvertexbuffer object, but then found this one here and the last comment.

this also crashes for me if i delete the [gemwin] object btw. and it does not crash if i [create, 1( the window before.

ben-wes avatar May 07 '25 22:05 ben-wes