<div dir="ltr">Try binary debugging with comments! Start commenting out chunks of code and see if you can get it to stop happening. Then start cutting back on commented out components. Maybe start with all your audio code?<div><br></div><div>Good luck!<br><div><br></div><div>mc</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 27, 2015 at 12:31 PM, Gonzalo <span dir="ltr">&lt;<a href="mailto:gonzalo@dense13.com" target="_blank">gonzalo@dense13.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On a project I&#39;m working on, I sometimes get a &quot;Segmentation fault: 11&quot; error, and the program crashes. But I can&#39;t figure out when it happens, and cannot reproduce it. It&#39;s a big project, with many components communicating via events, and I have no idea who&#39;s triggering the problem. My question is how would you go about debugging this? Any ideas what can be triggering it? It sounds very generic...<br>
<br>
Probably unrelated, but just in case, I also got this (only once so far):<br>
<br>
chuck(22226,0x7fff790ee310) malloc: *** error for object 0x1028f3408: incorrect checksum for freed object - object was probably modified after being freed.<br>
*** set a breakpoint in malloc_error_break to debug<br>
Abort trap: 6<br>
<br>
Thanks!<span class="HOEnZb"><font color="#888888"><br>
Gonzalo<br>
______________________________<u></u>_________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.<u></u>princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.<u></u>edu/mailman/listinfo/chuck-<u></u>users</a><br>
</font></span></blockquote></div><br></div>