[PD] openpanel crash

Hans-Christoph Steiner hans at at.or.at
Sat May 15 20:48:41 CEST 2010


Hmm, I am guessing its a 10.6 issue.  I tried your patch on 10.5.8  
using Pd-extended 0.42.5-2010-05-14 and no crash. Can you make a  
really simple patch that triggers the crash every time?

.hc

On May 9, 2010, at 11:48 AM, Alexandre Porres wrote:

> Sorry, same deal, in Pd Vanila as well.
>
> And I also have that other issue about table views, it doesn't stick  
> to belzer curve view, in all Pd versions. Do you all have that too?
>
> did you people try this patch on your machine to see how it goes?
>
> there is nothing wrong to it, and I still can manage to make it work  
> if first I create a patch just to hit a bang into an openpanel, so  
> it wont crash, and then, if next I open this patch and use it, it  
> doesn't crash anymore...
>
> cheers
>
> Em 7 de maio de 2010 19:23, Hans-Christoph Steiner <hans at at.or.at>  
> escreveu:
>
> Try a nightly build of Pd-extended 0.42.5
>
> .hc
>
> Alexandre Porres wrote:
> > hi there, I'm coming again with the same problem I brought up  
> sometime ago.
> > I'm experiencing some weird [openpanel] crashes, maybe is  
> something with the
> > new MAC OS Snow Leopard?
> >
> > anyway, I'm sending the patch attached as a text. Apparently, if I  
> create
> > first some other patch and use [openpanel] and nothing else, it  
> doesn't
> > crash, then I can open this patch so it works without crashing.
> >
> > it's crashing both in Pd Vanila 42.5 as in extended 41.4
> >
> > cheers
> >
> > alex
> >
> > --------------
> >
> >
> >
> > #N canvas 578 54 742 582 12;
> > #X obj 514 36 loadbang;
> > #X obj 122 230 bng 25 250 50 0 empty empty Escolher_Sample -45 -12
> > 2 20 -4032 -1 -1;
> > #X obj 156 273 nbx 6 19 0 100 0 0 empty sr Sample_Rate_em_KHz 1 -13
> > 1 15 -4034 -91543 -1 44.1 256;
> > #N canvas 302 166 923 479 sampler 0;
> > #X obj 163 -65 cnv 15 100 60 empty empty empty 20 12 0 14 -233017  
> -66577
> > 0;
> > #X obj 314 48 /;
> > #X obj 314 91 * 1000;
> > #X obj 170 -26 nbx 8 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10
> > -203904 -1 -1 528552 256;
> > #X obj 314 72 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10
> > -232576 -1 -1 11.9853 256;
> > #X obj 314 115 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10
> > -204786 -1 -1 11985.3 256;
> > #X text 372 67 N˙mero de Amostras dividido pelo Sample Rate do  
> Arquivo
> > d· o tamanho do arquivo em segundos;
> > #X obj 261 245 line~;
> > #X msg 261 222 0 \, \$1 \$2;
> > #X obj 261 162 float;
> > #X obj 170 96 metro;
> > #X obj 170 76 tgl 15 0 empty empty empty 0 -6 0 10 -155649 -262130
> > -1 1 1;
> > #X text 41 132 Sample Size;
> > #X text 32 96 sample em Miliseg;
> > #X text 13 78 Bangs a cada Loop do;
> > #X msg 170 47 1;
> > #X obj 169 -97 inlet;
> > #X obj 261 320 outlet~;
> > #X obj 313 -96 inlet;
> > #X obj 345 24 * 1000;
> > #X obj 261 188 pack 0 0;
> > #X obj 261 271 tabread4~ \$0-sampler;
> > #X obj 144 -94 bng 15 250 50 0 empty empty empty 0 -6 0 10 -262130
> > -1 -1;
> > #X text 413 24 Sample Rate do Arquivo (entrada È em Khz \, por isso
> > multiplicamos por 1000).;
> > #X text 327 188 Lista (N˙mero de Amostras do Sample e sua  
> duraÁ„o em
> > ms);
> > #X text 425 218 A cada Loop \, o line~ recebe duas mensagens. A  
> primeira
> > (Zero) leva o [line~] imediatamente ao zero. A segunda È uma lista
> > com N˙mero de amostras e tempo em Milisegundos. Com esses dados o  
> line~
> > gera um fluxo de n˙meros crescentes que serve de Ìndices para o  
> [tabread4~].
> > ;
> > #N canvas 0 22 450 300 (subpatch) 0;
> > #X coords 0 1 100 -1 615 95 1;
> > #X restore 242 212 graph;
> > #X obj 265 101 f;
> > #X obj 314 24 f;
> > #X obj 94 -96 inlet;
> > #X obj 313 -51 t b f;
> > #X obj 170 -3 trigger bang float;
> > #X obj 170 123 trigger b b;
> > #N canvas 54 51 867 383 openpanel 0;
> > #X obj 187 84 openpanel;
> > #X symbolatom 187 112 80 0 0 0 - - -;
> > #X obj 152 195 pack symbol symbol;
> > #X text 92 83 ABRE ARQUIVO;
> > #X text 72 169 de Arquivo e;
> > #X text 89 185 Tabela;
> > #X text 45 153 Cria lista com nome;
> > #X obj 275 172 symbol \$0-sampler;
> > #X text 330 229 Soundfile recebe a mensagem "Resize + (nome do  
> arquivo)
> > + (nome da tabela)" e joga o arquivo de som na tabela ao mesmo tempo
> > em que redimensiona a tabela para o tamanho do arquivo! O Outlet d·
> > o tamanho da tabela em n˙mero de amostras.;
> > #X obj 187 144 t symbol bang;
> > #X obj 188 51 inlet;
> > #X obj 152 283 soundfiler;
> > #X msg 152 258 read -resize \$1 \$2;
> > #X obj 152 312 outlet;
> > #X obj 165 52 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
> > -1;
> > #X connect 0 0 1 0;
> > #X connect 1 0 9 0;
> > #X connect 2 0 12 0;
> > #X connect 7 0 2 1;
> > #X connect 9 0 2 0;
> > #X connect 9 1 7 0;
> > #X connect 10 0 0 0;
> > #X connect 11 0 13 0;
> > #X connect 12 0 11 0;
> > #X connect 14 0 0 0;
> > #X restore 169 -56 pd openpanel;
> > #X obj 293 136 nbx 8 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10
> > -203904 -1 -1 528552 256;
> > #X text 371 111 Tamanho do Sample em ms (milisegundos);
> > #X connect 1 0 4 0;
> > #X connect 2 0 5 0;
> > #X connect 3 0 31 0;
> > #X connect 4 0 2 0;
> > #X connect 5 0 27 1;
> > #X connect 5 0 20 1;
> > #X connect 7 0 21 0;
> > #X connect 8 0 7 0;
> > #X connect 9 0 20 0;
> > #X connect 10 0 32 0;
> > #X connect 11 0 10 0;
> > #X connect 15 0 11 0;
> > #X connect 16 0 33 0;
> > #X connect 18 0 30 0;
> > #X connect 19 0 1 1;
> > #X connect 20 0 8 0;
> > #X connect 21 0 17 0;
> > #X connect 22 0 33 0;
> > #X connect 27 0 10 1;
> > #X connect 28 0 1 0;
> > #X connect 29 0 15 0;
> > #X connect 30 0 28 0;
> > #X connect 30 1 19 0;
> > #X connect 31 0 15 0;
> > #X connect 31 1 28 0;
> > #X connect 31 1 34 0;
> > #X connect 32 0 9 0;
> > #X connect 32 1 27 0;
> > #X connect 33 0 3 0;
> > #X connect 34 0 9 1;
> > #X restore 89 304 pd sampler;
> > #X obj 203 350 cnv 15 397 148 empty empty empty 20 12 0 14 -233017
> > -66577 0;
> > #N canvas 0 22 454 304 (subpatch) 0;
> > #X array \$0-sampler 528552 float 0;
> > #X coords 0 1 528551 -1 400 150 1;
> > #X restore 202 350 graph;
> > #X text 45 86 Esse patch È um sampler em loop \, mas tambÈm  
> podemos
> > mudar o pitch e o tempo do sample ao ajustar o sample rate do nosso
> > sampler. Um sample rate menor que o do aquivo o tocar· mais lento e
> > mais grave \, enquanto que um maior o toca mais r·pido e mais  
> agudo.
> > ;
> > #X obj 81 336 dac~;
> > #X obj 31 27 cnv 15 315 40 empty empty Sampler-Looper: 20 12 0 24  
> -262144
> > -66577 0;
> > #X obj 89 274 bng 15 250 50 0 empty empty empty 17 7 0 10 -204800 -1
> > -1;
> > #X text 59 253 restart;
> > #X msg 514 60 \; pd dsp 1 \; sr 44.1;
> > #X connect 0 0 11 0;
> > #X connect 1 0 3 1;
> > #X connect 2 0 3 2;
> > #X connect 3 0 7 0;
> > #X connect 3 0 7 1;
> > #X connect 9 0 3 0;
> >
> >
> >
> >  
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Pd-list at iem.at mailing list
> > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
>





----------------------------------------------------------------------------

Programs should be written for people to read, and only incidentally  
for machines to execute.
  - from Structure and Interpretation of Computer Programs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100515/d19c2356/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpanel_crash.pd
Type: application/octet-stream
Size: 4662 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100515/d19c2356/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100515/d19c2356/attachment-0001.htm>


More information about the Pd-list mailing list