falken icon indicating copy to clipboard operation
falken copied to clipboard

Hello Falken crash after run

Open apoenaph opened this issue 3 years ago • 2 comments

Hello,

I followed the steps to have my environment setup. I have the service running, but when I try to run 'hello falken', I see the demo game loading and in a split second, it closes (crash).

I don't have any meaningful logs, but I can share what I have.

Execution Log: C:\falken-main\environments\cpp\hello_falken\build>.\Release\HelloFalken.exe INFO: Starting game with brain_id <new> and snapshot_id <new> INFO: Warning: Unable to set VSync! SDL Error: That operation is not supported INFO: Not using vsync. INFO: Connected to Falken! INFO: Created brain: 6e2c585c-611b-4e59-927b-e378a0dd5d1d INFO: Started session: 7b033385-d540-40b5-b2c9-05b2590795b0

Event Viewer Error: Faulting application name: HelloFalken.exe, version: 0.0.0.0, time stamp: 0x6193ce7c Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0xc0000005 Faulting application path: C:\falken-main\environments\cpp\hello_falken\build\Release\HelloFalken.exe Faulting module path: unknown

Does anyone had this issue?

Is there a way for me to make this execution generate more info? (like a verbose mode?)

apoenaph avatar Nov 16 '21 16:11 apoenaph

I suggest building in debug mode so you can tell what's the call stack at the time of the crash.

hmoraldo avatar Nov 16 '21 17:11 hmoraldo

So, thanks for the quick reply. Unfortunately it did not help much. I rebuilt it in debug, but the outcome is the same.

I also didn't find any different output for this execution. The only difference from the Release is the pdb files (as expected).

Is there anything else I could try?

C:\falken-main\environments\cpp\hello_falken\build>cmake --build . --config Debug -j

...

C:\falken-main\environments\cpp\hello_falken\build>.\Debug\HelloFalken.exe
INFO: Starting game with brain_id <new> and snapshot_id <new>
INFO: Warning: Unable to set VSync! SDL Error: That operation is not supported
INFO: Not using vsync.
INFO: Connected to Falken!
INFO: Created brain: 8aaab552-afcf-4eb7-a648-a96f43b43c89
INFO: Started session: a86a2fd1-1277-4c0b-b74b-feee186a4829

apoenaph avatar Nov 16 '21 18:11 apoenaph