Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amethyst Crashes With Azure Kinect Driver 1.0 #10

Open
scyto opened this issue Jan 14, 2024 · 1 comment
Open

Amethyst Crashes With Azure Kinect Driver 1.0 #10

scyto opened this issue Jan 14, 2024 · 1 comment

Comments

@scyto
Copy link

scyto commented Jan 14, 2024

While in the 'dashboard is closed' state the app seems fine, it connects to the Kinect and shows status for device and steame vr as 'succeeded'.

I can get the app to sometimes show me a skeleton before it crashes when i power up the headset.

Once I have an app (say vrchat) try to access the FBT amethyst crashes and generates a WER.

Let me know if you want more logs or bet

WER Metadata:

Faulting application name: Amethyst.exe, version: 1.2.8.0, time stamp: 0x65310000
Faulting module name: k4abt.DLL, version: 1.1.2.0, time stamp: 0x627d5fb4
Exception code: 0xc0000005
Fault offset: 0x0000000000297918
Faulting process id: 0x0xC1B8
Faulting application start time: 0x0x1DA46A1D83F895E
Faulting application path: C:\Program Files\WindowsApps\11835K2VRTeam.Amethyst-OpenSourceBodyTracking_1.2.8.0_x64__g2vc4cfdbyb66\Amethyst.exe
Faulting module path: C:\Users\alex\AppData\Local\Packages\11835K2VRTeam.Amethyst-OpenSourceBodyTracking_g2vc4cfdbyb66\LocalState\Plugins\K2VRTEAM-AME2-APII-DVCE-DVCEKINECTAZ\k4abt.DLL
Report Id: 82d6263c-5703-4cc6-bafd-146bb2d88600
Faulting package full name: 11835K2VRTeam.Amethyst-OpenSourceBodyTracking_1.2.8.0_x64__g2vc4cfdbyb66
Faulting package-relative application ID: Amethyst

This is the log requested in the github home page
Amethyst_Installer_20240113-152019.618267.log
VRDriver_20240113-202630.898553.log

These are the only other seemingly relevant logs to the same timestamp
Amethyst_20240113-202629.460892.log
Amethyst_20240113-202630.123891.log

@scyto
Copy link
Author

scyto commented Jan 14, 2024

not sure if a wingbg on the mini dmp is of interest?

0:122> !analyze -v
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

Failed to request MethodData, not in JIT code range

KEY_VALUES_STRING: 1

    Key  : AV.Fault
    Value: Read

    Key  : Analysis.CPU.mSec
    Value: 31

    Key  : Analysis.Elapsed.mSec
    Value: 1859

    Key  : Analysis.IO.Other.Mb
    Value: 0

    Key  : Analysis.IO.Read.Mb
    Value: 1

    Key  : Analysis.IO.Write.Mb
    Value: 2

    Key  : Analysis.Init.CPU.mSec
    Value: 62

    Key  : Analysis.Init.Elapsed.mSec
    Value: 81942

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 866

    Key  : CLR.Engine
    Value: CORECLR

    Key  : CLR.Version
    Value: 7.0.1423.51910

    Key  : Failure.Bucket
    Value: INVALID_POINTER_READ_c0000005_k4abt.dll!Unknown

    Key  : Failure.Hash
    Value: {5f42d29c-12e6-e20e-807d-29a2d4a0f952}

    Key  : Timeline.OS.Boot.DeltaSec
    Value: 1297

    Key  : Timeline.Process.Start.DeltaSec
    Value: 413

    Key  : WER.OS.Branch
    Value: ni_release

    Key  : WER.OS.Version
    Value: 10.0.22621.1

    Key  : WER.Process.Version
    Value: 1.2.8.0


FILE_IN_CAB:  Amethyst.exe.48668.dmp

NTGLOBALFLAG:  0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

APPLICATION_VERIFIER_FLAGS:  0

CONTEXT:  (.ecxr)
rax=0000000000014b6e rbx=000000000000003a rcx=0000000000014640
rdx=0000023121f90000 rsi=00000231021fc310 rdi=0000000000000028
rip=00007ffb5fca7918 rsp=00000050ba0df0f0 rbp=00000050ba0df1f0
 r8=000000000000003a  r9=00000000000004fc r10=0000000000000032
r11=0000000000000020 r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000014b3c
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010206
k4abt!k4abt_tracker_destroy+0x2592c8:
00007ffb`5fca7918 f30f102c82      movss   xmm5,dword ptr [rdx+rax*4] ds:00000231`21fe2db8=????????
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffb5fca7918 (k4abt!k4abt_tracker_destroy+0x00000000002592c8)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000000
   Parameter[1]: 0000023121fe2db8
Attempt to read from address 0000023121fe2db8

PROCESS_NAME:  Amethyst.exe

READ_ADDRESS:  0000023121fe2db8 

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  0000000000000000

EXCEPTION_PARAMETER2:  0000023121fe2db8

STACK_TEXT:  
00000050`ba0df0f0 00007ffb`5fc930c9     : 00000231`11de4ce0 00000000`00000024 00000000`00000024 00000230`fbcd3550 : k4abt!k4abt_tracker_destroy+0x2592c8
00000050`ba0df4b0 00007ffb`5fc92834     : 00000231`101f0088 00000000`0005a000 000001f0`5fed2e40 00007ffc`ea94ddfa : k4abt!k4abt_tracker_destroy+0x244a79
00000050`ba0df740 00007ffb`5fb44678     : 00000231`101a1570 00007ffc`eaa4c970 00000000`00000000 000001f0`5fed0000 : k4abt!k4abt_tracker_destroy+0x2441e4
00000050`ba0df790 00007ffb`5fb34f8d     : 00000231`014a8210 00000050`ba0df9f0 00000000`00000280 00000000`00000240 : k4abt!k4abt_tracker_destroy+0xf6028
00000050`ba0df980 00007ffb`5fb35499     : 00000000`00000000 00000050`ba0dfaa0 00000050`ba0dfa80 00000000`00000000 : k4abt!k4abt_tracker_destroy+0xe693d
00000050`ba0dfa60 00007ffb`5fb35ce8     : 00000050`ba0dfa90 00000050`ba0dfb10 00000231`014a8038 00000231`014a8038 : k4abt!k4abt_tracker_destroy+0xe6e49
00000050`ba0dfad0 00007ffb`5fb1437d     : 00000000`00080001 00000231`03cf09b0 00000000`00000000 00000000`00000000 : k4abt!k4abt_tracker_destroy+0xe7698
00000050`ba0dfb30 00007ffb`5fc51c10     : 00000231`00000000 00000231`03cf09b0 00000000`00000000 00000000`00000000 : k4abt!k4abt_tracker_destroy+0xc5d2d
00000050`ba0dfb60 00007ffc`e919257d     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : k4abt!k4abt_tracker_destroy+0x2035c0
00000050`ba0dfb90 00007ffc`ea96aa58     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x1d
00000050`ba0dfbc0 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x28


SYMBOL_NAME:  k4abt+2592c8

MODULE_NAME: k4abt

IMAGE_NAME:  k4abt.dll

STACK_COMMAND:  ~122s; .ecxr ; kb

FAILURE_BUCKET_ID:  INVALID_POINTER_READ_c0000005_k4abt.dll!Unknown

OS_VERSION:  10.0.22621.1

BUILDLAB_STR:  ni_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  1.1.2.0

FAILURE_ID_HASH:  {5f42d29c-12e6-e20e-807d-29a2d4a0f952}

Followup:     MachineOwner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant