<div dir="ltr"><div>Hi all,</div><div><br></div><div>I'm working on a patch for batch analysis using timbreID and it "sometimes"  crashes. I say sometimes, because every one or two attempts it does what it's supposed to do, but it's unpredictable.</div><div><br></div><div>I'm on OSX el capitan,10.11.6, and I'm using timbreID from deken. The same crash occurs with pd compiled from git, and with pd-0.48-2.mac.tar.gz</div><div><br></div><div>Any hints would be useful :)</div><div><br></div><div>Thanks,<br></div><div><br></div><div>Fede</div><div><br></div><div>I attach the patch. The lldb output is as follows:</div><div><br></div><div>(lldb) target create "/Users/federicocamarahalac/Downloads/Pd-0.48-2.app/Contents/Resources/bin/pd"<br>Current executable set to '/Users/federicocamarahalac/Downloads/Pd-0.48-2.app/Contents/Resources/bin/pd' (x86_64).<br>(lldb) settings set -- target.run-args  "atid.pd"<br>(lldb) process launch<br>Process 87868 launched: '/Users/federicocamarahalac/Downloads/Pd-0.48-2.app/Contents/Resources/bin/pd' (x86_64)<br>Cannot connect to server socket err = No such file or directory<br>Cannot connect to server request channel<br>jack server is not running or cannot be started<br>JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock<br>JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock<br>input channels = 2, output channels = 12<br>Pd-0.48.2 ("") compiled 19:06:28 Aug 12 2018<br>port 5400<br>"/Users/federicocamarahalac/Downloads/Pd-0.48-2.app/Contents/Resources/../MacOS/Pd" 5400<br>Waiting for connection request... <br>... connected<br>pd(87868,0x7fff75750000) malloc: *** error for object 0x100439648: incorrect checksum for freed object - object was probably modified after being freed.<br>*** set a breakpoint in malloc_error_break to debug<br>Pt_Start() called<br>Process 87868 stopped<br>* thread #1: tid = 0x44e72e, 0x00007fff96095f06 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT<br>    frame #0: 0x00007fff96095f06 libsystem_kernel.dylib`__pthread_kill + 10<br>libsystem_kernel.dylib`__pthread_kill:<br>->  0x7fff96095f06 <+10>: jae    0x7fff96095f10            ; <+20><br>    0x7fff96095f08 <+12>: movq   %rax, %rdi<br>    0x7fff96095f0b <+15>: jmp    0x7fff960907cd            ; cerror_nocancel<br>    0x7fff96095f10 <+20>: retq  <br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>