glest / glest-source

Glest is a network multi-player cross-platform 3D real-time strategy (RTS) game, where you create armies of units and battle different factions.
https://glest.io
GNU General Public License v3.0
58 stars 40 forks source link

Segfault during network games #271

Open andy5995 opened 6 years ago

andy5995 commented 6 years ago

game suddenly crashes. Gui disappears, no pause, just back to the console

malloc(): smallbin double linked list corrupted

pvp game using map Athena's valley.

image

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
*ERROR* [2018-10-05 13:59:50] In [model.cpp::loadMeshTexture Line: 738] Error v4 model is missing texture [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/taketaba_gunner/../castle/models/muzzleflash.tga] textureFlags = 1 meshIndex = 10 textureIndex = 0 modelFile [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/taketaba_gunner/../castle/models/taketaba_teppo_death.g3d]
*ERROR* [2018-10-05 13:59:50] In [model.cpp::loadMeshTexture Line: 738] Error v4 model is missing texture [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/teppo_ashigaru/../castle/models/muzzleflash.tga] textureFlags = 1 meshIndex = 0 textureIndex = 0 modelFile [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/teppo_ashigaru/../castle/models/arquebuseridle.g3d]
*ERROR* [2018-10-05 13:59:50] In [model.cpp::loadMeshTexture Line: 738] Error v4 model is missing texture [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/teppo_ashigaru/../castle/models/muzzleflash.tga] textureFlags = 1 meshIndex = 0 textureIndex = 0 modelFile [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/teppo_ashigaru/../castle/models/arquebusermove.g3d]
*ERROR* [2018-10-05 13:59:50] In [model.cpp::loadMeshTexture Line: 738] Error v4 model is missing texture [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/teppo_ashigaru/../castle/models/muzzleflash.tga] textureFlags = 1 meshIndex = 0 textureIndex = 0 modelFile [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/teppo_ashigaru/../castle/models/arquebusermove.g3d]
*ERROR* [2018-10-05 13:59:50] In [model.cpp::loadMeshTexture Line: 738] Error v4 model is missing texture [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/teppo_ashigaru/../castle/models/muzzleflash.tga] textureFlags = 1 meshIndex = 1 textureIndex = 0 modelFile [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/teppo_ashigaru/../castle/models/taketaba_teppo_morph.g3d]
*ERROR* [2018-10-05 13:59:50] In [model.cpp::loadMeshTexture Line: 738] Error v4 model is missing texture [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/teppo_ashigaru/../castle/models/muzzleflash.tga] textureFlags = 1 meshIndex = 0 textureIndex = 0 modelFile [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/teppo_ashigaru/../castle/models/arquebuser_deathb.g3d]
*ERROR* [2018-10-05 13:59:50] In [model.cpp::loadMeshTexture Line: 738] Error v4 model is missing texture [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/teppo_ashigaru/../castle/models/muzzleflash.tga] textureFlags = 1 meshIndex = 0 textureIndex = 0 modelFile [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/teppo_ashigaru/../castle/models/arquebuserdeath.g3d]
*ERROR* [2018-10-05 13:59:50] In [model.cpp::loadMeshTexture Line: 738] Error v4 model is missing texture [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/teppo_ashigaru/../castle/models/muzzleflash.tga] textureFlags = 1 meshIndex = 0 textureIndex = 0 modelFile [/home/andy/src/zg-local/zetaglest-data/techs/zetapack/factions/japanese/units/teppo_ashigaru/../castle/models/arquebuserb_deathc.g3d]
Game unique identifier is: 1250500a-c8ce-11e8-8e72-cd2516571e6c
Auto Change resolution to (1920 x 1080) from (1024 x 768)
malloc(): smallbin double linked list corrupted
Aborted
andy5995 commented 6 years ago

seems like it may not have anything to do with a linked list. The fellow reported the same error message but not using a linked list, just strcat()

https://stackoverflow.com/questions/33831123/malloc-smallbin-double-linked-list-corrupted