View Issue Details

IDProjectCategoryLast Update
0021894AI War 2Crash/ExceptionOct 23, 2019 7:11 pm
Reporteralexandria Assigned To 
Status newResolutionopen 
Product Version1.001 Official Game Launch! 
Summary0021894: Segmentation fault on run due to NULL Pointer Exception
DescriptionStarting the game causes a black screen for a couple of milliseconds before disappearing.
I couldn't find a dupe of this bug but there are a couple of thousand pages of crashes/exceptions I'm not really able to sift through :D

I've attached:
* Output the game sent to stdout/stderr
* Output from `gdb` (Which doesn't seem to be useful probably because child-follow-thread wasn't set)
* My `Player.log` with error data
* My `uname -a` output in case that's useful.

I'm willing to provide more data on request.
TagsNo tags attached.

Activities

alexandria

Oct 23, 2019 5:21 pm

reporter  

game_output_2019-10-23.log (559 bytes)   
Set current directory to /aux2/steamgames/steamapps/common/AI War 2
Found path: /aux2/steamgames/steamapps/common/AI War 2/AIWar2Linux.x86_64
Mono path[0] = '/aux2/steamgames/steamapps/common/AI War 2/AIWar2Linux_Data/Managed'
Mono config path = '/aux2/steamgames/steamapps/common/AI War 2/AIWar2Linux_Data/MonoBleedingEdge/etc'
Preloaded 'libsteam_api.so'
Preloaded 'ScreenSelector.so'
Display 0 'C-17 17"': 1280x1024 (primary device).
Display 1 '1': 1366x768 (secondary device).
Logging to /home/alx/.config/unity3d/Editor/Player.log
Aborted (core dumped)

game_output_2019-10-23.log (559 bytes)   
Player.log (1,256 bytes)   
Desktop is 1280 x 1024 @ 75 Hz
[Vulkan init] extensions: count=2
[Vulkan init] extensions: name=VK_EXT_debug_report, enabled=0
[Vulkan init] extensions: name=VK_EXT_debug_utils, enabled=0
Vulkan error VK_ERROR_INCOMPATIBLE_DRIVER (-9) file: ./Runtime/GfxDevice/vulkan/VKContext.cpp, line: 333
Vulkan error./Runtime/GfxDevice/vulkan/VKContext.cpp:333
Vulkan detection: 0
Initialize engine version: 2019.1.7f1 (f3c4928e5742)
GfxDevice: creating device client; threaded=1
[Vulkan init] extensions: count=2
[Vulkan init] extensions: name=VK_EXT_debug_report, enabled=0
[Vulkan init] extensions: name=VK_EXT_debug_utils, enabled=0
Vulkan error VK_ERROR_INCOMPATIBLE_DRIVER (-9) file: ./Runtime/GfxDevice/vulkan/VKContext.cpp, line: 333
Vulkan error./Runtime/GfxDevice/vulkan/VKContext.cpp:333
Receiving unhandled NULL exception
#0  0x007f00c45d1418 in vkEnumeratePhysicalDevices
#1  0x000000008745ca in (Unknown)
#2  0x00000000875f34 in (Unknown)
#3  0x000000008a478b in (Unknown)
#4  0x0000000082786f in (Unknown)
#5  0x00000000c78ad2 in (Unknown)
#6  0x00000000c7bd61 in (Unknown)
#7  0x00000000b7bfeb in (Unknown)
#8  0x00000000b8dff3 in (Unknown)
#9  0x00000000434a15 in (Unknown)
#10 0x007f00f677cb97 in __libc_start_main
#11 0x00000000445803 in (Unknown)
Player.log (1,256 bytes)   
uname_output_2019-10-23T22:17+01:00.log (109 bytes)   
Linux (redacted) 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
gdb_output_2019-10-23T22:16+01:00.log (2,348 bytes)   
Reading symbols from ./AIWar2Linux.x86_64...(no debugging symbols found)...done.
(gdb) run
Starting program: /aux2/steamgames/steamapps/common/AI War 2/AIWar2Linux.x86_64 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff4cf7700 (LWP 8579)]
[New Thread 0x7fffed7df700 (LWP 8580)]
Found path: /aux2/steamgames/steamapps/common/AI War 2/AIWar2Linux.x86_64
Mono path[0] = '/aux2/steamgames/steamapps/common/AI War 2/AIWar2Linux_Data/Managed'
Mono config path = '/aux2/steamgames/steamapps/common/AI War 2/AIWar2Linux_Data/MonoBleedingEdge/etc'
[New Thread 0x7fffec225700 (LWP 8581)]

Thread 4 "Finalizer" received signal SIGPWR, Power fail/restart.
[Switching to Thread 0x7fffec225700 (LWP 8581)]
0x00007ffff72046d6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x7fffecbaa6b0)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
205	../sysdeps/unix/sysv/linux/futex-internal.h: No such file or directory.
(gdb) bt
#0  0x00007ffff72046d6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x7fffecbaa6b0)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0x7fffecbaa6b0, abstime=0x0) at sem_waitcommon.c:111
#2  0x00007ffff72047c8 in __new_sem_wait_slow (sem=0x7fffecbaa6b0, abstime=0x0) at sem_waitcommon.c:181
#3  0x00007fffec858700 in ?? ()
   from /aux2/steamgames/steamapps/common/AI War 2/AIWar2Linux_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so
#4  0x00007fffec858a43 in ?? ()
   from /aux2/steamgames/steamapps/common/AI War 2/AIWar2Linux_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so
#5  0x00007fffec82a289 in ?? ()
   from /aux2/steamgames/steamapps/common/AI War 2/AIWar2Linux_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so
#6  0x00007fffec88b843 in GC_inner_start_routine ()
   from /aux2/steamgames/steamapps/common/AI War 2/AIWar2Linux_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so
#7  0x00007fffec8805b6 in GC_call_with_stack_base ()
   from /aux2/steamgames/steamapps/common/AI War 2/AIWar2Linux_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so
#8  0x00007ffff71fb6db in start_thread (arg=0x7fffec225700) at pthread_create.c:463
#9  0x00007ffff6f2488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) quit

BadgerBadger

Oct 23, 2019 5:26 pm

manager   ~0053890

This error looks like its coming from Vulkan:
Desktop is 1280 x 1024 @ 75 Hz
[Vulkan init] extensions: count=2
[Vulkan init] extensions: name=VK_EXT_debug_report, enabled=0
[Vulkan init] extensions: name=VK_EXT_debug_utils, enabled=0
Vulkan error VK_ERROR_INCOMPATIBLE_DRIVER (-9) file: ./Runtime/GfxDevice/vulkan/VKContext.cpp, line: 333
Vulkan error./Runtime/GfxDevice/vulkan/VKContext.cpp:333

BadgerBadger

Oct 23, 2019 5:40 pm

manager   ~0053891

I note you're running a bit of an older kernel.

Googling VK_ERROR_INCOMPATIBLE_DRIVER shows it to be a reasonably common error message. What's your video card and what drivers are you using?

alexandria

Oct 23, 2019 6:50 pm

reporter   ~0053906

Video card is (from the product spec) "Intel Core i5-4288U with Intel HD Graphics 5100 (2.6 GHz, 3 MB cache, 2 cores)".

Running using OpenGL works but is abysmally slow (and has no ability to turn down graphics quality), even after closing the damn game.

As for graphics drivers:

23:49 alx$ lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
    Subsystem: Hewlett-Packard Company Haswell-ULT Integrated Graphics Controller
    Kernel driver in use: i915
    Kernel modules: i915

BadgerBadger

Oct 23, 2019 7:11 pm

manager   ~0053907

What does running vulkaninfo show?

Issue History

Date Modified Username Field Change
Oct 23, 2019 5:21 pm alexandria New Issue
Oct 23, 2019 5:21 pm alexandria File Added: game_output_2019-10-23.log
Oct 23, 2019 5:21 pm alexandria File Added: Player.log
Oct 23, 2019 5:21 pm alexandria File Added: uname_output_2019-10-23T22:17+01:00.log
Oct 23, 2019 5:21 pm alexandria File Added: gdb_output_2019-10-23T22:16+01:00.log
Oct 23, 2019 5:23 pm alexandria Description Updated
Oct 23, 2019 5:24 pm alexandria Description Updated
Oct 23, 2019 5:26 pm BadgerBadger Note Added: 0053890
Oct 23, 2019 5:40 pm BadgerBadger Note Added: 0053891
Oct 23, 2019 6:50 pm alexandria Note Added: 0053906
Oct 23, 2019 7:11 pm BadgerBadger Note Added: 0053907