SIGABRT on fresh Gentoo install.

SIGABRT on fresh Gentoo install.

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
verb0ss
Posts: 13
Joined: 07 Dec 2009, 02:06

SIGABRT on fresh Gentoo install.

Post by verb0ss »

Hello. I have A SIGABRT crash every time i try to run Spirng. Any idea what causes it? Has it got anything to do with sound (openal)?

Code: Select all

Using writeable configuration source: "/home/verb0ss/.config/spring/springsettings.cfg"
Available log sections: KeyBindings, ModelRenderContainer, GameServer, CSMFGroundTextures, OBJParser, Model, SkyBox, BumpWater, Path, CregSerializer, VFS, Font, RoamMeshDrawer, DynWater, GroundMoveType, CrashHandler, Piece, ArchiveScanner, Net, DecalsDrawerGL4, Sound, AutohostInterface, Shader, FarTextureHandler, Texture, LuaSocket
Enabled log sections: Sound(Notice)
Enable or disable log sections using the LogSections configuration key
  or the SPRING_LOG_SECTIONS environment variable (both comma separated).
  Use "none" to disable the default log sections.
LogOutput initialized.
============== <User Config> ==============
============== </User Config> ==============
============== <User System> ==============
  Spring 104.0
    Build Environment: boost-106500, GNU libstdc++ version 20170704
     Compiler Version: gcc-6.4.0
     Operating System: Linux 4.13.6-gentoo #1 SMP Sat Oct 14 15:50:34 BST 2017 x86_64
     Binary Word Size: 64-bit (native)
     Deque Chunk Size: 256
        Process Clock: std::chrono::high_resolution_clock
   Physical CPU Cores: 8
    Logical CPU Cores: 8
============== </User System> ==============
[good_fpu_init] CPU SSE mask: 1023, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  1, SSSE 3.0:  1
	SSE 4.1:  1,  SSE 4.2:  1
	SSE 4.0A: 1,  SSE 5.0A: 1
	using streflop SSE FP-math mode, CPU supports SSE instructions
[WatchDogInstall] Installed (HangTimeout: 10sec)
[WatchDog::RegisterThread] registering controls for thread [main]
[GL::CheckAvailableVideoModes] desktop={1440x900x24bpp@60Hz} current={1440x900x24bpp@60Hz}
	display=1 modes=14 bounds={x=0, y=0, w=1440, h=900}
		[ 1] 1440x900x24bpp@75Hz
[GR::CreateSDLWindow] using 0x anti-aliasing and 24-bit depth-buffer (PF="SDL_PIXELFORMAT_RGB888")
[GR::LogVersionInfo]
	SDL version : 2.0.6 (linked) / 2.0.6 (compiled)
	GL version  : 4.6.0 NVIDIA 387.12
	GL vendor   : NVIDIA Corporation
	GL renderer : GeForce GTX 460/PCIe/SSE2
	GLSL version: 4.60 NVIDIA
	GLEW version: 2.1.0
	GPU memory  : 1024MB (total) / 770MB (available)
	SDL swap-int: 1
	
	ARB shader support        : 1
	GLSL shader support       : 1
	FBO extension support     : 1
	NVX GPU mem-info support  : 1
	ATI GPU mem-info support  : 0
	NPOT-texture support      : 1 (1)
	texture query-LOD support : 1 (1)
	24-bit Z-buffer support   : 1 (-)
	primitive-restart support : 1 (1)
	clip-space control support: 1 (1)
	frag-depth layout support : 1 (-)
	
	max. FBO samples             : 32
	max. texture size            : 16384
	max. texture anisotropy level: 16.000000
	max. vec4 varyings/attributes: 31/16
	max. draw-buffers            : 8
	max. rec. indices/vertices   : 1048576/1048576
	max. uniform buffer-bindings : 84
	max. uniform block-size      : 64KB
	
	enable ATI-hacks : 0
	compress MIP-maps: 0
[GR::ToggleGLDebugOutput] OpenGL debug-context not installed (dbgErrors=0 dbgTraces=0)
[VSync::SetInterval] interval=0 (disabled)
[GR::LogDisplayMode] display-mode set to 1440x900x24bpp@60Hz (fullscreen::decorated)
Using read-write data directory: /home/verb0ss/.config/spring/
Using read-only data directory: /opt/springrts.com/spring/104.0/share/games/spring/
Scanning: /opt/springrts.com/spring/104.0/share/games/spring/base
[~ScopedOnceTimer][CArchiveScanner::ScanAllDirs] 0ms
[ThreadPool::SetThreadCount][1] wanted=4 current=1 maximum=8 (init=1)
[ThreadPool::SetThreadCount][2] workers=3
[Threading] Main thread CPU affinity mask set: 24 (config is 248)
[f=-000001] [Sound] [Sound::UpdateThread][1] cfgMaxSounds=128
[f=-000001] [~ScopedOnceTimer][ISound::Init::New] 0ms
[f=-000001] [CrashHandler] Warning: Setting a ThreadControls object on a thread that already has such an object registered.
[f=-000001] [Sound] [ISound::Initialize] spawning sound-thread (0.0ms)
[f=-000001] [WatchDog::RegisterThread] registering controls for thread [audio]
[f=-000001] [Sound] [Sound::InitThread][1]
[f=-000001] [Sound] [Sound::InitThread][2] opening default device "OpenAL Soft"
[f=-000001] [CrashHandler] Error: Aborted (SIGABRT) in spring 104.0
[f=-000001] [CrashHandler] Error: Halted Stacktrace for Spring 104.0 using libunwind:
[f=-000001] [Sound] [ISound::Initialize] spawning sound-thread (100.1ms)
[f=-000001] [Sound] [ISound::Initialize] spawning sound-thread (210.5ms)
[f=-000001] [CrashHandler] Error: [00]                                                                                                bencode.cpp:?  CrashHandler::HaltedStacktrace(std::__cxx11::basic_string<char, std::char_traits<char>, std::a [...]
[f=-000001] [CrashHandler] Error: [01]                                                                                                bencode.cpp:?  CrashHandler::HandleSignal(int, siginfo_t*, void*)
[f=-000001] [CrashHandler] Error: [02]                                                            /lib64/libpthread.so.0(+0x13aa0) [0x7f2056103aa0]  __restore_rt
[f=-000001] [CrashHandler] Error: [03]                                                              /lib64/libc.so.6(gsignal+0xa8) [0x7f2052adc8f8]  gsignal
[f=-000001] [CrashHandler] Error: [04]                                                               /lib64/libc.so.6(abort+0x179) [0x7f2052ade459]  abort
[f=-000001] [CrashHandler] Error: [05]   /usr/lib64/libtcmalloc.so.4(_ZN8tcmalloc3LogENS_7LogModeEPKciNS_7LogItemES3_S3_S3_+0x233) [0x7f2053ebb0b3]  tcmalloc::Log(tcmalloc::LogMode, char const*, int, tcmalloc::LogItem, tcmalloc::LogItem, tcmal [...]
[f=-000001] [CrashHandler] Error: [06]                                                       /usr/lib64/libtcmalloc.so.4(+0x1784c) [0x7f2053eaf84c]  ??
[f=-000001] [CrashHandler] Error: [07]                                                         /usr/lib64/libopenal.so.1(+0x3b239) [0x7f205380b239]  alcCreateContext
[f=-000001] [CrashHandler] Error: [08]                                                         /usr/lib64/libopenal.so.1(+0x2eb59) [0x7f20537feb59]  alcCreateContext
[f=-000001] [CrashHandler] Error: [09]                                                         /usr/lib64/libopenal.so.1(+0x227e4) [0x7f20537f27e4]  alcGetCurrentContext
[f=-000001] [CrashHandler] Error: [10]                                                            /lib64/libpthread.so.0(+0x10739) [0x7f2056100739]  __pthread_once_slow
[f=-000001] [CrashHandler] Error: [11]                                               /usr/lib64/libopenal.so.1(alcOpenDevice+0x34) [0x7f20537f3f7c]  alcOpenDevice
[f=-000001] [CrashHandler] Error: [12]                                                                                                bencode.cpp:?  CSound::InitThread(int)
[f=-000001] [CrashHandler] Error: [13]                                                                                                bencode.cpp:?  CSound::UpdateThread(int)
[f=-000001] [CrashHandler] Error: [14]                                                                                                bencode.cpp:?  Threading::ThreadStart(std::function<void ()>, std::shared_ptr<Threading::ThreadControls>*, Th [...]
[f=-000001] [CrashHandler] Error: [15]                                                                                                bencode.cpp:?  std::thread::_State_impl<std::_Bind_simple<std::_Bind<void (*(std::function<void ()>, std::sha [...]
[f=-000001] [CrashHandler] Error: [16]                             /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6(+0xde79e) [0x7f205323e79e]  std::error_code::default_error_condition() const
[f=-000001] [CrashHandler] Error: [17]                                                             /lib64/libpthread.so.0(+0x7867) [0x7f20560f7867]  start_thread
[f=-000001] [CrashHandler] Error: [18]                                                                /lib64/libc.so.6(clone+0x3f) [0x7f2052b9dcef]  clone
[f=-000001] [WatchDog::DeregisterThread] deregistering controls for thread [audio]
[f=-000001] [Sound] [ISound::Initialize] spawning sound-thread (310.8ms)
[f=-000001] [Sound] [ISound::Initialize] spawning sound-thread (411.0ms)
[f=-000001] [Sound] [ISound::Initialize] spawning sound-thread (511.2ms)
[f=-000001] [Sound] [ISound::Initialize] spawning sound-thread (611.3ms)
[f=-000001] [Sound] [ISound::Initialize] spawning sound-thread (711.5ms)
[f=-000001] [Sound] [ISound::Initialize] spawning sound-thread (811.7ms)
[f=-000001] [Sound] [ISound::Initialize] spawning sound-thread (911.9ms)
[f=-000001] Error: [ExitSpringProcess] errorMsg="Spring has crashed:
Aborted (SIGABRT).

A stacktrace has been written to:
  /home/verb0ss/.config/spring/infolog.txt" msgCaption="Spring crashed" mainThread=0

abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: SIGABRT on fresh Gentoo install.

Post by abma »

it looks like initializing the sound device causes this.

you could try to run spring without sound: set Sound=0

https://springrts.com/wiki/Springsettings.cfg#Sound
verb0ss
Posts: 13
Joined: 07 Dec 2009, 02:06

Re: SIGABRT on fresh Gentoo install.

Post by verb0ss »

Hi. Could of have try it in the first place. Yes with sound disabled Spring loads as expected. Any idea is it openal or pulseaudio that causes it?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: SIGABRT on fresh Gentoo install.

Post by abma »

spring uses openal: so you should check that first. AFAIK OpenAL could use pulseaudio.

The stacktrace indicates that it crashes in openal... not sure how to check if openal works correctly.


tcmalloc is in the stacktrace, too: maybe just recompile tcmalloc and openal.
Post Reply

Return to “Help & Bugs”