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

ent_create without arguments causes segfault #199

Open
hemebond opened this issue Sep 18, 2024 · 1 comment
Open

ent_create without arguments causes segfault #199

hemebond opened this issue Sep 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hemebond
Copy link
Contributor

hemebond commented Sep 18, 2024

Loaded up e1m1 with sv_cheats enabled and typed ent_create command into the console without any arguments and it caused a segfault:

]ent_create

server EDICT 164:
origin         '575.968994 -112.632004 39.0764999'
classname      
Host_Error: SVVM_ExecuteProgram: 
SV_Shutdown
Client "player" dropped (Server shutting down)
CL_Disconnect
CSQC unloaded
Sending clc_disconnect
Disconnect: Host_Error: SVVM_ExecuteProgram: 
ERROR: can't deactivate vsync because No OpenGL context has been made current


    Engine Crash: Segmentation fault    
[0x560875fffc20]
DarkPlaces-Quake Linux v20140513-1571-g16ebb998~ Sep 18 2024 release GCC

The command should print help text when no arguments (or the wrong arguments) are provided.

@hemebond hemebond added the bug Something isn't working label Sep 18, 2024
@Baker7
Copy link

Baker7 commented Oct 1, 2024

One of the shutdown changes implemented probably is causing this.

In Zircon, does not segfault on Windows. Loaded Linux SDL version of Zircon via WSL and "ent_create" does not segfault either.

This probably also means the segfault can be caused by other methods that create a host error -- not just "ent_create" failure.

Introduction
testing connected
testing entered the game
]ent_create

server EDICT 84:
origin '544 1407.96997 50.0312996'
classname
Host_Error: SVVM_ExecuteProgram:
Client "testing" dropped (Server shutting down)
Disconnected

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

3 participants