X Tutup
Skip to content

[crash] SIGSEGV in Body::GetPositionRelTo #5711

@hexagonrecursion

Description

@hexagonrecursion

Observed behaviour

The game crashes soon after I jump into this specific system

Stack trace:

#0  0x000055555579b92c in Body::GetPositionRelTo (this=0x0, relToId=...) at /run/build/pioneer/src/Body.cpp:203
#1  0x000055555579bb97 in Body::GetPositionRelTo (this=<optimized out>, relTo=<optimized out>) at /run/build/pioneer/src/Body.cpp:221
#2  0x000055555568b1d4 in AICmdFlyAround::TimeStepUpdate (this=0x55555dc29350) at /run/build/pioneer/src/ShipAICmd.cpp:1519
#3  0x0000555555813469 in Ship::AITimeStep (this=0x55555dc26380, timeStep=timeStep@entry=0.0166666675) at /run/build/pioneer/src/Ship-AI.cpp:37
#4  0x000055555577d8a8 in ShipController::StaticUpdate (this=0x55555a22f600, timeStep=0.0166666675) at /run/build/pioneer/src/ship/ShipController.cpp:11
#5  0x000055555567a56a in Ship::StaticUpdate (this=0x55555dc26380, timeStep=0.0166666675) at /run/build/pioneer/src/Ship.cpp:1215
#6  0x000055555569caa5 in Space::TimeStep (this=0x55555cf630a0, step=step@entry=0.0166666675) at /run/build/pioneer/src/Space.cpp:1042
#7  0x00005555557c5a7f in Game::TimeStep (this=0x55555a2160d0, step=0.0166666675) at /usr/include/c++/12.2.0/bits/unique_ptr.h:191
#8  0x00005555556466c2 in GameLoop::Update (this=0x555555bd63e0, deltaTime=0.0165723618) at /run/build/pioneer/src/Pi.cpp:944
#9  0x00005555555f5eb4 in Application::Run (this=0x555555bd5ff0) at /run/build/pioneer/src/core/Application.cpp:192
#10 0x00005555555d528c in main (argc=1, argv=<optimized out>) at /run/build/pioneer/src/main.cpp:186

Expected behaviour

No crash

Steps to reproduce

  1. Load the attached save
  2. Unpause
  3. Wait 30 seconds
  4. Crash

My pioneer version (and OS): 20231204 (and Fedora release 39)

My output.txt (required) and game save (optional, but recommended)

output.txt
Alice 222.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup