You really need to learn how to use gdb. ;-)
The next logical step is to type "where", which will give you a call stack.
________________________________
From: Richard Shaw <[email protected]>
To: Steven Boswell II <[email protected]>; Fedora MinGW (Windows
cross-compiler) project <[email protected]>
Sent: Monday, May 20, 2013 1:40 PM
Subject: Re: Error when exiting app with -DNDEBUG but OK with -g
On Mon, May 20, 2013 at 3:05 PM, Steven Boswell II <[email protected]> wrote:
In my experience, if you run your program with gdb, and type "break abort"
before you type "run", gdb will catch the problem.
Thanks for the tip!
Here's the output:
This GDB was configured as "i686-pc-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\Program Files\FreeDV\bin\freedv.exe...done.
(gdb) break abort
Breakpoint 1 at 0x882118
(gdb) run
Starting program: C:\Program Files\FreeDV\bin\freedv.exe
[New Thread 6452.0x4fc]
warning: BTMMHOOK 20.05.2013 15:37:35 Thread<04FC> Hook DLL loaded
[New Thread 6452.0x78c]
[New Thread 6452.0x1a00]
[New Thread 6452.0xf94]
[New Thread 6452.0x1ac8]
[New Thread 6452.0x1acc]
[New Thread 6452.0x1a60]
[New Thread 6452.0x1d9c]
[New Thread 6452.0x1b84]
[New Thread 6452.0x102c]
[New Thread 6452.0x1420]
Breakpoint 1, 0x6e124bf0 in abort ()
from C:\Program Files\FreeDV\bin\libsox-2.dll
(gdb)
Is it safe to assume that the problem lies in sox somewhere?
Thanks,
Richard
_______________________________________________
mingw mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/mingw