Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Crash after opening a repository

Leo Wang April 10, 2021

Not 100% reproducible: Sourcetree crashed after opening a repository. Here is the analysis result from WinDbg:

 

This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(1fb8.3344): Access violation - code c0000005 (first/second chance not available)
For analysis of this file, run !analyze -v
ntdll!NtWaitForMultipleObjects+0x14:
00007ffa`7b9ed764 c3 ret
0:017> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************

*** WARNING: Unable to verify checksum for WindowsBase.ni.dll
*** WARNING: Unable to verify checksum for PresentationFramework.ni.dll
*** WARNING: Unable to verify checksum for System.Management.ni.dll
*** WARNING: Unable to verify checksum for System.ni.dll
Failed to request MethodData, not in JIT code range
MethodDesc: 00007ff9ef6128c0
Method Name: DomainBoundILStubClass.IL_STUB_PInvoke(LibGit2Sharp.Core.git_status_list* ByRef, LibGit2Sharp.Core.git_repository*, LibGit2Sharp.Core.GitStatusOptions)
Class: 00007ff9ee2a96c0
MethodTable: 00007ff9ee2a9738
mdToken: 0000000006000000
Module: 00007ffa42e61000
IsJitted: yes
CodeAddr: 00007ff9ef1a19e0
Transparency: Critical
MethodDesc: 00007ff9ef037770
Method Name: LibGit2Sharp.Core.Proxy.git_status_list_new(LibGit2Sharp.Core.Handles.RepositoryHandle, LibGit2Sharp.Core.GitStatusOptions)
Class: 00007ff9ef02a720
MethodTable: 00007ff9ef037c58
mdToken: 0000000006000b69
Module: 00007ff9ef00c3f8
IsJitted: yes
CodeAddr: 00007ff9ef1a1980
Transparency: Critical
MethodDesc: 00007ff9ef5ddbf8
Method Name: LibGit2Sharp.RepositoryStatus..ctor(LibGit2Sharp.Repository, LibGit2Sharp.StatusOptions)
Class: 00007ff9ef603bd8
MethodTable: 00007ff9ef5ddcd0
mdToken: 0000000006000609
Module: 00007ff9ef00c3f8
IsJitted: yes
CodeAddr: 00007ff9ef1a0040
Transparency: Critical
MethodDesc: 00007ff9ef00f3f0
Method Name: LibGit2Sharp.Repository.RetrieveStatus(LibGit2Sharp.StatusOptions)
Class: 00007ff9ef0274d8
MethodTable: 00007ff9ef00f7f0
mdToken: 00000000060005b1
Module: 00007ff9ef00c3f8
IsJitted: yes
CodeAddr: 00007ff9ef19f7a0
Transparency: Critical
MethodDesc: 00007ff9ee9e4a18
Method Name: SourceTree.Repo.RepoHandlerGit.Status(System.String)
Class: 00007ff9ee9f09d8
MethodTable: 00007ff9ee9e4a50
mdToken: 000000000600001c
Module: 00007ff9ee43d718
IsJitted: yes
CodeAddr: 00007ff9ef19f180
Transparency: Critical
MethodDesc: 00007ff9ef3f6228
Method Name: SourceTree.ViewModel.SidebarViewModel.RefreshSubmoduleStatus(SourceTree.Model.SidebarNode)
Class: 00007ff9ef402e60
MethodTable: 00007ff9ef3f69f0
mdToken: 00000000060007e6
Module: 00007ff9ee1bcba8
IsJitted: yes
CodeAddr: 00007ff9ef19d950
Transparency: Critical
MethodDesc: 00007ff9ef5dd2a8
Method Name: SourceTree.ViewModel.SidebarViewModel+<>c__DisplayClass148_1.<RefreshImpl>b__2()
Class: 00007ff9ef6027f0
MethodTable: 00007ff9ef5dd2d0
mdToken: 0000000006001a72
Module: 00007ff9ee1bcba8
IsJitted: yes
CodeAddr: 00007ff9ef19d900
Transparency: Critical

KEY_VALUES_STRING: 1

Key : AV.Fault
Value: Read

Key : Analysis.CPU.Sec
Value: 59

Key : Analysis.DebugAnalysisProvider.CPP
Value: Create: 8007007e on LAPTOP-JHX1

Key : Analysis.DebugData
Value: CreateObject

Key : Analysis.DebugModel
Value: CreateObject

Key : Analysis.Elapsed.Sec
Value: 86

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

Key : Analysis.System
Value: CreateObject

Key : CLR.Engine
Value: CLR

Key : CLR.Version
Value: 4.0.30319.0

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


NTGLOBALFLAG: 0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

APPLICATION_VERIFIER_FLAGS: 0

CONTEXT: (.ecxr)
rax=0000000000000042 rbx=00000194fefa63c0 rcx=00000194fefa63c0
rdx=004500490055002e rsi=0000000000000000 rdi=004500490055002e
rip=00007ffa4a6361df rsp=0000002505dfdae0 rbp=0000002505dfdbb1
r8=0000000000000000 r9=0000002505dfdb68 r10=0000000000000000
r11=800000000000001f r12=0000002505dfdc50 r13=0000000000000000
r14=0000002505dfdb68 r15=00000194fefa63c0
iopl=0 nv up ei pl zr na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
git2_7ce88e6!git_indexer_free+0x61f:
00007ffa`4a6361df 8b87e4000000 mov eax,dword ptr [rdi+0E4h] ds:00450049`00550112=????????
Resetting default scope

EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007ffa4a6361df (git2_7ce88e6!git_indexer_free+0x000000000000061f)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000000
Parameter[1]: ffffffffffffffff
Attempt to read from address ffffffffffffffff

PROCESS_NAME: SourceTree.exe

READ_ADDRESS: ffffffffffffffff

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: ffffffffffffffff

MISSING_CLR_SYMBOL: 0

STACK_TEXT:
00000025`05dfdae0 00007ffa`4a61ae78 : 00000025`05dfdbb0 00000000`00000899 00000000`00000000 00000000`ffffffff : git2_7ce88e6!git_indexer_free+0x61f
00000025`05dfdb20 00007ffa`4a684a59 : 00000194`893a5a88 00000194`8994f8c0 00000194`e2ccc1c0 00000194`fefa32f0 : git2_7ce88e6!git_diff_tree_to_index+0x218
00000025`05dfdc10 00007ff9`ef1a1a86 : 00000025`05dfde00 00000194`8994f8c0 00000025`00000000 00000194`e2ccc1c0 : git2_7ce88e6!git_status_list_new+0x279
00000025`05dfdd20 00007ff9`ef1a199c : 00000025`05dfde00 00000194`8994f8c0 00000194`e49d8a68 00000000`00000008 : 0x00007ff9`ef1a1a86
00000025`05dfdde0 00007ff9`ef1a02fb : 00000194`e499f8a0 00000194`e49d8a68 00000000`00000006 00000000`00000008 : 0x00007ff9`ef1a199c
00000025`05dfde10 00007ff9`ef19f7d5 : 00000194`e4da22f0 00000194`e4da19a8 00000194`e4da21f8 00000194`fefa32f0 : 0x00007ff9`ef1a02fb
00000025`05dfde90 00007ff9`ef19f2e8 : 00000194`e4da19a8 00000194`e4da21f8 00000000`00000002 00007ffa`4ac48cd8 : 0x00007ff9`ef19f7d5
00000025`05dfded0 00007ff9`ef19ed43 : 00000194`e48fe990 00000194`e48e3c50 00000194`e1f9773c 00000000`00000001 : 0x00007ff9`ef19f2e8
00000025`05dfe060 00007ff9`ef19db12 : 00000194`e48fe990 00000194`e48e3c50 00000194`e1f9773c 00000000`00000001 : 0x00007ff9`ef19ed43
00000025`05dfe0a0 00007ff9`ef19d932 : 00000194`e47e3c88 00000194`e483f430 00000000`00000000 00000194`e1b16430 : 0x00007ff9`ef19db12
00000025`05dfe1c0 00007ffa`4b21af27 : 00000194`e48db8e8 00000194`e4c23110 00000000`00000000 00000194`e1b16430 : 0x00007ff9`ef19d932
00000025`05dfe1f0 00007ffa`4b1adf12 : 00000194`e48db948 00000194`fee0b330 00000025`05dfe3b0 00007ffa`4d66bee9 : mscorlib_ni+0x5faf27
00000025`05dfe230 00007ffa`4b1add95 : 00000025`05dfe5d8 00007ffa`4b25e169 00000025`05dfe338 00007ffa`4b177a8b : mscorlib_ni+0x58df12
00000025`05dfe300 00007ffa`4b21b1e1 : 00000025`05dfe5d8 00007ffa`4de2a9f0 00000025`05dfe8c0 00007ffa`4ade3ff8 : mscorlib_ni+0x58dd95
00000025`05dfe330 00007ffa`4b21a8c1 : 00000194`e48db948 00000194`e2b19448 00000194`e4c23110 00000025`05dfe420 : mscorlib_ni+0x5fb1e1
00000025`05dfe3e0 00007ffa`4b178e46 : 00000025`05dfe5d8 00000000`00000000 00000025`05dfe498 00000025`05dfeba0 : mscorlib_ni+0x5fa8c1
00000025`05dfe420 00007ffa`4d666923 : 00007ffa`4d667070 00000000`00000000 00007ffa`4d6675d9 00000025`05dfe670 : mscorlib_ni+0x558e46
00000025`05dfe4c0 00007ffa`4d666838 : 00000025`05dfe6e8 00007ffa`4d6673cc 00000000`00000001 00007ffa`4d667336 : clr!CallDescrWorkerInternal+0x83
00000025`05dfe500 00007ffa`4d6670e8 : 00000025`05dfe6e8 00000000`00000000 00000025`05dfe8c0 00000000`00000000 : clr!CallDescrWorkerWithHandler+0x4e
00000025`05dfe540 00007ffa`4d66c11a : 00000025`05dfeba0 00000025`05dfeb50 00000025`05dfeba0 00000194`fee0b330 : clr!MethodDescCallSite::CallTargetWorker+0x102
00000025`05dfe640 00007ffa`4d667ce0 : 00000000`00000004 00000000`00000000 ffffffff`fffffffe 00000194`fee0b330 : clr!QueueUserWorkItemManagedCallback+0x2a
00000025`05dfe730 00007ffa`4d667c53 : 00000025`05dfe900 00000194`fee0b330 00000000`00000001 00000025`05dfe880 : clr!ManagedThreadBase_DispatchInner+0x40
00000025`05dfe770 00007ffa`4d667b92 : 00000025`05dfe900 00000000`00000000 00000000`00000000 00000000`00000001 : clr!ManagedThreadBase_DispatchMiddle+0x6c
00000025`05dfe870 00007ffa`4d667d77 : ffffffff`ffffffff 00000194`fee0b330 00000000`ffffffff 00000000`00000000 : clr!ManagedThreadBase_DispatchOuter+0x4c
00000025`05dfe8e0 00007ffa`4d66c067 : 00000000`00000001 00000025`05dfeb50 00000194`fee0b330 00000000`00000000 : clr!ManagedThreadBase_FullTransitionWithAD+0x2f
00000025`05dfe940 00007ffa`4d6678a7 : 00000006`001d0021 00000025`05dfeb98 00000025`05dfeba0 00000194`fee0b330 : clr!ManagedPerAppDomainTPCount::DispatchWorkItem+0xa4
00000025`05dfeac0 00007ffa`4d66777f : 00000006`001d0021 00000000`00000001 00000194`fee0b330 00000194`fee0b330 : clr!ThreadpoolMgr::ExecuteWorkRequest+0x64
00000025`05dfeaf0 00007ffa`4d66b5d5 : 00000000`00000000 00000000`00000000 00000000`00000001 00000000`00000409 : clr!ThreadpoolMgr::WorkerThreadStart+0xf6
00000025`05dfeb90 00007ffa`79d67034 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : clr!Thread::intermediateThreadProc+0x8b
00000025`05dffb50 00007ffa`7b9a2651 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x14
00000025`05dffb80 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21


SYMBOL_NAME: git2_7ce88e6!git_indexer_free+61f

MODULE_NAME: git2_7ce88e6

IMAGE_NAME: git2-7ce88e6.dll

STACK_COMMAND: ~17s ; .ecxr ; kb

FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_git2-7ce88e6.dll!git_indexer_free

OS_VERSION: 10.0.19041.1

BUILDLAB_STR: vb_release

OSPLATFORM_TYPE: x64

OSNAME: Windows 10

FAILURE_ID_HASH: {abd4245a-4a7c-0762-8541-0661f1253099}

Followup: MachineOwner
---------

 

1 comment

Frazee, Alexander September 12, 2023

I am new to DMPs and WinDbg. I am getting this same issue (i.e. not in JIT code range, INVALID POINTER, unable to verify checksum, etc). Have analyzed multiple dump files and they all produce the same result. Right now, I believe it to be my PDB Symbol File Path that might be causing the issue.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events