< Back to IRCAM Forum

Bug gf example crashes max

Open the patch gf_1_Mouse2Audio.maxpat
Disable presentation mode and go in edit mode.
Click on the mubu object called “gf mygf” (it’s blue).
Open the inspector.
Click on another object (and maybe try to click on the colors in the Inspector):
Max crashes.

See attached crashlog.

{
“version” : “Beta Version 8.5.3 (28228fc7cb9) (x64 mac)”,
“platform” : “mac”,
“arch” : “x64”,
“osversion” : “Mac OS X Version 11.7.2 (Build 20G1020) x86_64”,
“samplerate” : 44100,
“iovs” : 128,
“sigvs” : 128,
“scheduler_in_audio_interrupt” : “on”,
“audio_drivername” : “Core Audio”,
“audio_driver_subname” : “”,
“license” : “permanent full”,
“machine_id” : “cd274cd9bcdc90cbddd6b99753891dac”,
“addons” : {
“rnbo_v1” : “term license”
}
,
“eventinterval” : 2,
“schedinterval” : 1.0,
“overdrive” : “on”,
“pollthrottle” : 40,
“queuethrottle” : 10,
“sysqelemthrottle” : 1000,
“refreshrate” : 33.333332061767578,
“schedslop” : 25.0,
“eventprobing” : 1,
“mixerparallel” : “on”,
“mixercrossfade” : 0,
“mixerlatency” : 30.0,
“mixerramptime” : 10.0,
“videoengine” : “viddll”,
“gfxengine” : “glcore”,
“packages” : {
“ACToolkit” : “0.9.8”,
“adsr221” : “0.0.3”,
“angus” : “”,
“Antescofo” : “”,
“AS-Sampler” : “0.0.1”,
“AudioMix” : “1.0.3”,
“bach” : “0.8.2”,
“BEAP” : “1.0.4”,
“BLOCKS” : “1.2.8”,
“boids_max” : “1.0.0”,
“cage” : “0.7.0”,
“catart-mubu-master” : “”,
“CidLink For Max” : “0.1.2”,
“CNMAT Externals” : “1.0.5”,
“CNMAT-ODOT-CPMA” : “”,
“Collab-Hub” : “0.3.4”,
“cv.jit” : “2.0.1”,
“dada” : “0.3.0”,
“Delicious Tutorials” : “1.0.2”,
“Dicy2 for Max” : “”,
“Digital Orchestra Toolbox” : “1.2.0”,
“EAMIR SDK” : “2.9.0”,
“ease” : “1.2.3”,
“ejies” : “3.2.5”,
“faustgen” : “”,
“FFT-Part 5” : “7.1.0”,
“filter” : “0.2.6”,
“FluidCorpusManipulation” : “1.0.5”,
“ForumMaxApps-Mlys” : “”,
“ForumMaxApps-OMax” : “”,
“ForumMaxApps-SoundBox” : “”,
“ForumMaxApps-Spat” : “”,
“ForumMaxApps-SuperVP” : “”,
“FrameLib” : “1.0.1”,
“FTM” : “2.7.5.BETA”,
“Gen CV Tools” : “1.0.1”,
“gen~ Plugin Export” : “2.1.0”,
“Gesture&Sound” : “2021-11”,
“gl3” : “0.3.3”,
“go” : “1.0.0”,
“Grainflow” : “1.0.0”,
“hap” : “1.0.6”,
“HISSTools Impulse Response Toolbox (HIRT)” : “2.1.0”,
“ICST Ambisonics” : “3.0.2”,
“ICST_ambisonics_2_3_2” : “”,
“imp.push” : “”,
“ISF” : “1.0.3”,
“Jamoma” : “1.0.1”,
“jasch objects” : “0.8.3”,
“jit.mo” : “1.1.6”,
“Jitter Recipes” : “0.1.4”,
“Jitter Tools” : “1.0.7”,
“jk.push 2” : “2.0.3”,
“karma” : “1.6.0”,
“LeapMotionForMax” : “”,
“link” : “1.5.5”,
“LowkeyNW” : “1.3.1”,
“mat.oo” : “1.0.1”,
“Max for the Visual Arts” : “2.55.3”,
“Max Hardware Library” : “1.0.1”,
“max-mxj” : “8.2.0”,
“Max-SDK” : “8.2.0”,
“maxforlive-elements” : “1.0.6”,
“MaxISiS_V1.2.8c” : “”,
“maxorch-main” : “”,
“MaxSoundBox” : “09-2022”,
“MC Movement Studies” : “1.0.2”,
“mi-gen” : “1.1.0”,
“min-api” : “”,
“min-devkit” : “0.6.0”,
“Mira” : “1.2.1”,
“Miraweb” : “1.2.7”,
“ml.lib” : “1.1.5”,
“ml.star” : “1.3.0”,
“Modalys” : “3.7.0”,
“MTS-ESP” : “1.0.0”,
“MuBu For Max” : “1.10.5”,
“MuBuExamples” : “03-2022”,
“Music-and-Computing” : “”,
“NajoModularInterface_2” : “”,
“Node for Max” : “2.0.4”,
“Nonlinear Sequencer” : “1.0.2”,
“odot” : “1.3.4”,
“OMax4.6” : “”,
“orchidea” : “0.7”,
“Patter Tools” : “1.0.1”,
“PeRColate” : “1.3.2”,
“petra” : “1.2.0”,
“PGS-1” : “0.0.6”,
“ppooll” : “”,
“RISE” : “1.0.4”,
“RNBO” : “1.1.0-dev.58”,
“RNBO Guitar Pedals” : “1.0.0”,
“RNBO Synth Building Blocks” : “1.1.2”,
“RTC-lib” : “8.3.0”,
“Sadam Library” : “20.3.7”,
“sampler” : “1.1.0”,
“Samplor” : “3.45.0”,
“sensel” : “0.5.2”,
“smFilterPack” : “0.0.3”,
“Somax-2.4.0” : “”,
“Sound Design Toolkit” : “3.0.0”,
“soundworks” : “”,
“spat5” : “5.2.9”,
“SuperVPForMax” : “2.18.5”,
“Syphon” : “1.0.9”,
“th.mcutilities~” : “1.0.0”,
“The QAC Toolkit” : “1.0.2”,
“TS.Modular” : “1.0.1”,
“Upshot” : “1.2.0”,
“VIDDLL” : “1.2.8”,
“Virtual Sound Macros” : “”,
“Vizzie” : “2.2.1”,
“VR” : “1.0.1”,
“Vsynth” : “1.4.0”,
“XRAY” : “1.0.2”,
“XY Coordinates Generator Pack” : “1.0.1”,
“zero” : “1.0.4”,
“zsa.descriptors” : “1.3.0”,
“µK Bundle” : “0.0.1”
}

}
Max_2023-01-24-001717_Arthurs-MacBook-Pro-Studio-2.crash (197.7 KB)

It also happens with the patch “gf_2_Mouse2Video.maxpat”. So it is a bug in gf.

Hi,
yes, opening the inspector on gf crashes Max, but only with the latest beta of Max 8.5.3. With Max 8.5.2 this doesn’t happen. The problem is that there is no trace of gf nor mubu in the crash log.
To find the attribute that causes the crash I have to remove one attribute at a time.
Thanks for the report!
Best

Should I report this to Cycling 74?

yes, maybe that’s a good idea, although it’s probably related to a gf problem. Max when it crashes in the debugger explicitly asks for it:

023-01-24 13:57:42.921590+0100 Max[12797:3890204] sysmem_ptrsize: seems like pointer 0x600001f3da80 has corrupted footer

2023-01-24 13:57:42.921647+0100 Max[12797:3890204] max: please forward crash log to support@cycling74.com

I’ve sent the information to Cycling’74

Best regards,

Arthur Sauer

This is the response I’ve got from Jeremy Bernstein:
I can reproduce. It looks like the ‘expectedspeed’ attribute is doing something weird with the atoms it’s returning from a ‘get’ (like returning atoms allocated on the stack inside of the function). If they want to send over the source code to gf, I can be more help.

Can you contact him?

Fixed! Yes indeed it was a bad atom returned by the getter.
Thanks for your help (and thanks also to Jeremy Bernstein for the quick reply)

Best
Riccardo

1 Like