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

TSVNCache crashes (version 1.4.0 RC1)

From: Finnur Breki ?rarinsson <breki_at_torg.is>
Date: 2006-08-18 20:39:26 CEST

Hey guys,

I just installed TortoiseSVN 1.4.0 RC1 and rebooted. I went to a meeting while
the computer was booting up (I have it set to auto log-in) and when I came back
TSVNCache had crashed.

The way I reproduce this problem is by installing GreenBorder Pro on a clean XP
SP2 machine (GreenBorder Pro is available as a free trial on download.com if
you search for "GreenBorder") and then I install TortoiseSVN.

I have a reason to believe that this is because TortoiseSVN does not handle
long directory names properly and that any application (not just GreenBorder)
that uses long directory names would trigger this bug in TSVN.

This is the call stack
00f0f724 7c90e89a 7c801e36 ffffffff c000000d ntdll!KiFastSystemCallRet
00f0f728 7c801e36 ffffffff c000000d 00f0f7cc ntdll!ZwTerminateProcess+0xc
00f0f738 7813881b ffffffff c000000d 00000022 kernel32!TerminateProcess+0x20
00f0fa74 781448e3 00000000 00000000 00000000 MSVCR80!_invoke_watson+0xe6
00f0fa98 00406ffe 00f0fae8 00000108 00168720 MSVCR80!wcscpy_s+0x29
WARNING: Stack unwind information not available. Following frames may be wrong.
00f0fae0 78147298 003a0000 0044005c 0063006f TSVNCache+0x6ffe

As you can see the crash occurs at point when the wcscpy function tries to copy

something. It is actually copying this path:

"C:\Documents and Settings\All Users\Application Data\GreenBorder
\S-1-5-21-1123561945-1214440339-"839522115-1003\Session Specific\
0\Singleton_IsolatedContext\FsVirt\TransFs\Device\HarddiskVolume
1\Documents and Settings\VMXPSP2\Local Settings\Temporary Internet Files"

However, the buffer size allocated is 108, so the entire buffer is not copied.
If I am correct, this should be a pretty easy bug to fix.

I have a crash dump if someone is interested (please reply and specify where I
should upload it to).

Best regards,
Finnur Thorarinsson
Technical Lead, GreenBorder Technologies.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Aug 18 20:45:05 2006

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

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