[PD] Mysterious bug with [text]

IOhannes m zmölnig zmoelnig at iem.at
Sun Mar 6 20:52:59 CET 2016


On 03/06/2016 08:21 PM, IOhannes m zmölnig wrote:
> On 03/04/2016 11:22 AM, Christof Ressi wrote:
>> > So you're probably right with your guess about memory corruption
> actually, valgrind already proved that this was not a guess.

and with the help of valgrind it was also very easy to spot the actual
problem: a pointer was not updated after calling binbuf_resize().

attached is a one-liner fix for the problem.

gfmards
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-sure-that-vec-is-up-to-date.patch
Type: text/x-patch
Size: 835 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160306/b38c1762/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160306/b38c1762/attachment.sig>


More information about the Pd-list mailing list