Mutual GNU / Linux


Client don't start anymore

Oh, valgrind has line numbers now:

==31267== Invalid write of size 1
==31267== at 0x1088E47: NLMISC::CBitmap::decompressDXT1(bool) (bitmap.cpp:1361)
==31267== by 0x1A55A8F: NL3D::NLDRIVERGL::CDriverGL::setupTextureEx(NL3D::ITexture&, bool, bool&, bool) (driver_opengl_texture.cpp:1048)
==31267== by 0x1A510D9: NL3D::NLDRIVERGL::CDriverGL::setupTexture(NL3D::ITexture&) (driver_opengl_texture.cpp:683)
==31267== by 0x1194F53: NL3D::CMaterial::flushTextures(NL3D::IDriver&, unsigned int) (material.cpp:378)
==31267== by 0x12E01F8: NL3D::CMeshBase::flushTextures(NL3D::IDriver&, unsigned int) (mesh_base.cpp:437)
==31267== by 0x1260CA4: NL3D::CShapeBank::preLoadShapes(std::string const&, std::vector<std::string, std::allocator<std::string> > const&, std::string const&, NLMISC::IProgressCallback*, bool, NL3D::IDriver*) (shape_bank.cpp:894)
==31267== by 0x130ECC4: NL3D::CShapeBankUser::preLoadShapesFromBNP(std::string const&, std::string const&, std::string const&, NLMISC::IProgressCallback*, bool) (shape_bank_user.cpp:93)
==31267== by 0xAF4C55: initMainLoop() (init_main_loop.cpp:1172)
==31267== by 0x8DF326: main (client.cpp:388)
==31267== Address 0x50fab802 is 2 bytes after a block of size 51,200 alloc'd
==31267== at 0x4C2B800: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==31267== by 0x1001A8B: myRealloc (object_vector.h:351)
==31267== by 0x1001A8B: NLMISC::CObjectVector<unsigned char, false>::resize(unsigned int) (object_vector.h:167)
==31267== by 0x1088C2E: NLMISC::CBitmap::decompressDXT1(bool) (bitmap.cpp:1298)
==31267== by 0x1A55A8F: NL3D::NLDRIVERGL::CDriverGL::setupTextureEx(NL3D::ITexture&, bool, bool&, bool) (driver_opengl_texture.cpp:1048)
==31267== by 0x1A510D9: NL3D::NLDRIVERGL::CDriverGL::setupTexture(NL3D::ITexture&) (driver_opengl_texture.cpp:683)
==31267== by 0x1194F53: NL3D::CMaterial::flushTextures(NL3D::IDriver&, unsigned int) (material.cpp:378)
==31267== by 0x12E01F8: NL3D::CMeshBase::flushTextures(NL3D::IDriver&, unsigned int) (mesh_base.cpp:437)
==31267== by 0x1260CA4: NL3D::CShapeBank::preLoadShapes(std::string const&, std::vector<std::string, std::allocator<std::string> > const&, std::string const&, NLMISC::IProgressCallback*, bool, NL3D::IDriver*) (shape_bank.cpp:894)
==31267== by 0x130ECC4: NL3D::CShapeBankUser::preLoadShapesFromBNP(std::string const&, std::string const&, std::string const&, NLMISC::IProgressCallback*, bool) (shape_bank_user.cpp:93)
==31267== by 0xAF4C55: initMainLoop() (init_main_loop.cpp:1172)
==31267== by 0x8DF326: main (client.cpp:388)
Show topic
Last visit Thursday, 25 April 23:13:45 UTC
P_:

powered by ryzom-api