[Linux] Crash on menu opening in 268
rkfg
Russia Join Date: 2013-09-03 Member: 187744Members, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow
Here's the backtrace:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xde14bb40 (LWP 12329)] TextureUtility_ConvertBGRAToRGBA<unsigned char> (_dst=0xb7bdc040, srcLength=20736, _src=0xd9da1480) at ../Source/Render/TextureUtility.h:86 86 ../Source/Render/TextureUtility.h: No such file or directory. (gdb) bt #0 TextureUtility_ConvertBGRAToRGBA<unsigned char> (_dst=0xb7bdc040, srcLength=20736, _src=0xd9da1480) at ../Source/Render/TextureUtility.h:86 #1 M4::DdsTextureDataSource::ProduceChunk (this=0xd8496100, mipLevel=<optimized out>, faceIndex=0, data=@0xde14b038: 0xd9da1480, length=@0xde14b03c: 20736) at ../Source/Render/DdsTextureDataSource.cpp:93 #2 0xf728ac66 in CopyTextureData (dryRun=false, texture=0xcdbeb108, source=0xd8496100, this=0xe64aee40) at ../Source/Render/CoreTextureManager.cpp:338 #3 M4::CoreTextureManager::CopyTextureData (this=0xe64aee40, source=0xd8496100, texture=0xcdbeb108, dryRun=false) at ../Source/Render/CoreTextureManager.cpp:290 #4 0xf728b97d in M4::CoreTextureManager::CreateTextureFromSource (this=0xe64aee40, source=0xd8496100, srgb=false, managed=false, dryRun=false) at ../Source/Render/CoreTextureManager.cpp:280 #5 0xf7309277 in M4::FileTextureProxy::LoadTexture (this=0xdbab3be8, source=0xd8496100, sourceFullQuality=true) at ../Source/Render/StreamingFileTextureManager.cpp:346 #6 0xf730b4f8 in LoadTexture (this=0xca0d4410) at ../Source/Render/StreamingFileTextureManager.cpp:400 #7 M4::TextureAssemblyLine::Run (this=0xdf2d1368) at ../Source/Render/StreamingFileTextureManager.cpp:645 #8 0xf6cf59d3 in M4::RunThread (data=0xdf2d1368) at ../Source/Engine/linux/LinuxThread.cpp:34 #9 0xf39b6efb in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 #10 0xf37950ee in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
Comments
nvcompress is not directly used by the ns2 and its not a lib. Its basically a part of the nvidia texture tools and just gets used by the builder.exe (which is by the way nothing else than a command line progress gui).
I guess the real issue here is that someone forgot to rebuild the ui/ folder with the new nvcompress or the texture manager fixes for rgba didn't made it into the linux build.
Originally why i changed the nvcompress version was only because of the rgba issues. So compressing the ui assets with dxt5 instead of rgba would not take to much time.
I just took the 2 mins and rebuild the ui/ folder for you as it should have been done but somehow the build mashine failed to do so. https://drive.google.com/file/d/0B_AoHvDBSRoDUkJpbUJtNDhEVDQ/edit?usp=sharing
BTW you can savely replace the ui/ folder as it doesnt get checked by the consistency check
Did you check for any mod like ns2+ disabling them. Because the needed textures are not missing.
I'll look at it later again so far you should be able to play, right
Personal resources number background has black semi-transparent areas, just like with crosshairs.
Shine menu looks weird.
I also tried to convert those textures myself and got the same result...