[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

TSVNCache.exe Crash (Access Violation)

From: Paul Davis <PDavis_at_Perlego.com>
Date: Thu, 8 Sep 2011 16:20:22 -0700

Folks,

I've been having intermittent problems with TSVNCache.exe crashing with an Access Violation on my Windows 7 workstation. I'm not sure what causes the behavior, but I've downloaded symbols and attempted to do a little bit of debugging in WinDbg the last time it crashed.

This is what I've found--My debugging steps approximately follow this KB article:
http://support.microsoft.com/kb/313109

Also, I took a minidump of the crashed process (while WinDbg was attached after the crash), which is attached. (Hopefully it doesn't have my password in cleartext :))

I hope this helps. Let me know if I should file a bug?

Thanks!
-Paul B. Davis

Details:

My version info:

TortoiseSVN 1.6.16, Build 21511 - 64 Bit , 2011/06/01 19:00:35
Subversion 1.6.17,
apr 1.3.12
apr-utils 1.3.12
neon 0.29.6
OpenSSL 1.0.0d 8 Feb 2011
zlib 1.2.5

Stack trace from the thread that's crashing:

0:002> kb
RetAddr : Args to Child : Call Site
000007fe`fd5a1420 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!NtWaitForMultipleObjects+0xa
00000000`773a2cf3 : 00000000`025bc400 00000000`025bc3f0 00000000`00000000 00000000`00000000 : KERNELBASE!WaitForMultipleObjectsEx+0xe8
00000000`774190f5 : 00000000`00240000 00000000`025bc690 00000000`00000000 00000000`025bff90 : kernel32!WaitForMultipleObjectsExImplementation+0xb3
00000000`77419277 : 00000000`00000000 01000000`00000080 00000000`0000015c 00000000`00000000 : kernel32!WerpReportFaultInternal+0x215
00000000`774192cf : 00000000`025bc690 00000000`00000001 00000000`00000000 00000000`00000000 : kernel32!WerpReportFault+0x77
00000000`774194ec : 00000000`00000000 00000000`00000000 00000000`00000001 00000000`00000000 : kernel32!BasepReportFault+0x1f
00000000`775343b8 : 00000000`025bc690 00000000`00000006 00000000`00000000 00000000`00000001 : kernel32!UnhandledExceptionFilter+0x1fc
00000000`774b85a8 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll! ?? ::FNODOBFM::`string'+0x2365
00000000`774c9d0d : 00000000`025c0000 00000000`025bff90 00000000`025bff90 00000000`775e2de8 : ntdll!_C_specific_handler+0x8c
00000000`774b91af : 00000000`025c0000 00000000`7748df08 00000000`00012f24 00000000`00000000 : ntdll!RtlpExecuteHandlerForException+0xd
00000000`774f1278 : 00000000`025bd2d0 00000000`025bcde0 00000000`00000000 00030000`00000000 : ntdll!RtlDispatchException+0x45a
00000001`4000e9f3 : 00000000`03ca9800 00000000`02ebadb0 00000000`00000521 00000000`00000000 : ntdll!KiUserExceptionDispatch+0x2e
00000001`4000ebe5 : 00000000`02ebcf08 0417ffff`0000000f 00000001`041770de 00000001`04170417 : TSVNCache!ATL::CSimpleStringT<wchar_t,0>::Fork+0x43 [c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\atlsimpstr.h @ 774]
00000001`4000eedb : 00000000`02ebcf08 00000000`0000000f 00000000`00000000 000003ff`00000000 : TSVNCache!ATL::CSimpleStringT<wchar_t,0>::PrepareWrite2+0x75 [c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\atlsimpstr.h @ 811]
00000001`400088e9 : 00000000`02ebcf08 00000000`03ca9808 00000000`0000000f 00000000`00290230 : TSVNCache!ATL::CSimpleStringT<wchar_t,0>::SetString+0xeb [c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\atlsimpstr.h @ 638]
00000001`400373fc : 00000000`02ebcf08 00000000`02ebcf10 00000000`002902c8 00000000`13000417 : TSVNCache!ATL::CSimpleStringT<wchar_t,0>::operator=+0xc9 [c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\atlsimpstr.h @ 296]
00000001`40037856 : 00000000`02ebcf08 00000000`02ebcf10 00000000`00000000 00000000`00000000 : TSVNCache!CTSVNPath::SetBackslashPath+0x2c [d:\development\svn\releases\tortoisesvn-1.6.16\src\svn\tsvnpath.cpp @ 251]
00000001`40038074 : 00000000`02ebcf08 00000000`774f413d 00000000`01e00000 00000000`01e67901 : TSVNCache!CTSVNPath::EnsureBackslashPathSet+0x56 [d:\development\svn\releases\tortoisesvn-1.6.16\src\svn\tsvnpath.cpp @ 394]
00000001`4002bce2 : 00000000`01e67d18 00000000`02ebcf08 00000000`025bd888 00000001`4000d283 : TSVNCache!CTSVNPath::IsAncestorOf+0x24 [d:\development\svn\releases\tortoisesvn-1.6.16\src\svn\tsvnpath.cpp @ 606]
00000001`4001a6d8 : 00000000`01e31fe0 00000000`02ebcf08 00000001`00000001 00000000`01e33640 : TSVNCache!CSVNStatusCache::IsPathGood+0xf2 [d:\development\svn\releases\tortoisesvn-1.6.16\src\tsvncache\svnstatuscache.cpp @ 290]
00000001`400127ea : 00000000`01e331d0 00000000`02ebcf08 00000000`02e1b2c0 00000000`00000000 : TSVNCache!CFolderCrawler::AddPathForUpdate+0x38 [d:\development\svn\releases\tortoisesvn-1.6.16\src\tsvncache\foldercrawler.cpp @ 99]
00000001`4001206c : 00000000`01e334c8 00000000`00000000 00000000`0000002d 00000000`0000001b : TSVNCache!CDirectoryWatcher::WorkerThread+0x76a [d:\development\svn\releases\tortoisesvn-1.6.16\src\tsvncache\directorywatcher.cpp @ 408]
00000000`747a2fdf : 00000000`01e334c8 00000000`00000000 00000000`00000000 00000000`00000000 : TSVNCache!CDirectoryWatcher::ThreadEntry+0x1c [d:\development\svn\releases\tortoisesvn-1.6.16\src\tsvncache\directorywatcher.cpp @ 245]
00000000`747a3080 : 00000000`7482cad0 00000000`01e679b0 00000000`00000000 00000000`00000000 : MSVCR90!endthreadex+0x47
00000000`7739652d : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : MSVCR90!endthreadex+0xe8
00000000`774cc521 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0xd
00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x1d

Memory dump of the area around the first parameter of UnhandledExceptionFilter:

0:002> dd 00000000`025bc690
00000000`025bc690 025bd2d0 00000000 025bcde0 00000000
00000000`025bc6a0 774a0000 00000000 025bd2d0 00000000
00000000`025bc6b0 00000000 00000000 774cc521 00000000
00000000`025bc6c0 025bc000 00000000 774c9d0d 00000000
00000000`025bc6d0 025c0000 00000000 025bff90 00000000
00000000`025bc6e0 025bff90 00000000 775e2de8 00000000
00000000`025bc6f0 025bc790 00000000 774b91af 00000000
00000000`025bc700 025c0000 00000000 7748df08 00000000

Exception record pointed to by the dump:

0:002> .exr 025bd2d0
ExceptionAddress: 000000014000e9f3 (TSVNCache!ATL::CSimpleStringT<wchar_t,0>::Fork+0x0000000000000043)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000000
   Parameter[1]: 0000000000000000
Attempt to read from address 0000000000000000

Exception context pointed to by the dump:

0:002> .cxr 025bcde0
rax=0000000000000000 rbx=0000000001e679b0 rcx=0000000000000000
rdx=000000000000000f rsi=0000000000000000 rdi=00000000025bf9d8
rip=000000014000e9f3 rsp=00000000025bd3a0 rbp=0000000000000000
 r8=000000000000000f r9=0000000000000000 r10=0000000000000000
r11=0000000000000212 r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000000000
iopl=0 nv up ei pl nz ac po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010216
TSVNCache!ATL::CSimpleStringT<wchar_t,0>::Fork+0x43:
00000001`4000e9f3 488b00 mov rax,qword ptr [rax] ds:00000000`00000000=????????????????

Stack trace for this exception:

0:002> kv
  *** Stack trace for last set context - .thread/.cxr resets it
Child-SP RetAddr : Args to Child : Call Site
00000000`025bd3a0 00000001`4000ebe5 : 00000000`02ebcf08 0417ffff`0000000f 00000001`041770de 00000001`04170417 : TSVNCache!ATL::CSimpleStringT<wchar_t,0>::Fork+0x43 [c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\atlsimpstr.h @ 774]
00000000`025bd400 00000001`4000eedb : 00000000`02ebcf08 00000000`0000000f 00000000`00000000 000003ff`00000000 : TSVNCache!ATL::CSimpleStringT<wchar_t,0>::PrepareWrite2+0x75 [c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\atlsimpstr.h @ 811]
00000000`025bd440 00000001`400088e9 : 00000000`02ebcf08 00000000`03ca9808 00000000`0000000f 00000000`00290230 : TSVNCache!ATL::CSimpleStringT<wchar_t,0>::SetString+0xeb [c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\atlsimpstr.h @ 638]
00000000`025bd4d0 00000001`400373fc : 00000000`02ebcf08 00000000`02ebcf10 00000000`002902c8 00000000`13000417 : TSVNCache!ATL::CSimpleStringT<wchar_t,0>::operator=+0xc9 [c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\atlsimpstr.h @ 296]
00000000`025bd590 00000001`40037856 : 00000000`02ebcf08 00000000`02ebcf10 00000000`00000000 00000000`00000000 : TSVNCache!CTSVNPath::SetBackslashPath+0x2c [d:\development\svn\releases\tortoisesvn-1.6.16\src\svn\tsvnpath.cpp @ 251]
00000000`025bd690 00000001`40038074 : 00000000`02ebcf08 00000000`774f413d 00000000`01e00000 00000000`01e67901 : TSVNCache!CTSVNPath::EnsureBackslashPathSet+0x56 [d:\development\svn\releases\tortoisesvn-1.6.16\src\svn\tsvnpath.cpp @ 394]
00000000`025bd6d0 00000001`4002bce2 : 00000000`01e67d18 00000000`02ebcf08 00000000`025bd888 00000001`4000d283 : TSVNCache!CTSVNPath::IsAncestorOf+0x24 [d:\development\svn\releases\tortoisesvn-1.6.16\src\svn\tsvnpath.cpp @ 606]
00000000`025bd760 00000001`4001a6d8 : 00000000`01e31fe0 00000000`02ebcf08 00000001`00000001 00000000`01e33640 : TSVNCache!CSVNStatusCache::IsPathGood+0xf2 [d:\development\svn\releases\tortoisesvn-1.6.16\src\tsvncache\svnstatuscache.cpp @ 290]
00000000`025bd810 00000001`400127ea : 00000000`01e331d0 00000000`02ebcf08 00000000`02e1b2c0 00000000`00000000 : TSVNCache!CFolderCrawler::AddPathForUpdate+0x38 [d:\development\svn\releases\tortoisesvn-1.6.16\src\tsvncache\foldercrawler.cpp @ 99]
00000000`025bd910 00000001`4001206c : 00000000`01e334c8 00000000`00000000 00000000`0000002d 00000000`0000001b : TSVNCache!CDirectoryWatcher::WorkerThread+0x76a [d:\development\svn\releases\tortoisesvn-1.6.16\src\tsvncache\directorywatcher.cpp @ 408]
00000000`025bfed0 00000000`747a2fdf : 00000000`01e334c8 00000000`00000000 00000000`00000000 00000000`00000000 : TSVNCache!CDirectoryWatcher::ThreadEntry+0x1c [d:\development\svn\releases\tortoisesvn-1.6.16\src\tsvncache\directorywatcher.cpp @ 245]
00000000`025bff00 00000000`747a3080 : 00000000`7482cad0 00000000`01e679b0 00000000`00000000 00000000`00000000 : MSVCR90!endthreadex+0x47
00000000`025bff30 00000000`7739652d : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : MSVCR90!endthreadex+0xe8
00000000`025bff60 00000000`774cc521 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0xd
00000000`025bff90 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x1d

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2836721

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2011-09-09 03:21:56 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.