<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">You really need to learn how to use gdb. ;-)<br><br>The next logical step is to type "where", which will give you a call stack.<br><div><span><br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Richard Shaw &lt;hobbes1069@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Steven Boswell II &lt;ulatekh@yahoo.com&gt;; Fedora MinGW (Windows cross-compiler) project &lt;mingw@lists.fedoraproject.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, May 20, 2013 1:40 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Error
 when exiting app with -DNDEBUG but OK with -g<br> </font> </div> <div class="y_msg_container"><br>
<div id="yiv1428193039"><div dir="ltr">On Mon, May 20, 2013 at 3:05 PM, Steven Boswell II <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:ulatekh@yahoo.com" target="_blank" href="mailto:ulatekh@yahoo.com">ulatekh@yahoo.com</a>&gt;</span> wrote:<br><div class="yiv1428193039gmail_extra"><div class="yiv1428193039gmail_quote">
<blockquote class="yiv1428193039gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex;"><div><div style="font-size:12pt;">
<div><span>In my experience, if you run your program with gdb, and type "break abort" before you type "run", gdb will catch the problem.</span></div></div></div></blockquote><div><br></div><div style="">Thanks for the tip!</div>
<div style=""><br></div><div style="">Here's the output:</div><div>This GDB was configured as "i686-pc-mingw32".</div><div>For bug reporting instructions, please see:</div><div>&lt;<a rel="nofollow" target="_blank" href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>&gt;...</div>
<div>Reading symbols from C:\Program Files\FreeDV\bin\freedv.exe...done.</div><div>(gdb) break abort</div><div>Breakpoint 1 at 0x882118</div><div>(gdb) run</div><div>Starting program: C:\Program Files\FreeDV\bin\freedv.exe</div>
<div>[New Thread 6452.0x4fc]</div><div>warning: BTMMHOOK 20.05.2013 15:37:35 Thread&lt;04FC&gt; Hook DLL loaded</div><div><br></div><div>[New Thread 6452.0x78c]</div><div>[New Thread 6452.0x1a00]</div><div>[New Thread 6452.0xf94]</div>
<div>[New Thread 6452.0x1ac8]</div><div>[New Thread 6452.0x1acc]</div><div>[New Thread 6452.0x1a60]</div><div>[New Thread 6452.0x1d9c]</div><div>[New Thread 6452.0x1b84]</div><div>[New Thread 6452.0x102c]</div><div>[New Thread 6452.0x1420]</div>
<div><br></div><div>Breakpoint 1, 0x6e124bf0 in abort ()</div><div>&nbsp; &nbsp;from C:\Program Files\FreeDV\bin\libsox-2.dll</div><div style="">(gdb)&nbsp;</div><div style=""><br></div><div style="">Is it safe to assume that the problem lies in sox somewhere?</div>
<div style=""><br></div><div style="">Thanks,</div><div style="">Richard</div></div></div></div>
</div><br><br></div> </div> </div>  </div></body></html>