[PD] incorrect checksum for freed object - object was probably modified after being freed.

Federico Camara Halac camarafede at gmail.com
Mon Aug 20 17:28:48 CEST 2018


Hi all,

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.

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

Any hints would be useful :)

Thanks,

Fede

I attach the patch. The lldb output is as follows:

(lldb) target create
"/Users/federicocamarahalac/Downloads/Pd-0.48-2.app/Contents/Resources/bin/pd"
Current executable set to
'/Users/federicocamarahalac/Downloads/Pd-0.48-2.app/Contents/Resources/bin/pd'
(x86_64).
(lldb) settings set -- target.run-args  "atid.pd"
(lldb) process launch
Process 87868 launched:
'/Users/federicocamarahalac/Downloads/Pd-0.48-2.app/Contents/Resources/bin/pd'
(x86_64)
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping
unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping
unlock
input channels = 2, output channels = 12
Pd-0.48.2 ("") compiled 19:06:28 Aug 12 2018
port 5400
"/Users/federicocamarahalac/Downloads/Pd-0.48-2.app/Contents/Resources/../MacOS/Pd"
5400
Waiting for connection request...
... connected
pd(87868,0x7fff75750000) malloc: *** error for object 0x100439648:
incorrect checksum for freed object - object was probably modified after
being freed.
*** set a breakpoint in malloc_error_break to debug
Pt_Start() called
Process 87868 stopped
* thread #1: tid = 0x44e72e, 0x00007fff96095f06
libsystem_kernel.dylib`__pthread_kill + 10, queue =
'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00007fff96095f06 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
->  0x7fff96095f06 <+10>: jae    0x7fff96095f10            ; <+20>
    0x7fff96095f08 <+12>: movq   %rax, %rdi
    0x7fff96095f0b <+15>: jmp    0x7fff960907cd            ; cerror_nocancel
    0x7fff96095f10 <+20>: retq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180820/8834fad3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atid.zip
Type: application/zip
Size: 3920 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180820/8834fad3/attachment.zip>


More information about the Pd-list mailing list