You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The module seems to be crashing on the robot. Also, apparently the module leaks memory. @robotiks , @fpetric and @stribor14 please provide relevant details.
The text was updated successfully, but these errors were encountered:
dmiklic
changed the title
Classifier cr@ash in noise filter
Classifier crash in noise filter
Jul 5, 2017
The problem seems to originate from the insertWindow function in noiseFilter.cpp, but arises only on the robot (running the module as remote does not produce this error on my setup). It may be specific to cross-compilation toolchain.
The error in question comes from glibc, and it looks something like this: *** glibc detected *** ./libSCModule.so: double free or corruption (out): 0xXXXXXXXX ***
which would seem to indicate heap error of some sort. I suspected that the error originates from one of the two delete calls at the top of the insertWindow function in noiseFilter.cpp, so I tried commenting them and got a different error from glibc, memory corruption or something like that.
Regarding the memory leak, maybe we should look to re-implement the noise filter using boost buffers instead of plain arrays? @stribor14 any thoughts on this?
The module seems to be crashing on the robot. Also, apparently the module leaks memory.
@robotiks , @fpetric and @stribor14 please provide relevant details.
The text was updated successfully, but these errors were encountered: