Can't start game, Ubuntu

https://attnam.com/topics/Cant-start-game-Ubuntu

The Cathedral of Attnam > Trouble Shooting and Bugs

#1 Jan 20, 2022, 1:12 pm Hide

max220

I'm on Ubuntu 18 compiling the game using cmake, whenever I press "Start game" it crashes and gives me the message:

Segmentation fault
./Main/ivan(_ZN18globalerrorhandler22DumpStackTraceToStdErrEi+0x34)[0x55d9d911a792]
./Main/ivan(_Z12CrashHandleri+0x15)[0x55d9d90ab870]
/lib/x86_64-linux-gnu/libc.so.6(+0x3f040)[0x7f0be6527040]
/lib/x86_64-linux-gnu/libc.so.6(rewind+0x1)[0x7f0be6570481]
./Main/ivan(_ZN8iosystem14StringQuestionER8festringRKS0_2v2immbbPFbiS1_E+0x222)[0x55d9d911c1e6]
./Main/ivan(_ZN4game4InitERK8festring+0x136)[0x55d9d8fcb6cc]
./Main/ivan(main+0x9e8)[0x55d9d90ac2af]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f0be6509bf7]
./Main/ivan(_start+0x2a)[0x55d9d8e8cada]

any help? I've tried rebuilding it from scratch to no avail...
#2 Jan 25, 2022, 5:16 am Hide

GottaGoFast

Same issue here on linux mint 20.3.

I was playing the game with Wine, but I've had several game-breaking crashes so I thought it was a wine problem, and that they would disappear when playing natively.
Game compiles properly. Editing any config or starting the game however, segfaults the game.

Attached here is a handy-dandy pic of the crash.
#3 Jan 25, 2022, 1:21 pm Hide

Batman?

I think its cool you have been lurking since '16 and only posted twice.
#4 Jan 29, 2022, 4:48 am Hide

red_kangaroo

A string question history was introduced here and it seems that both crashes are caused by a string question.

I opened an issue.
#5 Mar 18, 2022, 5:24 am Hide

SSUPII

I made a pull request about it. Let me know if it works and if it doesn't break anything else.
https://github.com/Attnam/ivan/pull/647
(Kinda struggling to make it a link in this forum)
#6 Mar 23, 2022, 5:01 am Hide

fejoa

I guess like this?
I think you want the chain-link symbol to make urls.

Anyway, merged, thanks