Skip to content

SIGSEGV when launching game on Linux #2025

@TransshipmentEnvoy

Description

@TransshipmentEnvoy

The exception:

Thread 1 "AliceIncrementa" received signal SIGSEGV, Segmentation fault.
0x00005555563462ae in ui::listbox_element_base<ui::save_game_item, std::shared_ptr<ui::save_item> >::on_create (this=0x555560973d10, state=...) at  <prefix>/Project-Alice/src/gui/gui_element_types.hpp:1382
1382                    int16_t offset = ptr->base_data.position.y;

The stacktrace:

#0  0x00005555563462ae in ui::listbox_element_base<ui::save_game_item, std::shared_ptr<ui::save_item> >::on_create (this=0x555560973d10, state=...) at <prefix>/Project-Alice/src/gui/gui_element_types.hpp:1382
#1  0x0000555556346084 in ui::saves_listbox::on_create (this=0x555560973d10, state=...) at <prefix>/Project-Alice/src/gui/gui_nation_picker.hpp:425
#2  0x00005555563457e4 in ui::make_element_by_type<ui::saves_listbox> (state=..., id=...) at <prefix>/Project-Alice/src/gui/gui_element_types.hpp:48
#3  0x00005555563456d7 in ui::saves_window::make_child (this=0x555560973cb0, state=..., name="save_games_list", id=...) at <prefix>/Project-Alice/src/gui/gui_nation_picker.hpp:441
#4  0x00005555558c260a in ui::window_element_base::on_create (this=0x555560973cb0, state=...) at <prefix>/Project-Alice/src/gui/gui_element_types.cpp:1325
#5  0x000055555633b744 in ui::make_element_by_type<ui::saves_window> (state=..., id=...) at <prefix>/Project-Alice/src/gui/gui_element_types.hpp:48
#6  0x000055555633ad6a in ui::nation_picker_container::make_child (this=0x5555608e86d0, state=..., name="save_games", id=...) at <prefix>/Project-Alice/src/gui/gui_nation_picker.hpp:933
#7  0x00005555558c260a in ui::window_element_base::on_create (this=0x5555608e86d0, state=...) at <prefix>/Project-Alice/src/gui/gui_element_types.cpp:1325
#8  0x000055555598bf14 in ui::make_element_by_type<ui::nation_picker_container> (state=..., id=...) at <prefix>/Project-Alice/src/gui/gui_element_types.hpp:48
#9  0x000055555589863d in sys::state::on_create (this=0x555558989e00 <game_state>) at <prefix>/Project-Alice/src/gamestate/system_state.cpp:1214
#10 0x00005555571f1370 in window::create_window (game_state=..., params=...) at <prefix>/Project-Alice/src/window/window_nix.cpp:334
#11 0x0000555557265a92 in main (argc=1, argv=0x7fffffffd1e8) at <prefix>/Project-Alice/src/entry_point_nix.cpp:348

Before it crashes, there is a series of OpenGL errors like this:

OpenGL error 131185 ; Source: OpenGL API call ; Type: Unknown error type; Severity: Notification; Buffer detailed info: Buffer object 83 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations.
OpenGL error 131185 ; Source: OpenGL API call ; Type: Unknown error type; Severity: Notification; Buffer detailed info: Buffer object 93 (bound to GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB (0), and GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations.
OpenGL error 131185 ; Source: OpenGL API call ; Type: Unknown error type; Severity: Notification; Buffer detailed info: Buffer object 95 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations.
[New Thread 0x7ffd8a9ff6c0 (LWP 16936)]
[New Thread 0x7ffd819ff6c0 (LWP 16937)]
OpenGL error 131185 ; Source: OpenGL API call ; Type: Unknown error type; Severity: Notification; Buffer detailed info: Buffer object 95 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations.
OpenGL error 1282 ; Source: OpenGL API call ; Type: General error; Severity: High; GL_INVALID_OPERATION error generated. <texture> does not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions