spring crashes with segmentation fault iff invoked with optirun

Bug #1405518 reported by Karl-Philipp Richter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bumblebee
New
Undecided
Unassigned

Bug Description

invoking `spring` 0.96.0 with `optirun` 3.2.1 (running on Ubuntu 14.10 with Linux 3.19-rc1 and nvidia-340) causes a crash which doesn't occur when `spring` is invoked without `optirun`. The output is

    [ParseCmdLine] command-line args: "spring"
    Using configuration source: "/home/richter/.config/spring/springsettings.cfg"
    Available log sections: KeyBindings, Sound, Font, AutohostInterface, Net, VFS, Texture, Path, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, DecalsDrawerGL4, FarTextureHandler, Shader, Piece, Model, ModelDrawer, OBJParser, WorldObjectModelRenderer, GroundMoveType, UnitScript, CregSerializer, ArchiveScanner, LuaSocket
    Enabled log sections: Sound(LOG_LEVEL_INFO)
    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.
    Spring 96.0
    Build date/time: Jun 2 2014 05:25:24
    Build environment: boost-105500, GNU libstdc++ version 20140527
    Compiler: gcc-4.8.3
    OS: Linux 3.19.0-031900rc1-generic #201412210135 SMP Sun Dec 21 01:36:56 UTC 2014 x86_64
    OS: 64bit native mode
    [CMyMath::Init] CPU SSE mask: 127, 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: 0, SSE 5.0A: 0
     using streflop SSE FP-math mode, CPU supports SSE instructions
    Supported Video modes: 3046x1050, 1366x768, 1360x768, 1024x768, 800x600, 640x480
    [SetSDLVideoMode] video mode set to 3046x1050/32bit
    Error: Segmentation fault (SIGSEGV) in spring 96.0
    Error: Stacktrace for Spring 96.0:
    Error: <0> /lib/x86_64-linux-gnu/libpthread.so.0(+0xfc90) [0x7fca99589c90]
    Error: <1> ??:?
    Error: <2> ??:?
    Error: <3> ??:?
    Error: <4> ??:?
    Error: <5> ??:?
    Error: <6> ??:?
    Error: <7> ??:?
    Error: <8> spring() [0x4836dc]
    Error: <9> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fca96136ec5]
    Error: <10> ??:?
    Error: [ErrorMessageBox][1] msg="Spring has crashed:
    Segmentation fault (SIGSEGV).

    A stacktrace has been written to:
      /home/richter/.config/spring/infolog.txt" IsMainThread()=1 fromMain=0
    Error: [ErrorMessageBox][2]
    [SpringApp::ShutDown][1]
    [ThreadPool::SetThreadCount][1] #wanted=0 #current=1
    [ThreadPool::SetThreadCount][2] #threads=0
    [SpringApp::ShutDown][2]
    [SpringApp::ShutDown][3]
    [SpringApp::ShutDown][4]
    [SpringApp::ShutDown][5]
    [SpringApp::ShutDown][6]
    [SpringApp::ShutDown][7]
    [SpringApp::ShutDown][8]
    [SpringApp::ShutDown][9]
    [SpringApp::ShutDown][10]
    [SpringApp::ShutDown][11]
    [WatchDog::Uninstall][1] hangDetectorThread=(nil)
    [SpringApp::ShutDown][12]
    Error: [ErrorMessageBox][3]
    Error: [ErrorMessageBox][4]
    Fatal: Spring crashed
    Spring has crashed:
    Segmentation fault (SIGSEGV).

    A stacktrace has been written to:
      /home/richter/.config/spring/infolog.txt

The mentioned log file `infolog.txt` contains the exact same.

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.