Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfaults with errors related to fvec #1

Open
wickedchicken opened this issue Aug 30, 2011 · 0 comments
Open

Segfaults with errors related to fvec #1

wickedchicken opened this issue Aug 30, 2011 · 0 comments

Comments

@wickedchicken
Copy link
Owner

Valgrind dump:

==26023== Mismatched free() / delete / delete []
==26023==    at 0x4C27FFF: operator delete(void*) (vg_replace_malloc.c:387)
==26023==    by 0x41B48E: fvec::~fvec() (fvec.cpp:43)
==26023==    by 0x416C33: Flux::process(fvec&, fvec&) (Flux.cpp:70)
==26023==    by 0x413FD3: displayFunc() (sndpeek.cpp:1545)
==26023==    by 0x4E4F21F: ??? (in /usr/lib/libglut.so.3.9.0)
==26023==    by 0x4E52938: fgEnumWindows (in /usr/lib/libglut.so.3.9.0)
==26023==    by 0x4E4F659: glutMainLoopEvent (in /usr/lib/libglut.so.3.9.0)
==26023==    by 0x4E4FF0D: glutMainLoop (in /usr/lib/libglut.so.3.9.0)
==26023==    by 0x410C21: main (sndpeek.cpp:566)
==26023==  Address 0xc270dc0 is 0 bytes inside a block of size 2,048 alloc'd
==26023==    at 0x4C28658: operator new[](unsigned long) (vg_replace_malloc.c:305)
==26023==    by 0x41BA43: fvec::create(unsigned long) (fvec.cpp:155)
==26023==    by 0x41C03B: fvec::minus(fvec const&, fvec const&) (fvec.cpp:290)
==26023==    by 0x416C10: Flux::process(fvec&, fvec&) (Flux.cpp:70)
==26023==    by 0x413FD3: displayFunc() (sndpeek.cpp:1545)
==26023==    by 0x4E4F21F: ??? (in /usr/lib/libglut.so.3.9.0)
==26023==    by 0x4E52938: fgEnumWindows (in /usr/lib/libglut.so.3.9.0)
==26023==    by 0x4E4F659: glutMainLoopEvent (in /usr/lib/libglut.so.3.9.0)
==26023==    by 0x4E4FF0D: glutMainLoop (in /usr/lib/libglut.so.3.9.0)
==26023==    by 0x410C21: main (sndpeek.cpp:566)
==26023==
==26023== Conditional jump or move depends on uninitialised value(s)
==26023==    at 0x41B75E: fvec::mean() (fvec.cpp:98)
==26023==    by 0x414195: displayFunc() (sndpeek.cpp:1562)
==26023==    by 0x4E4F21F: ??? (in /usr/lib/libglut.so.3.9.0)
==26023==    by 0x4E52938: fgEnumWindows (in /usr/lib/libglut.so.3.9.0)
==26023==    by 0x4E4F659: glutMainLoopEvent (in /usr/lib/libglut.so.3.9.0)
==26023==    by 0x4E4FF0D: glutMainLoop (in /usr/lib/libglut.so.3.9.0)
==26023==    by 0x410C21: main (sndpeek.cpp:566)
==26023==

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant