umlaeute / Gem

Graphics Environment for Multimedia (official repository)
https://gem.iem.at
Other
103 stars 30 forks source link

Pd crashes on gemwin creation with shaders and vstplugin~ #452

Open ben-wes opened 1 month ago

ben-wes commented 1 month ago

Detail

this might be a bit of an exotic crash. took me a bit to find that these things seem to be related. simple way to reproduce here:

  1. start Pd (it won't crash if there was already a gemwin created before - which is currently also my workaround)
  2. open shader example like 10.glsl/05.multitexture.pd
  3. add [vstplugin~ MultiEncoder] to patch (i tested a few of the IEM plugins, not sure if it crashes with all of them and with other plugins ... it certainly does not crash if no plugin is loaded)
  4. click "rendering" checkbox to create gemwin
  5. boom

Gem Version

0.94.git v0.94-1027-gc095cba90

Pd Version

0.55-1

Operating System

macOS

OS Version

macOS 15.0.1 (24A348)

Which CPU are you using?

arm64

umlaeute commented 2 weeks ago

so it's not crashing with non-shader Gem patches?

ben-wes commented 2 weeks ago

so it's not crashing with non-shader Gem patches?

i should have checked that earlier, sorry! for whatever reason, i assumed that it must have worked in the past for me before i started using those shader objects. but it actually doesn't.

it also crashes with the simplest example 01.basics/01.redSquare.pd if i add a vstplugin~ MultiEncoder before creating the gemwin.

another possibly relevant find now is that it does not crash if i only create vstplugin~ without loading a plugin.