This patch always crashes Pd on several machines (FC6 & Windows)
IOhannes m zmoelnig a écrit :
Romain Vuillet wrote:
When i use splitfile in this way, it crashes pd without prompting...
are you sure? your patch does not crash here ;-)
the patch you send me is just one of the standard ways to use [splitfilname]. (it really looks like a help-patch)
of course, [openpanel] might output a symbol that crashes [splitfilename], but it didn't do so with any random file i opened. this was exactly the reason why i asked for a crashpatch: have a _reliable_ and _reproducible_ way to trigger a crash. (not just sometimes).
in order to proceed could you please: find a file that always crashes pd when you select it with the openpanel in the patch you sent me. then make a patch like:
[bng] | [openpanel] | [set symbol $1( | [ ( | [splitfilename]
press bang and select the filename that crashes [splitfilename]. press "ok" in the openpanel-dialog. save the patch. verify that it crashes by clicking on the messagebox which shows the filename. send me the patch with the bad symbol.
mfg.adsr IOhannes
#N canvas 281 228 420 234 10; #X obj 45 82 splitfilename .; #X obj 45 63 symbol; #X symbolatom 45 122 30 0 0 0 - - -; #X symbolatom 145 104 10 0 0 0 - - -; #X text 257 122 filename; #X text 218 103 extension; #X msg 45 43 /home/romain/Desktop/aaa.wav; #X connect 0 0 2 0; #X connect 0 1 3 0; #X connect 1 0 0 0; #X connect 6 0 1 0;