[PD] Strange PD crash with ASIO ...

oliver oliver at klingt.org
Mon Jan 31 01:03:12 CET 2022


Hi, dear list !

Just stumbled across a (probably serious) issue with new PD 0.52

Here's the scenario, on Windows 7 / PD 0.52.1 /64bit:


1.) ASIO with multichannel soundcard (ESI GIGAPort HD)
2.) blocksize 512 / delay 6 (clear sound with "test audio & midi")
3.) a patch (with dsp on) that uses either [env~] or [avg~] or 
[sigmund~] or any signal to float/list conversion process
4.) those floats are converted back again to signals
5.) cutting/deleting any of the "signal->float" connections or 
numberboxes crashes PD


I attached a simple (rather dumb) patch to demonstrate the principle

The crash reliably happens when i disconnect any number box attached to 
[env~]. also changing [env~]'s window size doesn't help

This crash doesn't happen when i use PD 0.51 instead !


As i wrote in the subject, this crash happens ONLY with ASIO as the 
audio driver (also true for "ASIO4ALL"), but not with the MMIO driver.

could you dear windows PD users please test the attached patch and 
verify/falsify my observation ?

best

oliver


-- 
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
/////////////// http://pendler.klingt.org //////////////
\\\\\\\\\\\\\\\ http://oliver.klingt.org  \\\\\\\\\\\\\\
////////////////////////////////////////////////////////
-------------- next part --------------
#N canvas 875 197 484 412 10;
#X obj 43 349 *~;
#X obj 71 333 line~;
#X obj 74 268 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 #fcfcfc
#000000 #000000 0 1;
#X obj 71 288 pow 2;
#X obj 71 222 loadbang;
#X floatatom 114 304 5 0 0 0 - - - 0;
#X msg 71 311 \$1 50;
#X floatatom 201 211 5 0 0 0 - - - 0;
#X obj 251 239 dbtorms;
#X obj 42 371 dac~ 1;
#X msg 71 243 0.2;
#X floatatom 251 260 5 0 0 0 - - - 0;
#X obj 204 82 loadbang;
#X msg 204 103 \; pd dsp 1;
#X obj 321 378 dac~ 2;
#X obj 42 143 osc~;
#X obj 42 121 +~;
#X obj 90 83 osc~;
#X obj 90 59 +~ 100;
#X obj 89 12 osc~ 0.1;
#X obj 89 33 *~ 50;
#X obj 90 106 *~ 100;
#X obj 26 84 sig~ 300;
#X obj 42 171 *~;
#X obj 95 155 pow~ 2;
#X obj 95 134 phasor~ -1;
#X obj 323 310 noise~;
#X obj 322 333 *~;
#X obj 322 356 *~ 0.02;
#X obj 201 187 env~;
#X text 201 154 try to delete the number box connected to [env~],
f 24;
#X text 207 12 TEST THIS WITH ASIO DRIVER !!!, f 16;
#X floatatom 350 212 5 0 0 0 - - - 0;
#X obj 396 243 dbtorms;
#X floatatom 396 264 5 0 0 0 - - - 0;
#X obj 251 281 spigot 1;
#X obj 396 289 spigot 0;
#X floatatom 396 310 5 0 0 0 - - - 0;
#X floatatom 251 306 5 0 0 0 - - - 0;
#X obj 354 241 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000
#000000 0 1;
#X obj 313 281 == 0;
#X obj 350 186 env~ 1024;
#X connect 0 0 9 0;
#X connect 1 0 0 1;
#X connect 2 0 3 0;
#X connect 3 0 6 0;
#X connect 3 0 5 0;
#X connect 4 0 10 0;
#X connect 6 0 1 0;
#X connect 8 0 11 0;
#X connect 10 0 2 0;
#X connect 11 0 35 0;
#X connect 12 0 13 0;
#X connect 15 0 23 0;
#X connect 16 0 15 0;
#X connect 17 0 21 0;
#X connect 18 0 17 0;
#X connect 19 0 20 0;
#X connect 20 0 18 0;
#X connect 21 0 16 1;
#X connect 22 0 16 0;
#X connect 23 0 0 0;
#X connect 23 0 29 0;
#X connect 23 0 41 0;
#X connect 24 0 23 1;
#X connect 25 0 24 0;
#X connect 26 0 27 0;
#X connect 27 0 28 0;
#X connect 28 0 14 0;
#X connect 29 0 7 0;
#X connect 29 0 8 0;
#X connect 33 0 34 0;
#X connect 34 0 36 0;
#X connect 35 0 27 1;
#X connect 35 0 38 0;
#X connect 36 0 27 1;
#X connect 36 0 37 0;
#X connect 39 0 36 1;
#X connect 39 0 40 0;
#X connect 40 0 35 1;
#X connect 41 0 33 0;
#X connect 41 0 32 0;


More information about the Pd-list mailing list