sprintf crash here T_T

Liang's icon

the problem maybe in [p all_in_one] --- [sprintf] sub patch here..
why does the patch crash after sending a bang massage ?

or maybe this can be optimized ?

random here is just for test the continuous number to every inlet

n n ne e d help please, thanks !

Max Patch
Copy patch and select New From Clipboard in Max.

bkshepard's icon

Not sure what you've got in here, but just attempting to open your patch causes Max to crash for me.

Liang's icon

Thanks BKSHEPARD
oh, I m sorry about that ..

here's the snapshot,

I m trying to recieve 32 lists that send to strings, and after that to combine 32 strings in one message, and send it out when click one bang (or refresh by themselves ) , metro here going to 32 inlets is trying to simulate the coming list .

it can be opened in Max5, but crashed in my Max6

sprintf_01.png
png
all_in_one.png
png
p-string.png
png
Liang's icon

in Max 5 , pc & mac (runtime) runs well .
but crashed in Max 6 when sending bang message to main [sprintf %s%s(...lots %s)%sT100]

Rick's icon

I think 32 is one more list than Max6 sprintf can handle. Cascading one sprintf into another is one solution.

Cascade-sprintf.maxpat
Max Patch
Liang's icon

@RICK thanx so much and i ll check it again