Error when exiting app with -DNDEBUG but OK with -g
Steven Boswell II
ulatekh at yahoo.com
Mon May 20 21:09:15 UTC 2013
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 <hobbes1069 at gmail.com>
To: Steven Boswell II <ulatekh at yahoo.com>; Fedora MinGW (Windows cross-compiler) project <mingw at lists.fedoraproject.org>
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 <ulatekh at yahoo.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/mingw/attachments/20130520/b1728093/attachment.html>
More information about the mingw
mailing list