Perception Crash When Running Bohemia VBS2

The place for all discussion of the Oculus Rift compatible open source 3D drivers.
Post Reply
MoparVR
One Eyed Hopeful
Posts: 1
Joined: Mon Jan 12, 2015 2:02 pm

Perception Crash When Running Bohemia VBS2

Post by MoparVR »

I am very new to VireIO/Perception, but I am hoping it may allow me to use the Oculus Rift with Bohemia Interactive Virtual Battlespace 2 (VBS2). I successfully got the Perception code compiling in VS 2012 and got this DbgView trace when VBS2 crashes. The crash occurs when the software begins drawing the 3D visual database. The 2D menus, etc. upon startup work fine. Does this trace offer any insight into why the crash is happening?

Thanks,

00000329 9.76284599 [6388] Called DllMain with DLL_THREAD_ATTACH
00000330 9.76287556 [6388] Called DllMain with DLL_THREAD_ATTACH
00000331 10.52846622 [6388] Called DllMain with DLL_THREAD_ATTACH
00000332 10.52849483 [6388] Called DllMain with DLL_THREAD_ATTACH
00000333 10.63063145 [6388] Called DllMain with DLL_THREAD_ATTACH
00000334 10.63065910 [6388] Called DllMain with DLL_THREAD_ATTACH
00000335 10.63169289 [6388] Called DllMain with DLL_THREAD_ATTACH
00000336 10.63172531 [6388] Called DllMain with DLL_THREAD_ATTACH
00000337 10.63371181 [6388] Called DllMain with DLL_THREAD_ATTACH
00000338 10.63375473 [6388] Called DllMain with DLL_THREAD_ATTACH
00000339 10.63392544 [6388] Called DllMain with DLL_THREAD_ATTACH
00000340 10.63395596 [6388] Called DllMain with DLL_THREAD_ATTACH
00000341 11.03227329 [6388] Called DllMain with DLL_THREAD_ATTACH
00000342 11.03230190 [6388] Called DllMain with DLL_THREAD_ATTACH
00000343 21.83282852 [6388] Called DllMain with DLL_THREAD_DETACH
00000344 21.83286667 [6388] Called DllMain with DLL_THREAD_DETACH
00000345 21.83329964 [6388] Called DllMain with DLL_THREAD_ATTACH
00000346 21.83333206 [6388] Called DllMain with DLL_THREAD_ATTACH
00000347 21.99635887 [6388] Called DllMain with DLL_THREAD_DETACH
00000348 21.99638748 [6388] Called DllMain with DLL_THREAD_DETACH
00000349 21.99686623 [6388] Called DllMain with DLL_THREAD_ATTACH
00000350 21.99692535 [6388] Called DllMain with DLL_THREAD_ATTACH
00000351 28.75009537 [6388] Called DllMain with DLL_THREAD_ATTACH
00000352 28.75015640 [6388] Called DllMain with DLL_THREAD_ATTACH
00000353 28.75034714 [6388] Called DllMain with DLL_THREAD_ATTACH
00000354 28.75039101 [6388] Called DllMain with DLL_THREAD_ATTACH
00000355 40.12525940 [6388] Exception code: C0000005 ACCESS_VIOLATION at 00000059
00000356 40.12746048 [6388] Version 2.15.111245
00000357 40.12748337 [6388] Fault address: 00000059 00:00000059 Unknown module
00000358 40.12752533 [6388]
00000359 40.12752533 [6388] Registers:
00000360 40.12755203 [6388] EAX:00000059 EBX:1A81DC18
00000361 40.12755203 [6388] ECX:00000003 EDX:59A3FFFF
00000362 40.12755203 [6388] ESI:13651EA0 EDI:000005D8
00000363 40.12757111 [6388] CS:EIP:0023:00000059
00000364 40.12759399 [6388] SS:ESP:002B:02629078 EBP:000005D4
00000365 40.12760925 [6388] DS:002B ES:002B FS:0053 GS:002B
00000366 40.12763214 [6388] Flags:00010206
00000367 40.12765503 [6388] =======================================================
00000368 40.12767792 [6388]
00000369 40.12767792 [6388] Call stack:
00000370 40.12769699 [6388]
00000371 40.12769699 [6388] Stack 02629078 0262FED0
00000372 40.40089035 [6388] mapfile: bin\VBS2.map (empty 0)
00000373 40.40104294 [6388] Address Logical Function Stack size
00000374 40.40107727 [6388] 00000059 0000:00000059 Unknown module
00000375 40.40110016 [6388]
00000376 40.40132141 [6388] E63C38 561CE3 EE + UpdateMessageFormatUpdateAIBrain
00000377 40.40134430 [6388]
00000378 40.40136337 [6388] (Indirect)
00000379 40.40145111 [6388] E66403 564336 266 + AILocker::LockPosition
00000380 40.40147400 [6388]
00000381 40.40148926 [6388] -> E63B70
00000382 40.40157700 [6388] E66494 564336 2F7 + AILocker::LockPosition
00000383 40.40162277 [6388]
00000384 40.40164566 [6388] -> E66350
00000385 40.40173340 [6388] E66C03 564D07 95 + AIBrain::NearestIntersection
00000386 40.40175247 [6388]
00000387 40.40177536 [6388] -> E66410
00000388 40.40186310 [6388] E54E21 552E16 1A4 + CheckGetInDirect
00000389 40.40188217 [6388]
00000390 40.40190506 [6388] -> E4EC80
00000391 40.40199280 [6388] E6784F 5656B2 336 + AIBrain::OnOperativePathFound
00000392 40.40200806 [6388]
00000393 40.40203094 [6388] -> E668B0
00000394 40.40211868 [6388] E67B61 5656B2 648 + AIBrain::OnOperativePathFound
00000395 40.40214157 [6388]
00000396 40.40216064 [6388] -> E66CD0
00000397 40.40225220 [6388] E4D962 54B79C 35F + AISubgroup::Think
00000398 40.40226746 [6388]
00000399 40.40229034 [6388] -> F49940
00000400 40.40237427 [6388] E740AE 5721DD 6A + GetWaterDepth
00000401 40.40239716 [6388]
00000402 40.40241241 [6388] -> E4D760
00000403 40.40250015 [6388] E7416D 5722E8 1E + CornerSuitable
00000404 40.40251923 [6388]
00000405 40.40254211 [6388] -> E495A0
00000406 40.40262985 [6388] E5532C 5531D1 2F4 + AbstractAIMachine<Command,AISubgroupContext>::CreateFSM
00000407 40.40265274 [6388]
00000408 40.40266800 [6388] -> F49940
00000409 40.40275574 [6388] E5B9BD 559B2D 29 + AIUnit::FSMFormationDeadlock
00000410 40.40277863 [6388]
00000411 40.40279770 [6388] -> E55030
00000412 40.40286636 [6388] B9E224 29C0A1 31C + EntityAI::SteerPoint
00000413 40.40288925 [6388]
00000414 40.40290451 [6388] -> 8FFE90
00000415 40.40298843 [6388] E31B70 52FBDC 12D + AIGroup::GetInVehicles
00000416 40.40301132 [6388]
00000417 40.40303421 [6388] -> 7602C0
00000418 40.40311050 [6388] DC7B40 4C57C0 519 + Object::DrawDiags
00000419 40.40312958 [6388]
00000420 40.40315247 [6388] -> E31BB0
00000421 40.40323257 [6388] E08899 506644 3EE + FindFleePoint
00000422 40.40325546 [6388]
00000423 40.40327454 [6388] (Indirect)
00000424 40.40335083 [6388] DCDBE1 4CBCF0 8A + Object::Move
00000425 40.40337372 [6388]
00000426 40.40339279 [6388] -> 417BCE
00000427 40.40348053 [6388] DD3B8A 4D1BD0 153 + Quaternion<Float16bFixed<?,long double>>::FromMatrixRotation
...<snip>...
00000703 40.41814804 [6388] F55842 653484 557 + ListNBoxHeaderColumn::constructor
00000704 40.41817093 [6388]
00000705 40.41819382 [6388] -> F557C5
00000706 40.41830444 [6388] F48C88 646D57 CA + CHeaderTree::FindItem
00000707 40.41832352 [6388]
00000708 40.41834259 [6388] -> F5583C
00000709 40.41843796 [6388] F528A4 6505AB 492 + HTMLContent::LoadLocalized
00000710 40.41846085 [6388]
00000711 40.41848373 [6388] -> 421D84
00000712 40.41850281 [6388]
00000713 40.41850281 [6388] ------- Begin:: Optimized callstack:
00000714 40.41853714 [6388] Address Logical Function Stack size
00000715 40.41857147 [6388] 00000059 0000:00000059 Unknown module
00000716 40.41859436 [6388]
00000717 40.41909409 [6388] E63C38 561CE3 EE + UpdateMessageFormatUpdateAIBrain
00000718 40.41911697 [6388]
00000719 40.41913223 [6388] (Indirect)
00000720 40.41922379 [6388] E08899 506644 3EE + FindFleePoint
00000721 40.41924286 [6388]
00000722 40.41926575 [6388] (Indirect)
00000723 40.41932678 [6388] BB0587 2ADF78 7A8 + EntityAIFull::DrawDiags
...<snip>...
00000763 40.42100143 [6388] 00000764 40.42102432 [6388] (Indirect) 00000765 40.42141342 [6388] F55BEA 653C00 183 + CHeaderListNBox::constructor 00000766 40.42143631 [6388] 00000767 40.42145538 [6388] (Indirect) 00000768 40.42157745 [6388] F555D9 653484 2EE + ListNBoxHeaderColumn::constructor 00000769 40.42159653 [6388] 00000770 40.42161560 [6388] (Indirect) 00000771 40.42171097 [6388] F5568B 653484 3A0 + ListNBoxHeaderColumn::constructor 00000772 40.42173386 [6388] 00000773 40.42174911 [6388] (Indirect) 00000774 40.42184830 [6388] F55837 653484 54C + ListNBoxHeaderColumn::constructor 00000775 40.42186737 [6388] 00000776 40.42188644 [6388] (Indirect) 00000777 40.42190933 [6388] 00000778 40.42190933 [6388] ------- End :: Optimized callstack: 00000779 40.42192841 [6388]
00000780 41.58324432 [6388] note: Minidump has been generated into the file C:\Users\Dev\AppData\Local\VBS2NG\VBS2.mdmp
00000781 41.63298035 [1084] HIJACKDLL checking process:
00000782 41.63299561 [1084] WerFault.exe
00000783 41.63301086 [1084]
00000784 41.63304901 [1084] PxHelp: Success opening key.
00000785 41.63307190 [1084] PxHelp: Success with GetString.
00000786 41.63309097 [1084] C:\Users\Dev\Documents\Perception\Release\Perception\
00000787 41.63310242 [1084]
00000788 41.63312149 [1084] PxHelp: Already have base value.
00000789 41.63314819 [1084] PxHelp: Success opening key.
00000790 41.63317108 [1084] PxHelp: Success with GetString.
00000791 41.63318634 [1084] C:\Users\Dev\Documents\Perception\Release\Perception\
00000792 41.63320160 [1084]
00000793 41.63344955 [1084] Game profile not found for: WerFault.exe
User avatar
DrBeef
Vireio Perception Developer
Vireio Perception Developer
Posts: 328
Joined: Wed Aug 14, 2013 6:20 am
Location: London

Re: Perception Crash When Running Bohemia VBS2

Post by DrBeef »

I'm afraid that callstack doesn't really tell me anything, but well done on building the code from scratch, are you familiar with C++?

Firstly, have you created an entry in the Profiles.xml file for the game?, I guess you have as it is presumably injecting ok.

What might be more helpful is if you can recompile the DxProxy project with the SHOW_CALLS preprocesor defined, and then run DbgView or TraceSpy and get a full trace of what is going on from that.

As it is a completely new game with a currently unsupported engine, I'm not that surprised it is having issues, it can be a fair bit of work getting a currently unsupported engine up and running (as we are discovering at the moment).

Don't let that put you off though!
Post Reply

Return to “Development / General Discussion”