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

Log caching: Crash in `Log Viewer' with partial repository access

From: Evgeny Kotkov <evgeny.kotkov_at_visualsvn.com>
Date: Wed, 13 Apr 2016 21:43:14 +0300

I think that I found another possible segfault in the Log Viewer; it should
be reproducible in TortoiseSVN 1.9.3 and trunk_at_r27273.

Reproduction script:

 1. Disable Log caching in TSVN Settings
 2. Prepare the repository:
    svnadmin create test
    svnrdump dump svn://svn.code.sf.net/p/tortoisesvn/code/ -r0:120 > test.dump
    svnadmin load test -q < test.dump
 3. Prohibit access to the root of the new repository
 4. Allow rw access to /trunk
 5. Run the following command:
    TortoiseProc /command:log /path:"http://localhost/test/trunk"
 6. Press the `Next 100' button

Backtrace of the crash:

    TortoiseProc.exe!LogCache::CRevisionInfoContainer::CheckIndex(
        index=4294967295)
    TortoiseProc.exe!LogCache::CRevisionInfoContainer::GetChangesBegin(
        index=4294967295)
    TortoiseProc.exe!CLogEntryData::Finalize()
    TortoiseProc.exe!CLogDataVector::Finalize(..., bMerge=true)
    TortoiseProc.exe!CLogDlg::LogThread()
    TortoiseProc.exe!async::CAsyncCall::CCallMember0<CLogDlg>::Execute()
    ...

Regards,
Evgeny Kotkov

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-04-13 21:56:36 CEST

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.