Python OTBApplication : *** glibc detected *** python: malloc(): memory corruption
Mantis Issue 738, reported by sdinot, assigned to jmalik, created: 2013-07-15
After a dist upgrade I got this error :
*** glibc detected *** python: malloc(): memory corruption: 0x0a090ea0 ***
This error seems to come with the setting of parameters (see the code below). The execution of function b() writes : Test OTB Application Rasterization creation application get parameters ('in', 'out', 'im', 'szx', 'szy', 'epsg', 'orx', 'ory', 'spx', 'spy', 'background', 'mode', 'mode.binary.foreground', 'mode.attribute.field', 'ram') set parameters in set output set *** glibc detected *** python: malloc(): memory corruption: 0x08e87fa0 ***
All functions seem to stay on "*** glibc detected *** python: malloc(): memory corruption: 0x0a090ea0 ***"
1373900966 - amondot(The function b() had changed, but )I get this also with BandMath and Segmentation :
Test OTB Application BandMath creation application get parameters ('il', 'out', 'ram', 'exp') set parameters *** glibc detected *** python: malloc(): memory corruption: 0x0a090ea0 ***
Test OTB Application Segmentation get parameters ('in', 'filter', 'filter.meanshift.spatialr', [... ] set parameters *** glibc detected *** python: malloc(): memory corruption: 0x09602490 ***
1374567736 - MartValI've had the same type of error when using Rasterization and BandMath. Playing with the GUI apps, I've figured out that it appears when loading an image. But It was with OTB release 3.18 for Linux, installed from the ubuntugis-unstable repository. I googled the error and found this : http://bugs.orfeo-toolbox.org/view.php?id=713, which completely matches my case. Don't know if it's related to yours though.
1383670374 - julienmCannot reproduce on my system (12.04 also, with 3.18.1