Skip to content

[GNU/Linux] Segfault upon running my build (OpenCV was disabled) #15

@vanfanel

Description

@vanfanel

Hi there,

I have just tried building and running this (Can't wait to see Abuse at 60/120FPS with VRR!!) but I am facing some difficulties.
When I run the game I have an immediate segfault, even if everything seems to be in place with regards to game data:

~/abuse$ ./abuse -datadir ./data
Data override /root/.local/share/abuse/./
Data path /usr/local/share/abuse
Abuse version 1.0.2
Sound: Loaded soundfont: ./data/soundfonts/AWE64 Gold Presets.sf2
Specs : main file set to abuse.spe
Protocol Installed : UNIX generic TCPIP
Lisp: defined 528 symbols, 321 functions
1 joysticks on system
  - joystick 0 (controller) : Xbox 360 Controller
Joystick : detected
Segmentation fault

This is what a GDB backtrace has to say:

Thread 1 "abuse" received signal SIGSEGV, Segmentation fault.
0x00005555555c8b70 in LObject::Eval() ()
(gdb) bt
#0  0x00005555555c8b70 in LObject::Eval() ()
#1  0x00005555555c4682 in LSysFunction::EvalFunction(LList*) ()
#2  0x00005555555c8734 in LSymbol::EvalFunction(void*) ()
#3  0x00005555555c774a in LSysFunction::EvalFunction(LList*) ()
#4  0x00005555555c8734 in LSymbol::EvalFunction(void*) ()
#5  0x00005555555a9d93 in load_data(int, char**) ()
#6  0x00005555555b61b4 in Game::Game(int, char**) ()
#7  0x0000555555567193 in main ()

I have to add that I disabled opencv dependency on CMakeLists.txt and /src/CMakeLists.txt resulting in abuse-tool not being built because the assets seem to be included with the sources in the data directory.
Libopencv is a HUGE dependency on Debian 13 (1GB!) and I don't think it's really needed if the data is included.
But maybe pre-processed data is needed to avoid this segfault I am seeing when running my build?

Thanks!!

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