Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shadowgrounds - Game crash when starting a game #18

Closed
montaropdf opened this issue May 14, 2016 · 8 comments
Closed

shadowgrounds - Game crash when starting a game #18

montaropdf opened this issue May 14, 2016 · 8 comments
Assignees

Comments

@montaropdf
Copy link

At the main menu, when starting a game after clicking the start button, the game loads and after a few seconds it crashes with the following output on the terminal:

Opening missing files log: /tmp/fileylbV6O
Opening missing files backtraces: /tmp/fileyLx0ep
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/textures/particles/fluids/awter_splash.tga
E: Could not find Texture: data/textures/particles/fluids/awter_splash.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
E: Could not find Texture: data/models/particles/emitter_shapes/soapy.tga
create new depthstencil buffer size 2048x1024
stack trace:
  ./shadowgrounds : Storm3D_Scene::RenderScene(bool)+0xb36
  ./shadowgrounds : Storm3D_VideoPlayer::play()+0x4b
  ./shadowgrounds : Storm3D_Scene::RenderVideo(char const*, IStorm3D_StreamBuilder*)+0x40
  ./shadowgrounds : ui::GameVideoPlayer::playVideo(IStorm3D_Scene*, char const*, IStorm3D_StreamBuilder*)+0x178
  ./shadowgrounds : main()+0x11da
stack trace:
  ./shadowgrounds : sfx::WaveReader::WaveReader(std::string const&)+0x3e6
  ./shadowgrounds : sfx::Sound::Data::Data(char const*, int)+0x36b
  ./shadowgrounds : sfx::SoundLib::loadSample(char const*)+0x59
  ./shadowgrounds : sfx::SoundMixer::loadSample(char const*, bool)+0x229
  ./shadowgrounds : game::GameUI::playSoundEffect(char const*, float, float, float, bool, int, float, int, bool)+0x47
  ./shadowgrounds : ui::MenuBaseImpl::CursorEvent(OguiButtonEvent*)+0x50
  ./shadowgrounds : ui::MainMenu::CursorEvent(OguiButtonEvent*)+0x5d
  ./shadowgrounds : ogui_button_event_handler(OguiButtonEvent::EVENT_TYPE)+0xa0
  ./shadowgrounds : og_run_gui()+0x8cc
  ./shadowgrounds : Ogui::Run(int)+0x17
  ./shadowgrounds : main()+0x14bb
stack trace:
  ./shadowgrounds : Storm3D_TerrainRendererData::Storm3D_TerrainRendererData(Storm3D&, IStorm3D_TerrainRendererBase&, Storm3D_TerrainHeightmap&, Storm3D_TerrainGroup&, Storm3D_TerrainModels&, Storm3D_TerrainDecalSystem&)+0x1321
  ./shadowgrounds : Storm3D_TerrainRenderer::Storm3D_TerrainRenderer(Storm3D&, Storm3D_TerrainHeightmap&, Storm3D_TerrainGroup&, Storm3D_TerrainModels&, Storm3D_TerrainDecalSystem&)+0x6b
  ./shadowgrounds : Storm3D_Terrain::Storm3D_Terrain(Storm3D&)+0x8a
  ./shadowgrounds : Storm3D::CreateNewTerrain(int)+0x21
  ./shadowgrounds : Terrain::Terrain(IStorm3D*, IStorm3D_Scene*, char const*, char const*, util::AreaMap const*, game::GameMap*, ui::LightManager*, ui::AmbientSoundManager*)+0x3f2
  ./shadowgrounds : ui::TerrainCreator::createTerrain(game::GameMap*, ui::LightManager*, ui::AmbientSoundManager*, char const*)+0x61
  ./shadowgrounds : game::GameUI::setRenderMap(game::GameMap*, char*)+0x166
  ./shadowgrounds : game::Game::startCombat()+0x5d
  ./shadowgrounds : game::Game::run()+0x7c2
  ./shadowgrounds : main()+0x12ab
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/text_scrollable_04.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/text_scrollable_04.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/screens/text_scrollable_02.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/screens/curve_scrollable_01.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/screens/text_scrollable_02.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/screens/text_scrollable_03.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/screens/text_scrollable_04.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/text_scrollable_03.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/text_scrollable_02.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/text_scrollable_01.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/text_scrollable_02.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/text_scrollable_03.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/curve_scrollable_01.dds
stack trace:
  ./shadowgrounds : Storm3D_Texture_Video::ReadAVIVideoInfo()+0xd2
  ./shadowgrounds : Storm3D_Texture_Video::Storm3D_Texture_Video(Storm3D*, char const*, unsigned int)+0x1a2
  ./shadowgrounds : Storm3D::CreateNewTexture(char const*, unsigned int, unsigned int, void const*, unsigned long)+0x3ba
  ./shadowgrounds : Storm3D_Model::LoadS3D(char const*)+0x8da
  ./shadowgrounds : TerrainData::loadObjects()+0x538
  ./shadowgrounds : Terrain::Terrain(IStorm3D*, IStorm3D_Scene*, char const*, char const*, util::AreaMap const*, game::GameMap*, ui::LightManager*, ui::AmbientSoundManager*)+0x478
  ./shadowgrounds : ui::TerrainCreator::createTerrain(game::GameMap*, ui::LightManager*, ui::AmbientSoundManager*, char const*)+0x61
  ./shadowgrounds : game::GameUI::setRenderMap(game::GameMap*, char*)+0x166
  ./shadowgrounds : game::Game::startCombat()+0x5d
  ./shadowgrounds : game::Game::run()+0x7c2
  ./shadowgrounds : main()+0x12ab
Erreur de segmentation (core dumped)

This happens with the Intel GPU and the NVidia one.

System information:
Laptop Asus K73SJ
CPU: Intel core i7
RAM: 8 Go
OS: Fedora 21 64 bits

lspci result for VGA component:

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce GT 520M] (rev ff)

Could the missing textures comes from the game Jack Claw or from survivor and expecting to find the textures of the three games, or did I have a very old version of shadowgrounds data?

@vayerx vayerx self-assigned this May 16, 2016
@montaropdf
Copy link
Author

Some somewhat good news I have found this:

shadowgrounds/fix-files.sh:#data/models/particles/emitter_shapes/soapy.tga is missing, I found it in the JackClaw zip
shadowgrounds/fix-files.sh:convert -size 16x16 'xc:rgba(255, 255, 255, 0)' data/models/particles/emitter_shapes/soapy.tga
[roland@farsight shadowgrounds]$ grep -r awter_splash *                                                                                                                                         
shadowgrounds/fix-files.sh:#Data/Textures/Particles/Fluids/awter_splash.tga is referenced, i guess awter is a typo for water and the needed file should be Data/Textures/Particles/Fluids/splash.tga
shadowgrounds/fix-files.sh:mv splash.tga data/textures/particles/fluids/awter_splash.tga

So it seems that I have to execute the script fix-files.sh to fix some issue with missing files.

I will give it a try and keeps you update.

@montaropdf
Copy link
Author

So as described in the script, I copy it into the installation dir of shadowgrounds and execute it.
Then I go to the build subdir of the source code and start shadowgrounds.

When starting a new game, the game crashes still. Now the only missing files are the DDS files.

Below are the trace:

[roland@farsight build]$ primusrun ./shadowgrounds -d /home/roland/games/shadowgrounds.4git
Opening missing files log: /tmp/fileCTlmDZ
Opening missing files backtraces: /tmp/fileI2qUM7
create new depthstencil buffer size 2048x1024
stack trace:
  ./shadowgrounds : Storm3D_Scene::RenderScene(bool)+0xb36
  ./shadowgrounds : Storm3D_VideoPlayer::play()+0x4b
  ./shadowgrounds : Storm3D_Scene::RenderVideo(char const*, IStorm3D_StreamBuilder*)+0x40
  ./shadowgrounds : ui::GameVideoPlayer::playVideo(IStorm3D_Scene*, char const*, IStorm3D_StreamBuilder*)+0x178
  ./shadowgrounds : main()+0x11da
stack trace:
  ./shadowgrounds : sfx::WaveReader::WaveReader(std::string const&)+0x3e6
  ./shadowgrounds : sfx::Sound::Data::Data(char const*, int)+0x36b
  ./shadowgrounds : sfx::SoundLib::loadSample(char const*)+0x59
  ./shadowgrounds : sfx::SoundMixer::loadSample(char const*, bool)+0x229
  ./shadowgrounds : game::GameUI::playSoundEffect(char const*, float, float, float, bool, int, float, int, bool)+0x47
  ./shadowgrounds : ui::MenuBaseImpl::CursorEvent(OguiButtonEvent*)+0x50
  ./shadowgrounds : ui::MainMenu::CursorEvent(OguiButtonEvent*)+0x5d
  ./shadowgrounds : ogui_button_event_handler(OguiButtonEvent::EVENT_TYPE)+0xa0
  ./shadowgrounds : og_run_gui()+0x8cc
  ./shadowgrounds : Ogui::Run(int)+0x17
  ./shadowgrounds : main()+0x14bb
stack trace:
  ./shadowgrounds : Storm3D_TerrainRendererData::Storm3D_TerrainRendererData(Storm3D&, IStorm3D_TerrainRendererBase&, Storm3D_TerrainHeightmap&, Storm3D_TerrainGroup&, Storm3D_TerrainModels&, Storm3D_TerrainDecalSystem&)+0x1321
  ./shadowgrounds : Storm3D_TerrainRenderer::Storm3D_TerrainRenderer(Storm3D&, Storm3D_TerrainHeightmap&, Storm3D_TerrainGroup&, Storm3D_TerrainModels&, Storm3D_TerrainDecalSystem&)+0x6b
  ./shadowgrounds : Storm3D_Terrain::Storm3D_Terrain(Storm3D&)+0x8a
  ./shadowgrounds : Storm3D::CreateNewTerrain(int)+0x21
  ./shadowgrounds : Terrain::Terrain(IStorm3D*, IStorm3D_Scene*, char const*, char const*, util::AreaMap const*, game::GameMap*, ui::LightManager*, ui::AmbientSoundManager*)+0x3f2
  ./shadowgrounds : ui::TerrainCreator::createTerrain(game::GameMap*, ui::LightManager*, ui::AmbientSoundManager*, char const*)+0x61
  ./shadowgrounds : game::GameUI::setRenderMap(game::GameMap*, char*)+0x166
  ./shadowgrounds : game::Game::startCombat()+0x5d
  ./shadowgrounds : game::Game::run()+0x7c2
  ./shadowgrounds : main()+0x12ab
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/text_scrollable_04.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/text_scrollable_04.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/screens/text_scrollable_02.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/screens/curve_scrollable_01.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/screens/text_scrollable_02.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/screens/text_scrollable_03.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/screens/text_scrollable_04.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/text_scrollable_03.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/text_scrollable_02.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/text_scrollable_01.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/text_scrollable_02.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/text_scrollable_03.dds
E: Could not find Texture: data/models/terrain_objects/furnitures/computers/curve_scrollable_01.dds
stack trace:
  ./shadowgrounds : Storm3D_Texture_Video::ReadAVIVideoInfo()+0xd2
  ./shadowgrounds : Storm3D_Texture_Video::Storm3D_Texture_Video(Storm3D*, char const*, unsigned int)+0x1a2
  ./shadowgrounds : Storm3D::CreateNewTexture(char const*, unsigned int, unsigned int, void const*, unsigned long)+0x3ba
  ./shadowgrounds : Storm3D_Model::LoadS3D(char const*)+0x8da
  ./shadowgrounds : TerrainData::loadObjects()+0x538
  ./shadowgrounds : Terrain::Terrain(IStorm3D*, IStorm3D_Scene*, char const*, char const*, util::AreaMap const*, game::GameMap*, ui::LightManager*, ui::AmbientSoundManager*)+0x478
  ./shadowgrounds : ui::TerrainCreator::createTerrain(game::GameMap*, ui::LightManager*, ui::AmbientSoundManager*, char const*)+0x61
  ./shadowgrounds : game::GameUI::setRenderMap(game::GameMap*, char*)+0x166
  ./shadowgrounds : game::Game::startCombat()+0x5d
  ./shadowgrounds : game::Game::run()+0x7c2
  ./shadowgrounds : main()+0x12ab
Erreur de segmentation (core dumped)

I will check the content of JackClaw for those missing textures and see if adding them in the install dir of shadowgrounds will be enough.

@montaropdf
Copy link
Author

I have performed some additional searches of the missing files. They are in data/textures/animated/ in the installation dir of shadowgrounds. After moving them to the required directory the game still crash but their is no missing files anymore.

Concerning the missing files I can update the fix-files.sh script to add the lines to copy the dds files to the required directory, but wouldn't it be better to fix the code to look into the correct directory?

Concerning the core dump below are the final trace. If you need additional information do not hesitate to ask.

[roland@farsight build]$ primusrun ./shadowgrounds -d /home/roland/games/shadowgrounds.4git/
Opening missing files log: /tmp/fileaRfI78
Opening missing files backtraces: /tmp/file5dud4J
create new depthstencil buffer size 2048x1024
stack trace:
  ./shadowgrounds : Storm3D_Scene::RenderScene(bool)+0xb36
  ./shadowgrounds : Storm3D_VideoPlayer::play()+0x4b
  ./shadowgrounds : Storm3D_Scene::RenderVideo(char const*, IStorm3D_StreamBuilder*)+0x40
  ./shadowgrounds : ui::GameVideoPlayer::playVideo(IStorm3D_Scene*, char const*, IStorm3D_StreamBuilder*)+0x178
  ./shadowgrounds : main()+0x11da
stack trace:
  ./shadowgrounds : sfx::WaveReader::WaveReader(std::string const&)+0x3e6
  ./shadowgrounds : sfx::Sound::Data::Data(char const*, int)+0x36b
  ./shadowgrounds : sfx::SoundLib::loadSample(char const*)+0x59
  ./shadowgrounds : sfx::SoundMixer::loadSample(char const*, bool)+0x229
  ./shadowgrounds : game::GameUI::playSoundEffect(char const*, float, float, float, bool, int, float, int, bool)+0x47
  ./shadowgrounds : ui::MenuBaseImpl::CursorEvent(OguiButtonEvent*)+0x50
  ./shadowgrounds : ui::MainMenu::CursorEvent(OguiButtonEvent*)+0x5d
  ./shadowgrounds : ogui_button_event_handler(OguiButtonEvent::EVENT_TYPE)+0xa0
  ./shadowgrounds : og_run_gui()+0x8cc
  ./shadowgrounds : Ogui::Run(int)+0x17
  ./shadowgrounds : main()+0x14bb
stack trace:
  ./shadowgrounds : Storm3D_TerrainRendererData::Storm3D_TerrainRendererData(Storm3D&, IStorm3D_TerrainRendererBase&, Storm3D_TerrainHeightmap&, Storm3D_TerrainGroup&, Storm3D_TerrainModels&, Storm3D_TerrainDecalSystem&)+0x1321
  ./shadowgrounds : Storm3D_TerrainRenderer::Storm3D_TerrainRenderer(Storm3D&, Storm3D_TerrainHeightmap&, Storm3D_TerrainGroup&, Storm3D_TerrainModels&, Storm3D_TerrainDecalSystem&)+0x6b
  ./shadowgrounds : Storm3D_Terrain::Storm3D_Terrain(Storm3D&)+0x8a
  ./shadowgrounds : Storm3D::CreateNewTerrain(int)+0x21
  ./shadowgrounds : Terrain::Terrain(IStorm3D*, IStorm3D_Scene*, char const*, char const*, util::AreaMap const*, game::GameMap*, ui::LightManager*, ui::AmbientSoundManager*)+0x3f2
  ./shadowgrounds : ui::TerrainCreator::createTerrain(game::GameMap*, ui::LightManager*, ui::AmbientSoundManager*, char const*)+0x61
  ./shadowgrounds : game::GameUI::setRenderMap(game::GameMap*, char*)+0x166
  ./shadowgrounds : game::Game::startCombat()+0x5d
  ./shadowgrounds : game::Game::run()+0x7c2
  ./shadowgrounds : main()+0x12ab
stack trace:
  ./shadowgrounds : Storm3D_Texture_Video::ReadAVIVideoInfo()+0xd2
  ./shadowgrounds : Storm3D_Texture_Video::Storm3D_Texture_Video(Storm3D*, char const*, unsigned int)+0x1a2
  ./shadowgrounds : Storm3D::CreateNewTexture(char const*, unsigned int, unsigned int, void const*, unsigned long)+0x3ba
  ./shadowgrounds : Storm3D_Model::LoadS3D(char const*)+0x8da
  ./shadowgrounds : TerrainData::loadObjects()+0x538
  ./shadowgrounds : Terrain::Terrain(IStorm3D*, IStorm3D_Scene*, char const*, char const*, util::AreaMap const*, game::GameMap*, ui::LightManager*, ui::AmbientSoundManager*)+0x478
  ./shadowgrounds : ui::TerrainCreator::createTerrain(game::GameMap*, ui::LightManager*, ui::AmbientSoundManager*, char const*)+0x61
  ./shadowgrounds : game::GameUI::setRenderMap(game::GameMap*, char*)+0x166
  ./shadowgrounds : game::Game::startCombat()+0x5d
  ./shadowgrounds : game::Game::run()+0x7c2
  ./shadowgrounds : main()+0x12ab
Erreur de segmentation (core dumped)

@vayerx
Copy link
Owner

vayerx commented May 17, 2016

Thanks a lot, I've reproduced it.

@montaropdf
Copy link
Author

As I am facing the same problem in survivor, as reported in issue #20, my guess is that a file is not in a format known by some parts of the code.

What do you think or have found?

@vayerx
Copy link
Owner

vayerx commented May 19, 2016

I haven't looked at the code yet -- don't have much time at working days.
Looks like something has changed in system libraries since 2014, when game run almost successfully :)
Maybe something was broken since c41561e.
I'll have a look at the week-end.

@vayerx vayerx closed this as completed in d8435fa May 22, 2016
@montaropdf
Copy link
Author

I confirmed that it works on my computer.

Thanks.

@vayerx
Copy link
Owner

vayerx commented May 27, 2016

You are welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants