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

[Regression] Segfault on map load #506

Open
dragonhunt02 opened this issue Mar 10, 2025 · 0 comments
Open

[Regression] Segfault on map load #506

dragonhunt02 opened this issue Mar 10, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@dragonhunt02
Copy link
Contributor

dragonhunt02 commented Mar 10, 2025

Issue description

Before loaded map starts, game crashes.

Issue is present in latest release https://github.com/V-Sekai/v-sekai-game/releases/tag/0.1.0-nightly-2025-03-07T041351-4b792d5_editor-7882a94
Related commit V-Sekai/world-godot@7882a94

Last working version is https://github.com/V-Sekai/v-sekai-game/releases/tag/0.1.0-nightly-2025-03-03T214126-4b792d5_editor-5eb3632

Log

...
background_loader_task_done: user://asset_cache/227eb40aa93193290c8e2adef28b575a.scn, error: OK resource_path: user://asset_cache/227eb40aa93193290c8e2adef28b575a.scn
Sanitising map...
_map_loaded
create_server_state...
_host_create_server_state
_threaded_host_state_initialization_func
Instance map...
Instancing map...
Assigning instanced map...
Instanced map assigned!
Map instanced!
Adding player scene for 1...
Creating entity instantiate NetEntity_Player_1 of type res://addons/vsk_entities/vsk_player_old.tscn
   At: Cannot retrieve debug info outside the main thread. Thread ID: 22
Attempting to register network instance_id 0
ERROR: Multiplayer can only be manipulated from the main thread.
   at: get_multiplayer (scene/main/scene_tree.cpp:1623)
_threaded_host_state_initialization_complete
Spawning entities = [
{ NetEntity_Player_1 }
]
GOT a finished signal!
_host_setup_map
Setting current map...
Current map set!
Scene Tree: Add Entity Command...NetEntity_Player_1
Adding entity: NetEntity_Player_1
My path /root/VSKGameFlowManager/GameViewport/Gameroot/NetEntity_Player_1/PlayerInteractionController camera_con ../TargetSmooth/PlayerCameraController
Got a cam controller PlayerCameraController:<Node3D#1676027103427>
Adding: NetEntity_Player_1:<Node3D#1675154689070>
Segmentation fault (core dumped)

Steps to reproduce

  1. Open V-Sekai https://github.com/V-Sekai/v-sekai-game/releases/tag/0.1.0-nightly-2025-03-07T041351-4b792d5_editor-7882a94
  2. Host Server

Minimal reproduction project (For SDK or engine issues)

No response

Using a released version?

yes

What OS? Any other relevant information? (V-Sekai version, Godot revision, System information)

Ubuntu 24.04

@dragonhunt02 dragonhunt02 added the bug Something isn't working label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant