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

Game crashes on hyperjump with star field density set to 0 #5880

Open
Maks2103 opened this issue Jul 31, 2024 · 1 comment
Open

Game crashes on hyperjump with star field density set to 0 #5880

Maks2103 opened this issue Jul 31, 2024 · 1 comment

Comments

@Maks2103
Copy link

Observed behaviour

With star field density parameter set to zero, game crashes whenever trying to hyperjump

Expected behaviour

Hyperjump working as usual.

Steps to reproduce

Load game with the "Density of the star field" parameter set to 0, try to jump to another system (for example, from Sol to Sirius)

Latest bug-free version

Release from 03.02.2024

My pioneer version (and OS):
Pioneer: v10.07.2024, OS: Windows 10

My output.txt (required) and game save (optional, but recommended)
output.txt
Somewhat graphic-related, so here's this as well: opengl.txt
As for the save - new game would do for testing

@impaktor
Copy link
Member

impaktor commented Aug 1, 2024

Info: 0 clouds brought over
Info: Started hyperspacing...

Thread 1 "pioneer" received signal SIGSEGV, Segmentation fault.
0x00005555557247cd in Background::Starfield::Draw (this=0x555569246170) at /home/karlf/usr/src/pioneer/src/Background.cpp:613
613				Graphics::VertexBuffer *buffer = m_animMesh->GetVertexBuffer();
(gdb) bt
#0  0x00005555557247cd in Background::Starfield::Draw (this=0x555569246170) at /home/karlf/usr/src/pioneer/src/Background.cpp:613
#1  0x0000555555736e93 in Camera::Draw (this=0x55555dcd6670, excludeBody=excludeBody@entry=0x0) at /home/karlf/usr/src/pioneer/src/Camera.cpp:290
#2  0x00005555557e2095 in WorldView::Draw3D (this=0x5555568712a0) at /usr/include/c++/14.1.1/bits/unique_ptr.h:193
#3  0x000055555561ad7a in GameLoop::Update (this=0x555555be3210, deltaTime=0.0167936012) at /home/karlf/usr/src/pioneer/src/Pi.cpp:1011
#4  0x00005555555ed4ef in Application::Run (this=0x555555be2fb0) at /home/karlf/usr/src/pioneer/src/core/Application.cpp:193
#5  0x00005555555e6504 in main (argc=<optimized out>, argv=<optimized out>) at /home/karlf/usr/src/pioneer/src/Pi.h:144

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

3 participants