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

[Linux] System-wide hang on tutorial start #15

Open
Houkime opened this issue Jul 25, 2018 · 3 comments
Open

[Linux] System-wide hang on tutorial start #15

Houkime opened this issue Jul 25, 2018 · 3 comments

Comments

@Houkime
Copy link

Houkime commented Jul 25, 2018

OS: Arch Linux as of 22.07.2018

Tutorial draws its elements to a random degree and then a hang occurs.
The only time I managed to get sth in the console output it said (out of logs)

Script Exception: Index out of bounds
 /opt/starruler2/scripts/definitions/artifacts.as
  artifacts::void init() | Line 293 | Col 4
@Rewarp
Copy link

Rewarp commented Aug 6, 2018

Full terminal output after compiling on openSUSE Tumbleweed (20180803), and launching from StarRuler2.sh, followed by clicking the tutorial button.

Initializing sound
Initializing window system
Loading engine settings
Initializing OpenGL Engine
Registering mods
Starting 13 threads on 12 processors.
Loading mod(s)
OpenGL vendor 'X.Org', renderer 'AMD Radeon (TM) R9 380 Series (TONGA, DRM 3.25.0, 4.17.11-1-default, LLVM 6.0.1)'
version '3.1 Mesa 18.1.4'
Loaded in 0.8 seconds
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Shadow scripts: 297ms load, 1305ms compile
Client scripts: 219ms load, 2381ms compile
Server scripts: 305ms load, 3337ms compile
Loaded in 3.6 seconds
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
libpng warning: iCCP: known incorrect sRGB profile
Finished computing hulls in 7794.82ms
Script Exception: Index out of bounds
/home/rewarp/bin/StarRuler2-Source/scripts/definitions/empire_data.as
empire_data::EmpireFlag@ getEmpireFlag(const string&inout) | Line 85 | Col 3
empire_data::void EmpirePortraitCreation::apply(EmpireSettings&inout, Empire@) | Line 290 | Col 3
empire_creation::void init() | Line 54 | Col 3

Script Exception: Null pointer access
/home/rewarp/bin/StarRuler2-Source/scripts/definitions/camps.as
camps::void CampType::init() | Line 73 | Col 4
camps::void initCreepCampTypes() | Line 286 | Col 3
camps::void init() | Line 298 | Col 3

Caught Segfault at 0xcc

Stack trace:
./bin/lin64/StarRuler2.bin() [0x56b9a8]
./bin/lin64/StarRuler2.bin() [0x56ba28]
/lib64/libpthread.so.0(+0x11f70) [0x7f447f4b9f70]
./bin/lin64/StarRuler2.bin() [0x6658d0]
[0x7f42d9ed81c1]

Script Exception: (null)
/home/rewarp/bin/StarRuler2-Source/scripts/server/planets/SurfaceComponent.as
planets.SurfaceComponent::void SurfaceComponent::updateIcon(Object&inout) | Line 2170 | Col 4
planets.SurfaceComponent::void SurfaceComponent::applyLevel(Object&inout, const PlanetLevel@, const PlanetLevel@, bool = false) | Line 1529 | Col 4
planets.SurfaceComponent::void SurfaceComponent::setLevel(Object&inout, uint, bool = false, bool = false) | Line 1489 | Col 3
planets.SurfaceComponent::void SurfaceComponent::initSurface(Object&inout, int, int, const Biome@, const Biome@, const Biome@, const ResourceType@) | Line 354 | Col 3
planets.SurfaceComponent::void SurfaceComponent::initSurface(Object&inout, int, int, uint, uint, uint, uint) | Line 322 | Col 3

Aborted (core dumped)

@Elinvention
Copy link

I had the same problem due to a crash in the AMDGPU driver:

[drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=772, emitted seq=775
[drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process StarRuler2.bin pid 2159 thread StarRuler2:cs0 pid 2175

My GPU is an AMD R7 370. Lowering the shader quality to low seems to fix this issue.

@DaloLorn
Copy link
Contributor

Graphics drivers shouldn't have much to do with the OP's IOOB exception... or the exceptions in Rewarp's comment, for that matter. They could, however, be responsible for all the libpng warnings and the segfault.

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

No branches or pull requests

4 participants