On Tue, May 21, 2013 at 10:30 PM, Richard Shaw <[email protected]> wrote:
> Here's the analysis from a guy on the Fedora mingw mailing list
While testing the integration of my hamlib related changes, I did a
build with cmake. I noticed that on exit, it will produce the
following assertion:
freedv: effects_i_dsp.c:118: clear_fft_cache: Assertion `fft_len >= 0' failed.
Which is the same error you are seeing. This suggests that it's a
property of the cmake build, not just mingw or windows. I cannot
reproduce it with the makefile build.
The full backtrace is below. The destructor is being called twice,
which I suspect is causing the issue. At a guess the teardown code in
the wx app is doing something wrong.
Cheers,
Joel
--
#0 0x00007ffff4ab9037 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff4abc698 in __GI_abort () at abort.c:90
#2 0x00007ffff4ab1e03 in __assert_fail_base (fmt=0x7ffff4c08578
"%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x7ffff719dc48 "fft_len >= 0",
file=file@entry=0x7ffff719dc38 "effects_i_dsp.c",
line=line@entry=118, function=function@entry=0x7ffff719df90
"clear_fft_cache") at assert.c:92
#3 0x00007ffff4ab1eb2 in __GI___assert_fail (assertion=0x7ffff719dc48
"fft_len >= 0", file=0x7ffff719dc38 "effects_i_dsp.c", line=118,
function=0x7ffff719df90 "clear_fft_cache") at assert.c:101
#4 0x00007ffff7152df6 in clear_fft_cache () from
/usr/lib/x86_64-linux-gnu/libsox.so.2
#5 0x00007ffff7152729 in lsx_effects_quit () from
/usr/lib/x86_64-linux-gnu/libsox.so.2
#6 0x00000000004517ca in MainFrame::~MainFrame() ()
#7 0x0000000000451d39 in MainFrame::~MainFrame() ()
#8 0x00007ffff6642517 in wxAppConsoleBase::DeletePendingObjects() ()
from /usr/lib/libwx_baseu-2.9.so.4
#9 0x00007ffff664258d in wxAppConsoleBase::ProcessIdle() () from
/usr/lib/libwx_baseu-2.9.so.4
#10 0x00007ffff6cd8d51 in wxAppBase::ProcessIdle() () from
/usr/lib/libwx_gtk2u_core-2.9.so.4
#11 0x00007ffff6c44f5e in wxApp::DoIdle() () from
/usr/lib/libwx_gtk2u_core-2.9.so.4
#12 0x00007ffff6c45043 in ?? () from /usr/lib/libwx_gtk2u_core-2.9.so.4
#13 0x00007ffff1232f05 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff1233248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007ffff12336ba in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007ffff2496fe7 in gtk_main () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#17 0x00007ffff6c5189a in wxGUIEventLoop::Run() () from
/usr/lib/libwx_gtk2u_core-2.9.so.4
#18 0x00007ffff6641fa1 in wxAppConsoleBase::MainLoop() () from
/usr/lib/libwx_baseu-2.9.so.4
#19 0x00007ffff66ac625 in wxEntry(int&, wchar_t**) () from
/usr/lib/libwx_baseu-2.9.so.4
#20 0x0000000000458cf2 in main ()
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2