From: Mark P. <ro...@ho...> - 2012-02-20 12:09:49
|
[snip] I am really struggling with this one. Running on Fedora Linux (64 bit) - gcc (GCC) 4.6.2 20111027 (Red Hat 4.6.2-1) Code - #include "assimp/cimport.h" #include <cstdio> int main() { const struct aiScene* scene = aiImportFile("/home/mark/assimp/test/models/BLEND/HUMAN.blend", 0); if (!scene) printf("failed load"); aiReleaseImport(scene); } Makefile - atest: atest.o $(CXX) $(CXXFLAGS) $(OBJF) -o atest -lassimp atest.o %.o : %.cpp $(CXX) $(CXXFLAGS) -c $< -o $@ Using: svn update -r 1110 It runs Using svn update -r 1111 *** glibc detected *** ./atest: munmap_chunk(): invalid pointer: 0x000000000142ac40 *** (Note this is a different error than I got in my application, but in the same place - ClanLib 2.3 Examples/3D/Water example in the latest SVN) Looking at the difference between the revisions (and debugging), I cannot see any problems at all. Using valgrind: ==11452== Invalid read of size 8 ==11452== at 0x5192C73: aiReleaseImport (in /usr/local/lib/libassimp.so.2.0.0) This is the same in using the latest SVN Can anyone replicate this issue in 64bit Linux? |