Crash leaving Tu'tara Caverns Floor 19

For the latest Humble Bundle version of Torchlight for Linux 64bit (2012-09-20) I get a crash at Tu'tara Caverns Floor 19 while going down the stairs and loading the next floor, thus making it impossible to continue the game:
*-*-* OGRE Initialising
*-*-* Version 1.6.5 (Shoggoth)
terminate called after throwing an instance of 'Ogre::RenderingAPIException'
  what():  OGRE EXCEPTION(3:RenderingAPIException): Zero sized texture surface on texture MEDIA/PARTICLES/TEXTURES/TRAIL/TRAIL37.DDS face 0 mipmap 2. Probably, the GL driver refused to create the texture. in GLTexture::_createSurfaceList at ../../../../RenderSystems/GL/src/OgreGLTexture.cpp (line 405)
Error: signal: 6

./Torchlight.bin.x86_64(_ZN10LinuxUtils13crash_handlerEi+0x25)[0x17eadc5]
/lib/x86_64-linux-gnu/libc.so.6(+0x324f0)[0x7f890a2f24f0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7f890a2f2475]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x180)[0x7f890a2f56f0]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x11d)[0x7f890ab446dd]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x637e6)[0x7f890ab427e6]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x63813)[0x7f890ab42813]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(__cxa_rethrow+0x46)[0x7f890ab42a86]
/usr/local/games/Torchlight/lib64/libOgreMain-1.6.5.so(_ZN4Ogre8Resource4loadEb+0x38d)[0x7f890d910dad]
/usr/local/games/Torchlight/lib64/libOgreMain-1.6.5.so(_ZN4Ogre15ResourceManager4loadERKSsS2_bPNS_20ManualResourceLoaderEPKSt3mapISsSsSt4lessISsESaISt4pairIS1_SsEEE+0x91)[0x7f890d91f381]
./Torchlight.bin.x86_64(_ZN16ParticleUniverse17ParticleTechnique15setMaterialNameERKSs+0xc2)[0x176d006]
./Torchlight.bin.x86_64(_ZN20CParticleTechWrapper21createTextureMaterialEv+0x903)[0xfbb3cf]
./Torchlight.bin.x86_64(_ZN30CParticleTechWrapperDescriptor29DescriptorObjectHasBeenInitedEP17CEditorBaseObject+0x1c)[0xa2a840]
./Torchlight.bin.x86_64(_ZN12CEditorScene20loadCompressedLayoutER9CFileInfoP10TArrayListIP17CEditorBaseObjectEx+0x963)[0xab40c9]
./Torchlight.bin.x86_64(_ZN12CEditorScene9loadSceneESbIwSt11char_traitsIwESaIwEEbP10TArrayListIP17CEditorBaseObjectExbP13CTimerStatics+0x2ac)[0xab03aa]
./Torchlight.bin.x86_64(_ZN7CLayout14loadLayoutFileERKSbIwSt11char_traitsIwESaIwEEbP13CTimerStaticsbbj+0x6c6)[0xf02288]
./Torchlight.bin.x86_64(_ZN18CParticlePreloader12LoadParticleESbIwSt11char_traitsIwESaIwEES3_+0x25b)[0xfaeaf9]
./Torchlight.bin.x86_64(_ZN18CParticlePreloader12LoadParticleESbIwSt11char_traitsIwESaIwEE+0xdd)[0xfae4cb]
./Torchlight.bin.x86_64[0xf017f1]
./Torchlight.bin.x86_64(_ZN7CLayout14loadLayoutFileERKSbIwSt11char_traitsIwESaIwEEbP13CTimerStaticsbbj+0x265)[0xf01e27]
./Torchlight.bin.x86_64(_ZN17CLayoutDescriptor18Set_loadLayoutFileEP17CEditorBaseObjectP14UNIONDATA16BITj+0x7c)[0x855142]
./Torchlight.bin.x86_64(_ZN15CDescriptorProp15setDataOnObjectEP17CEditorBaseObjectPK14UNIONDATA32BITj+0x17a)[0xa55790]
./Torchlight.bin.x86_64(_ZN15CDescriptorProp7setDataEPK14UNIONDATA32BITjP17CEditorBaseObject+0x59)[0xa554b9]
./Torchlight.bin.x86_64(_ZN11CDescriptor24loadObjectFromBinaryFileER11COgreReaderP17CEditorBaseObjectR28CDescriptorLoadConfiguration+0x36f)[0xa418b7]
./Torchlight.bin.x86_64(_Z26loadObjectByCompressedFileP12CEditorSceneR28CDescriptorLoadConfigurationR11COgreReaderP17CEditorBaseObjectb+0x122)[0xab31a2]
./Torchlight.bin.x86_64(_ZN12CEditorScene20loadCompressedLayoutER9CFileInfoP10TArrayListIP17CEditorBaseObjectEx+0x3b3)[0xab3b19]
./Torchlight.bin.x86_64(_ZN12CEditorScene9loadSceneESbIwSt11char_traitsIwESaIwEEbP10TArrayListIP17CEditorBaseObjectExbP13CTimerStatics+0x2ac)[0xab03aa]
./Torchlight.bin.x86_64(_ZN7CLayout14loadLayoutFileERKSbIwSt11char_traitsIwESaIwEEbP13CTimerStaticsbbj+0x6c6)[0xf02288]
./Torchlight.bin.x86_64(_ZN11CSkillEventC2EP6CSkillP14CSkillPropertyP16CResourceManagerP10CDataGroup+0x19a3)[0x134469b]
./Torchlight.bin.x86_64(_ZN14CSkillPropertyC1EP6CSkillP16CResourceManagerPS_P10CDataGroupj+0x34ff)[0x13865ff]
./Torchlight.bin.x86_64(_ZN6CSkillC2EP16CResourceManagerP10CDataGroup+0x5e9)[0x13193dd]
./Torchlight.bin.x86_64(_ZN12CSkillParser8getSkillEP16CResourceManagerRKSbIwSt11char_traitsIwESaIwEE+0xf3)[0x137574d]
./Torchlight.bin.x86_64(_ZN13CSkillManager8addSkillERKSbIwSt11char_traitsIwESaIwEEb+0xe6)[0x136372e]
./Torchlight.bin.x86_64(_ZN9CBaseUnit14addSkillByNameERKSbIwSt11char_traitsIwESaIwEEb+0x9c)[0xbf4b74]
./Torchlight.bin.x86_64(_ZN9CBaseUnit8unitInitEP10CDataGroupb+0x13fc)[0xbf6d1c]
./Torchlight.bin.x86_64(_ZN10CCharacter8unitInitEP10CDataGroupb+0x63)[0xc29595]
./Torchlight.bin.x86_64(_ZN8CMonster8unitInitEP10CDataGroupb+0x2f)[0xd4a5f1]
./Torchlight.bin.x86_64(_ZN10CCharacter16convertCharacterESbIwSt11char_traitsIwESaIwEEb+0x873)[0xc289f1]
./Torchlight.bin.x86_64(_ZN10CCharacter18createNewCharacterESbIwSt11char_traitsIwESaIwEE+0x1cf)[0xc2812d]
./Torchlight.bin.x86_64(_ZN18CMonsterDescriptor22Set_createNewCharacterEP17CEditorBaseObjectP14UNIONDATA16BITj+0x5f)[0x894d9d]

EDIT: I've uploaded my save file here: http://files.callistix.net/0.svt

greetings .oOo. vitaminx
«13

Comments

  • Same issue:
    Creating resource group General
    Creating resource group Internal
    Creating resource group Autodetect
    SceneManagerFactory for type 'DefaultSceneManager' registered.
    Registering ResourceManager for type Material
    Registering ResourceManager for type Mesh
    Registering ResourceManager for type Skeleton
    MovableObjectFactory for type 'ParticleSystem' registered.
    OverlayElementFactory for type Panel registered.
    OverlayElementFactory for type BorderPanel registered.
    OverlayElementFactory for type TextArea registered.
    Registering ResourceManager for type Font
    ArchiveFactory for archive type FileSystem registered.
    ArchiveFactory for archive type Zip registered.
    FreeImage version: 3.13.1
    This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
    Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,bay,bmq,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,k25,kdc,mdc,mos,mrw,nef,orf,pef,pxn,raf,raw,rdc,sr2,srf,arw,3fr,cine,ia,kc2,mef,nrw,qtk,rw2,sti,drf,dsc,ptx,cap,iiq,rwz
    DDS codec registering
    Registering ResourceManager for type HighLevelGpuProgram
    Registering ResourceManager for type Compositor
    MovableObjectFactory for type 'Entity' registered.
    MovableObjectFactory for type 'Light' registered.
    MovableObjectFactory for type 'BillboardSet' registered.
    MovableObjectFactory for type 'ManualObject' registered.
    MovableObjectFactory for type 'BillboardChain' registered.
    MovableObjectFactory for type 'RibbonTrail' registered.
    Loading library lib64/OGRE/RenderSystem_GL
    Installing plugin: GL RenderSystem
    OpenGL Rendering Subsystem created.
    Plugin successfully installed
    Loading library lib64/OGRE/Plugin_ParticleFX
    Installing plugin: ParticleFX
    Particle Emitter Type 'Point' registered
    Particle Emitter Type 'Box' registered
    Particle Emitter Type 'Ellipsoid' registered
    Particle Emitter Type 'Cylinder' registered
    Particle Emitter Type 'Ring' registered
    Particle Emitter Type 'HollowEllipsoid' registered
    Particle Affector Type 'LinearForce' registered
    Particle Affector Type 'ColourFader' registered
    Particle Affector Type 'ColourFader2' registered
    Particle Affector Type 'ColourImage' registered
    Particle Affector Type 'ColourInterpolator' registered
    Particle Affector Type 'Scaler' registered
    Particle Affector Type 'Rotator' registered
    Particle Affector Type 'DirectionRandomiser' registered
    Particle Affector Type 'DeflectorPlane' registered
    Plugin successfully installed
    Loading library lib64/OGRE/Plugin_OctreeSceneManager
    Installing plugin: Octree & Terrain Scene Manager
    Plugin successfully installed
    *-*-* OGRE Initialising
    *-*-* Version 1.6.5 (Shoggoth)
    terminate called after throwing an instance of 'Ogre::RenderingAPIException'
    what(): OGRE EXCEPTION(3:RenderingAPIException): Zero sized texture surface on texture MEDIA/PARTICLES/TEXTURES/TRAIL/TRAIL37.DDS face 0 mipmap 2. Probably, the GL driver refused to create the texture. in GLTexture::_createSurfaceList at ../../../../RenderSystems/GL/src/OgreGLTexture.cpp (line 405)
    Error: signal: 6

    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN10LinuxUtils13crash_handlerEi+0x25)[0x17eadc5]
    /lib/x86_64-linux-gnu/libc.so.6(+0x364c0)[0x7f6bd7fc14c0]
    /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7f6bd7fc1445]
    /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7f6bd7fc4bab]
    /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x11d)[0x7f6bd890f69d]
    /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb5846)[0x7f6bd890d846]
    /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb5873)[0x7f6bd890d873]
    /usr/lib/x86_64-linux-gnu/libstdc++.so.6(__cxa_rethrow+0x46)[0x7f6bd890d9b6]
    /usr/local/games/Torchlight/lib64/libOgreMain-1.6.5.so(_ZN4Ogre8Resource4loadEb+0x38d)[0x7f6bdb658dad]
    /usr/local/games/Torchlight/lib64/libOgreMain-1.6.5.so(_ZN4Ogre15ResourceManager4loadERKSsS2_bPNS_20ManualResourceLoaderEPKSt3mapISsSsSt4lessISsESaISt4pairIS1_SsEEE+0x91)[0x7f6bdb667381]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN16ParticleUniverse17ParticleTechnique15setMaterialNameERKSs+0xc2)[0x176d006]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN20CParticleTechWrapper21createTextureMaterialEv+0x903)[0xfbb3cf]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN30CParticleTechWrapperDescriptor29DescriptorObjectHasBeenInitedEP17CEditorBaseObject+0x1c)[0xa2a840]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN12CEditorScene20loadCompressedLayoutER9CFileInfoP10TArrayListIP17CEditorBaseObjectEx+0x963)[0xab40c9]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN12CEditorScene9loadSceneESbIwSt11char_traitsIwESaIwEEbP10TArrayListIP17CEditorBaseObjectExbP13CTimerStatics+0x2ac)[0xab03aa]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN7CLayout14loadLayoutFileERKSbIwSt11char_traitsIwESaIwEEbP13CTimerStaticsbbj+0x6c6)[0xf02288]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN18CParticlePreloader12LoadParticleESbIwSt11char_traitsIwESaIwEES3_+0x25b)[0xfaeaf9]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN18CParticlePreloader12LoadParticleESbIwSt11char_traitsIwESaIwEE+0xdd)[0xfae4cb]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64[0xf017f1]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN7CLayout14loadLayoutFileERKSbIwSt11char_traitsIwESaIwEEbP13CTimerStaticsbbj+0x265)[0xf01e27]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN17CLayoutDescriptor18Set_loadLayoutFileEP17CEditorBaseObjectP14UNIONDATA16BITj+0x7c)[0x855142]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN15CDescriptorProp15setDataOnObjectEP17CEditorBaseObjectPK14UNIONDATA32BITj+0x17a)[0xa55790]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN15CDescriptorProp7setDataEPK14UNIONDATA32BITjP17CEditorBaseObject+0x59)[0xa554b9]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN11CDescriptor24loadObjectFromBinaryFileER11COgreReaderP17CEditorBaseObjectR28CDescriptorLoadConfiguration+0x36f)[0xa418b7]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_Z26loadObjectByCompressedFileP12CEditorSceneR28CDescriptorLoadConfigurationR11COgreReaderP17CEditorBaseObjectb+0x122)[0xab31a2]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN12CEditorScene20loadCompressedLayoutER9CFileInfoP10TArrayListIP17CEditorBaseObjectEx+0x3b3)[0xab3b19]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN12CEditorScene9loadSceneESbIwSt11char_traitsIwESaIwEEbP10TArrayListIP17CEditorBaseObjectExbP13CTimerStatics+0x2ac)[0xab03aa]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN7CLayout14loadLayoutFileERKSbIwSt11char_traitsIwESaIwEEbP13CTimerStaticsbbj+0x6c6)[0xf02288]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN11CSkillEventC2EP6CSkillP14CSkillPropertyP16CResourceManagerP10CDataGroup+0x19a3)[0x134469b]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN14CSkillPropertyC1EP6CSkillP16CResourceManagerPS_P10CDataGroupj+0x34ff)[0x13865ff]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN6CSkillC2EP16CResourceManagerP10CDataGroup+0x5e9)[0x13193dd]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN12CSkillParser8getSkillEP16CResourceManagerRKSbIwSt11char_traitsIwESaIwEE+0xf3)[0x137574d]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN13CSkillManager8addSkillERKSbIwSt11char_traitsIwESaIwEEb+0xe6)[0x136372e]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN9CBaseUnit14addSkillByNameERKSbIwSt11char_traitsIwESaIwEEb+0x9c)[0xbf4b74]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN9CBaseUnit8unitInitEP10CDataGroupb+0x13fc)[0xbf6d1c]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN10CCharacter8unitInitEP10CDataGroupb+0x63)[0xc29595]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN8CMonster8unitInitEP10CDataGroupb+0x2f)[0xd4a5f1]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN10CCharacter16convertCharacterESbIwSt11char_traitsIwESaIwEEb+0x873)[0xc289f1]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN10CCharacter18createNewCharacterESbIwSt11char_traitsIwESaIwEE+0x1cf)[0xc2812d]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN18CMonsterDescriptor22Set_createNewCharacterEP17CEditorBaseObjectP14UNIONDATA16BITj+0x5f)[0x894d9d]

    Ubuntu 12.04
    Thinkpad T420 - Intel Sandy Bridge integrated video

    Save file: https://dl.dropbox.com/u/12796552/0.svt
    Just enter "Stairs down"
  • Same issue too
    Creating resource group General
    Creating resource group Internal
    Creating resource group Autodetect
    SceneManagerFactory for type 'DefaultSceneManager' registered.
    Registering ResourceManager for type Material
    Registering ResourceManager for type Mesh
    Registering ResourceManager for type Skeleton
    MovableObjectFactory for type 'ParticleSystem' registered.
    OverlayElementFactory for type Panel registered.
    OverlayElementFactory for type BorderPanel registered.
    OverlayElementFactory for type TextArea registered.
    Registering ResourceManager for type Font
    ArchiveFactory for archive type FileSystem registered.
    ArchiveFactory for archive type Zip registered.
    FreeImage version: 3.13.1
    This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
    Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,bay,bmq,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,k25,kdc,mdc,mos,mrw,nef,orf,pef,pxn,raf,raw,rdc,sr2,srf,arw,3fr,cine,ia,kc2,mef,nrw,qtk,rw2,sti,drf,dsc,ptx,cap,iiq,rwz
    DDS codec registering
    Registering ResourceManager for type HighLevelGpuProgram
    Registering ResourceManager for type Compositor
    MovableObjectFactory for type 'Entity' registered.
    MovableObjectFactory for type 'Light' registered.
    MovableObjectFactory for type 'BillboardSet' registered.
    MovableObjectFactory for type 'ManualObject' registered.
    MovableObjectFactory for type 'BillboardChain' registered.
    MovableObjectFactory for type 'RibbonTrail' registered.
    Loading library lib64/OGRE/RenderSystem_GL
    Installing plugin: GL RenderSystem
    OpenGL Rendering Subsystem created.
    Plugin successfully installed
    Loading library lib64/OGRE/Plugin_ParticleFX
    Installing plugin: ParticleFX
    Particle Emitter Type 'Point' registered
    Particle Emitter Type 'Box' registered
    Particle Emitter Type 'Ellipsoid' registered
    Particle Emitter Type 'Cylinder' registered
    Particle Emitter Type 'Ring' registered
    Particle Emitter Type 'HollowEllipsoid' registered
    Particle Affector Type 'LinearForce' registered
    Particle Affector Type 'ColourFader' registered
    Particle Affector Type 'ColourFader2' registered
    Particle Affector Type 'ColourImage' registered
    Particle Affector Type 'ColourInterpolator' registered
    Particle Affector Type 'Scaler' registered
    Particle Affector Type 'Rotator' registered
    Particle Affector Type 'DirectionRandomiser' registered
    Particle Affector Type 'DeflectorPlane' registered
    Plugin successfully installed
    Loading library lib64/OGRE/Plugin_OctreeSceneManager
    Installing plugin: Octree & Terrain Scene Manager
    Plugin successfully installed
    *-*-* OGRE Initialising
    *-*-* Version 1.6.5 (Shoggoth)
    terminate called after throwing an instance of 'Ogre::RenderingAPIException'
    what(): OGRE EXCEPTION(3:RenderingAPIException): Zero sized texture surface on texture MEDIA/PARTICLES/TEXTURES/TRAIL/TRAIL37.DDS face 0 mipmap 2. Probably, the GL driver refused to create the texture. in GLTexture::_createSurfaceList at ../../../../RenderSystems/GL/src/OgreGLTexture.cpp (line 405)
    Error: signal: 6

    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN10LinuxUtils13crash_handlerEi+0x25)[0x17eb6f5]
    /lib/x86_64-linux-gnu/libc.so.6(+0x324f0)[0x7fb1d1c2b4f0]
    /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7fb1d1c2b475]
    /lib/x86_64-linux-gnu/libc.so.6(abort+0x180)[0x7fb1d1c2e6f0]
    /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x11d)[0x7fb1d247d6dd]
    /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x637e6)[0x7fb1d247b7e6]
    /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x63813)[0x7fb1d247b813]
    /usr/lib/x86_64-linux-gnu/libstdc++.so.6(__cxa_rethrow+0x46)[0x7fb1d247ba86]
    /usr/local/games/Torchlight/lib64/libOgreMain-1.6.5.so(_ZN4Ogre8Resource4loadEb+0x38d)[0x7fb1d522bdad]
    /usr/local/games/Torchlight/lib64/libOgreMain-1.6.5.so(_ZN4Ogre15ResourceManager4loadERKSsS2_bPNS_20ManualResourceLoaderEPKSt3mapISsSsSt4lessISsESaISt4pairIS1_SsEEE+0x91)[0x7fb1d523a381]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN16ParticleUniverse17ParticleTechnique15setMaterialNameERKSs+0xc2)[0x176d936]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN20CParticleTechWrapper21createTextureMaterialEv+0x903)[0xfbbc1f]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN30CParticleTechWrapperDescriptor29DescriptorObjectHasBeenInitedEP17CEditorBaseObject+0x1c)[0xa2b090]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN12CEditorScene20loadCompressedLayoutER9CFileInfoP10TArrayListIP17CEditorBaseObjectEx+0x963)[0xab4919]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN12CEditorScene9loadSceneESbIwSt11char_traitsIwESaIwEEbP10TArrayListIP17CEditorBaseObjectExbP13CTimerStatics+0x2ac)[0xab0bfa]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN7CLayout14loadLayoutFileERKSbIwSt11char_traitsIwESaIwEEbP13CTimerStaticsbbj+0x6c6)[0xf02ad8]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN18CParticlePreloader12LoadParticleESbIwSt11char_traitsIwESaIwEES3_+0x25b)[0xfaf349]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN18CParticlePreloader12LoadParticleESbIwSt11char_traitsIwESaIwEE+0xdd)[0xfaed1b]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64[0xf02041]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN7CLayout14loadLayoutFileERKSbIwSt11char_traitsIwESaIwEEbP13CTimerStaticsbbj+0x265)[0xf02677]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN17CLayoutDescriptor18Set_loadLayoutFileEP17CEditorBaseObjectP14UNIONDATA16BITj+0x7c)[0x855992]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN15CDescriptorProp15setDataOnObjectEP17CEditorBaseObjectPK14UNIONDATA32BITj+0x17a)[0xa55fe0]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN15CDescriptorProp7setDataEPK14UNIONDATA32BITjP17CEditorBaseObject+0x59)[0xa55d09]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN11CDescriptor24loadObjectFromBinaryFileER11COgreReaderP17CEditorBaseObjectR28CDescriptorLoadConfiguration+0x36f)[0xa42107]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_Z26loadObjectByCompressedFileP12CEditorSceneR28CDescriptorLoadConfigurationR11COgreReaderP17CEditorBaseObjectb+0x122)[0xab39f2]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN12CEditorScene20loadCompressedLayoutER9CFileInfoP10TArrayListIP17CEditorBaseObjectEx+0x3b3)[0xab4369]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN12CEditorScene9loadSceneESbIwSt11char_traitsIwESaIwEEbP10TArrayListIP17CEditorBaseObjectExbP13CTimerStatics+0x2ac)[0xab0bfa]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN7CLayout14loadLayoutFileERKSbIwSt11char_traitsIwESaIwEEbP13CTimerStaticsbbj+0x6c6)[0xf02ad8]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN11CSkillEventC2EP6CSkillP14CSkillPropertyP16CResourceManagerP10CDataGroup+0x19a3)[0x1344eeb]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN14CSkillPropertyC1EP6CSkillP16CResourceManagerPS_P10CDataGroupj+0x34ff)[0x1386e4f]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN6CSkillC2EP16CResourceManagerP10CDataGroup+0x5e9)[0x1319c2d]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN12CSkillParser8getSkillEP16CResourceManagerRKSbIwSt11char_traitsIwESaIwEE+0xf3)[0x1375f9d]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN13CSkillManager8addSkillERKSbIwSt11char_traitsIwESaIwEEb+0xe6)[0x1363f7e]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN9CBaseUnit14addSkillByNameERKSbIwSt11char_traitsIwESaIwEEb+0x9c)[0xbf53c4]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN9CBaseUnit8unitInitEP10CDataGroupb+0x13fc)[0xbf756c]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN10CCharacter8unitInitEP10CDataGroupb+0x63)[0xc29de5]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN8CMonster8unitInitEP10CDataGroupb+0x2f)[0xd4ae41]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN10CCharacter16convertCharacterESbIwSt11char_traitsIwESaIwEEb+0x873)[0xc29241]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN10CCharacter18createNewCharacterESbIwSt11char_traitsIwESaIwEE+0x1cf)[0xc2897d]
    /usr/local/games/Torchlight/Torchlight.bin.x86_64(_ZN18CMonsterDescriptor22Set_createNewCharacterEP17CEditorBaseObjectP14UNIONDATA16BITj+0x5f)[0x8955ed]
    System:
    OS: Debian Wheezy x64
    Game version: v1.15 (update by 2012-09-25)
    Graphics: sandy bridge integrated graphics (core i5)
    Driver: mesa 8.0.4-2
  • Hi, still same issue in newest Humble Bundle version from 2012-09-25
  • vitaminx wrote:
    Hi, still same issue in newest Humble Bundle version from 2012-09-25

    +1
  • hmnhmn Posts: 17
    Me too :-(
  • hmnhmn Posts: 17
    "file" says:
    trail37.dds: Microsoft DirectDraw Surface (DDS), 64 x 200, DXT1
    

    Maybe it is because it's not a power-of-two sized texture?
  • hmnhmn Posts: 17
    edited September 2012
    hmn wrote:
    "file" says:
    trail37.dds: Microsoft DirectDraw Surface (DDS), 64 x 200, DXT1
    

    Maybe it is because it's not a power-of-two sized texture?

    I resized the texture to 64x256 in Gimp (with DDS plugin) and replaced the file in pak.zip. Now it works.

    Edit: This may not be a good idea! See my post below...
  • hmn wrote:
    I resized the texture to 64x256 in Gimp (with DDS plugin) and replaced the file in pak.zip. Now it works.

    Cool! Fixed it! Thanks for the recipe!
  • hmnhmn Posts: 17
    Well... my stash is gone. Some googling indicates that this might be because of the modified file, which the game interprets as a cheat that gets punished by emptying the stash? Not happy...
  • I'm does not test the gameplay yet. Just fix texture size, replace a file in pak.zip, load a game and go trough the stairs to 20'th floor.

    After your sad news, I'm load a game again, summon a Town Portal and checked a stash..... All of my items are in place. Hope they will!
  • hmnhmn Posts: 17
    Hmmm, according to this, the "cheater flag" is not set in my save file... oh well, then I guess its just another bug that ate my epic loot...
  • I am not 100% sure I solved the crash, but after installing libtxc_dxtn on my Arch Linux with intel GPU, the game didn't crash this time. libtxc_dxtn is needed for decompressing S3TC textures. This comment made me try it ^^.
    trail37.dds: Microsoft DirectDraw Surface (DDS), 64 x 200, DXT1
    If you don't wanna try install it, you can try to tweak ~/.drirc file. Set force_s3tc_enable to true. It might work without libtxc_dxtn then. Mine looks like:
    <driconf>
        <device screen="0" driver="i965">
            <application name="Default">
                <option name="force_s3tc_enable" value="false" />
                <option name="no_rast" value="false" />
                <option name="always_flush_cache" value="false" />
                <option name="early_z" value="false" />
                <option name="shader_precompile" value="false" />
                <option name="stub_occlusion_query" value="false" />
                <option name="always_flush_batch" value="false" />
                <option name="bo_reuse" value="1" />
                <option name="texture_tiling" value="true" />
                <option name="force_glsl_extensions_warn" value="false" />
                <option name="vblank_mode" value="3" />
                <option name="allow_large_textures" value="2" />
                <option name="fragment_shader" value="true" />
            </application>
        </device>
    </driconf>
    
  • hmnhmn Posts: 17
    This bug is not caused by the lack of S3TC extension support - that one was the "portal" bug. It is caused by some drivers not supporting the non-2^n-sized-textures extension.
  • hmnhmn Posts: 17
    I did search for other problematic textures and found these:
    ./media/levelSets/props/palace_props/palace_chandelier_chain_01.dds: Microsoft DirectDraw Surface (DDS), 32 x 67, DXT3
    ./media/levelSets/sunkentemple/sunken_wall_straight_dart.dds: Microsoft DirectDraw Surface (DDS), 511 x 256, DXT1
    
  • hmn wrote:
    This bug is not caused by the lack of S3TC extension support - that one was the "portal" bug. It is caused by some drivers not supporting the non-2^n-sized-textures extension.
    Ahh, indeed. Now crashing for me too when loading the texture.
  • If this really is a shortcoming in Mesa, a small testcase to reproduce the bug would probably be quite useful to the devs.
  • Here's my OGRE Log concerning this bug:
    21:01:20: Particles can't have sounds that loop. : MEDIA/PARTICLES/OBJECTS/WAYGATE.LAYOUT
    21:01:21: OGRE EXCEPTION(3:RenderingAPIException): Zero sized texture surface on texture MEDIA/PARTICLES/TEXTURES/TRAIL/TRAIL37.DDS face 0 mipmap 2. Probably, the GL driver refused to create the texture. in GLTexture::_createSurfaceList at ../../../../RenderSystems/GL/src/OgreGLTexture.cpp (line 405)
    

    Here's the savefile: https://www.dropbox.com/s/7tw19zd8ubhoou2/0.svt

    Just try to go downstairs.

    EDIT:

    OK editing the trail37.dds helped me too, thx ppl, haven't read that advise thoroughly enough before posting my report. FYI: Stash kept filled with goodies ;)
  • hi all,
    First thanks for your various hints. I didn't want to mess too much with the dds files so I did :
    - extract curse.dds from pak.zip/media/particles/Textures/Trail/
    - rename curse.dds to trail37.dds
    - replace trail37.dds inside pak.zip
    ... Works well : my stash is still full, and no more crash while going down with Humble Bundle version of Torchlight for Linux 64bit (2012-09-25)
  • hmn wrote:
    This bug is not caused by the lack of S3TC extension support - that one was the "portal" bug. It is caused by some drivers not supporting the non-2^n-sized-textures extension.
    I don't believe this is caused by on-power-of-two textures. I have this problem on my Debian Wheezy machine with Intel HD4000 graphics, and I have personally written code that creates and renders textures with non-power-of-two dimensions just fine on this machine.

    I am guessing that there's some corruption or other mysterious data in that file that Direct3D ignores or silently fixes, but makes the Linux port's .DDS decoder choke. That would explain why people can solve the problem by opening the file in GIMP or Photoshop and re-saving it - that recreates the file from scratch.
  • smlssmls Posts: 6
    Screwtape wrote:
    hmn wrote:
    I am guessing that there's some corruption or other mysterious data in that file that Direct3D ignores or silently fixes, but makes the Linux port's .DDS decoder choke. That would explain why people can solve the problem by opening the file in GIMP or Photoshop and re-saving it - that recreates the file from scratch.

    But has it actually been confirmed that this (simply re-saving the texture without resizing it to power-of-two dimensions) is enough to solve the bug?

    Anyhow, those who can reproduce this bug could potentially uncover more information about it by running the game from a terminal with the MESA_DEBUG environment variable set, like so...
    export MESA_DEBUG=1
    /usr/local/games/Torchlight/Torchlight.bin.x86_64
    
    ...and then looking at the terminal output.

    (I can't reproduce it because I don't have an Intel graphics card, but I'm still interested in getting to the bottom of it, because I maintain the Torchlight package in the Arch User Repository.)
  • urkleurkle Posts: 52
    Hey everyone on this thread.. Awesome debugging and tracking down the cause of these issues.. I'm going to add some checks on game-launch and yelp if S3TC is not found and see if I can identify and fix the non-pow2 textures.
  • With MESA_DEBUG set I do indeed get an error:
    Mesa: User error: GL_INVALID_OPERATION in glCompressedTexImage2D(invalid width or height for compression format)
    

    I guess it's up to urkle to decide if this should be fixed in the game or if we should file bugs with Mesa to be less strict. I wonder how the Nvidia proprietary driver and fglrx handles this case, do they just silently drop the texture. Anyone know if it's visible in-game?
  • urkleurkle Posts: 52
    whizse wrote:
    With MESA_DEBUG set I do indeed get an error:
    Mesa: User error: GL_INVALID_OPERATION in glCompressedTexImage2D(invalid width or height for compression format)
    

    I guess it's up to urkle to decide if this should be fixed in the game or if we should file bugs with Mesa to be less strict. I wonder how the Nvidia proprietary driver and fglrx handles this case, do they just silently drop the texture. Anyone know if it's visible in-game?

    It's actually an extension that was adopted in the GL core in 2.0. http://www.opengl.org/wiki/NPOT_Texture

    It seems a few older cards have issue with it, but in generally anything claiming GL 2.0 should support it natively. If your card should support it and Mesa is still bawking then it is definitely a bug in Mesa. For those that have this issue can you check your glxinfo output to see what version of OpenGL mesa is reporting? (1.4, 1.5, 2.0, 2.1) and also if the GL_ARB_texture_non_power_of_two extension shows up in the extension list?
  • I have an issue:
    $ glxinfo| grep -i "opengl\|GL_ARB_texture_non_power_of_two"
    OpenGL vendor string: Intel Open Source Technology Center
    OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile 
    OpenGL version string: 3.0 Mesa 8.1-devel
    OpenGL shading language version string: 1.30
    OpenGL extensions:
        GL_ARB_texture_non_power_of_two, GL_ARB_vertex_buffer_object,
    

    Ubuntu 12.04

    Just tryed to re-save trail37.dds with gimp. I can confirm that re-saving solves the issue.
    File size changed significantly:
    # ls -l ../trail37.dds; ls -l trail37.dds; file trail37.dds
    -rw-r--r-- 1 root root 8712 Oct  8  2009 ../trail37.dds
    -rw-r--r-- 1 root root 51328 Sep 29 09:36 trail37.dds
    trail37.dds: Microsoft DirectDraw Surface (DDS), 64 x 200,
    
  • OK, I think I've figured this out. It turns out it is a power-of-two issue, kind of, but not a GL_ARB_texture_non_power_of_two issue.

    A DDS file contains texture data, and usually contains "mipmaps", which are low-resolution, blurrier versions of a texture that are automatically used when you're viewing that texture from far away. There's usually a bunch of mipmaps for every texture - if you start with a 256x256 texture, you'll have a 128x128 mipmap, a 64x64 mipmap, a 32x32 mipmap, and so forth. The texture data in a DDS file is also usually compressed using an algorithm called "S3TC", which stands for "S3 Texture Compression" (S3 was a video-card company, like nVidia or ATI, many years ago). This algorithm breaks a texture into "blocks" of 4x4 pixels, compresses them, and stores them much more efficiently. However, because it uses 4x4 blocks, it requires that the texture be an exact multiple of 4 pixels in each dimension.

    The texture causing the problem, "media/particles/Textures/Trail/trail37.dds" is 200x64 pixels. Both of those numbers are multiples of 4, so that's OK. The first-level mipmap will be 100x32, both of which are multiples of 4. The second mipmap will be 50x16, but 50 is *not* a multiple of 4. If the code that's reading in the texture reads 50x16 pixels' worth of data and tries to decode it, it'll get garbage and Mesa has every right to complain about it. It turns out that if you calculate a mipmap size of 50x16 pixels, you need to read 52x16 pixels of texture data (bump to the next multiple of 4).

    The texture "curse.dds" that some people have used to replace "trail37.dds" has no mipmap images, so it's fine. Judging from the file-size of the GIMP-saved DDS file in the comment above this, it looks like GIMP is not using S3TC compression, so that's fine too.

    I would expect the other textures mentioned by hmn to have the same issue; I'm guessing "palace_chandelier_chain_01.dds" shows up in the Black Palace tileset (floors 30-34, below floor 20) which is why nobody'**** it yet, and I don't know where the "sunken temple" would be found.
  • urkleurkle Posts: 52
    Here is a re-compressed trail37.dds, can someone try this version to see if it works?

    https://dl.dropbox.com/u/3447934/HIB/trail37.dds

    I would also suggest someone report this as a bug with Mesa, mainly because other drivers (ATI, NVIDIA) are not having issues with the texture, so either they are loading it correctly, or silently ignoring bogus data.
  • I made a copy of my Torchlight installation:
    cp -R /usr/local/games/Torchlight /tmp/Torchlight-hack
    
    I opened /tmp/Torchlight-hack/pak.zip in the standard GNOME archive tool, navigated to media/particles/Textures/Trail/ and copied the "trail37.dds" you supplied into it. As far as I can tell, the new file is correctly installed:
    $ unzip -v pak.zip | grep -A1 trail37
        8712  Defl:N     4181  52% 2012-09-29 23:35 5395c2ee  media/particles/Textures/Trail/trail37.dds
       43776  Defl:N    14004  68% 2009-10-08 18:38 40dd7a77  media/particles/Textures/Trail/trail38.dds
    
    (note that the timestamp for trail37.dds is today's date, unlike trail38.dds)

    Then I started that copy of Torchlight, loaded my saved-game and clicked the stairs down, and boom! Crash:
    terminate called after throwing an instance of 'Ogre::RenderingAPIException'
    what(): OGRE EXCEPTION(3:RenderingAPIException): Zero sized texture surface on texture MEDIA/PARTICLES/TEXTURES/TRAIL/TRAIL37.DDS face 0 mipmap 2. Probably, the GL driver refused to create the texture. in GLTexture::_createSurfaceList at ../../../../RenderSystems/GL/src/OgreGLTexture.cpp (line 405)
    Error: signal: 6
    I think it's interesting that the error message says "face 0 mipmap 2", and my previous post pointed out that 64x200 becomes not-a-multiple-of-four at the second mipmap level.
  • urkleurkle Posts: 52
    Screwtape wrote:
    I made a copy of my Torchlight installation:
    cp -R /usr/local/games/Torchlight /tmp/Torchlight-hack
    
    I opened /tmp/Torchlight-hack/pak.zip in the standard GNOME archive tool, navigated to media/particles/Textures/Trail/ and copied the "trail37.dds" you supplied into it. As far as I can tell, the new file is correctly installed:
    $ unzip -v pak.zip | grep -A1 trail37
        8712  Defl:N     4181  52% 2012-09-29 23:35 5395c2ee  media/particles/Textures/Trail/trail37.dds
       43776  Defl:N    14004  68% 2009-10-08 18:38 40dd7a77  media/particles/Textures/Trail/trail38.dds
    
    (note that the timestamp for trail37.dds is today's date, unlike trail38.dds)

    Then I started that copy of Torchlight, loaded my saved-game and clicked the stairs down, and boom! Crash:
    terminate called after throwing an instance of 'Ogre::RenderingAPIException'
    what(): OGRE EXCEPTION(3:RenderingAPIException): Zero sized texture surface on texture MEDIA/PARTICLES/TEXTURES/TRAIL/TRAIL37.DDS face 0 mipmap 2. Probably, the GL driver refused to create the texture. in GLTexture::_createSurfaceList at ../../../../RenderSystems/GL/src/OgreGLTexture.cpp (line 405)
    Error: signal: 6
    I think it's interesting that the error message says "face 0 mipmap 2", and my previous post pointed out that 64x200 becomes not-a-multiple-of-four at the second mipmap level.

    So it's definitely the S3TC x4 loading issues in Mesa.. But this file should have been saved correctly (using the lastest gimp-dds which has fixes for this type of thing) So really to work around this bug in Mesa we either save it uncompressed DDS or use a png
  • It turns out somebody has already filed a bug against Mesa, linking to this thread. Somebody points out that if you run Torchlight with the MESA_DEBUG environment variable set, you also get this additional error message logged:
    Mesa: User error: GL_INVALID_OPERATION in glCompressedTexImage2D(invalid width or height for compression format)

    I have literally spent less than 24 hours looking into this stuff, and it's nearly 3AM, so I'm probably way out of my depth, but as best I understand it, Torchlight is expecting things to go something like this:

    - Torchlight calculates mipmap dimensions of 50x16
    - Torchlight notices that 50 isn't a multiple of 4, so it calculates 'bytes to read' based on corrected 52x16 dimensions (should be exactly 416 bytes, if my calculations are correct)
    - Torchlight calls Mesa's glCompressedTexImage2D(), passing width=50, height=16, and passing the 416 bytes of compressed data.
    - Mesa talks to the hardware driver, allocating 416 bytes of texture memory, and setting the texture's width and height fields to 50x16.
    - When a primitive is drawn using that texture, the hardware decodes the entire 4-pixel-wide block, but quietly ignores any pixels that fall outside the 50x16 area.

    However, what actually happens seems to go something like this:

    - yada, yada, same as before
    - Torchlight calls Mesa's glCompressedTexImage2D(), passing width=50, height=16, and passing the 416 bytes of compressed data.
    - Mesa notices 50 is not a multiple of 4, and raises the GL_INVALID_OPERATION flag.

    It looks like this perhaps-over-zealous validation was added on 2010-12-09, in this commit. I have no idea what would happen if you just commented out that check, and I'm not terribly keen to start recompiling vital system libraries like Mesa. :/
  • Screwtape, I think you hit the nail on the head!

    I couldn't cleanly revert that changeset, but I commented out the checks for compression block size and image size in bytes and now I'm on floor 20! :D

    (FWIW, it's quite easy to compile and run Mesa without **** with it system-wide, but that's probably off topic for this thread).

    I still think that a smaller testcase would be useful here, both to more readily illustrate the problem for the Mesa devs and to see how the proprietary drivers handles it.
«13
Sign In or Register to comment.