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

Evgeny Kotkov <[email protected]>
Newsgroups gmane.comp.version-control.subversion.tortoisesvn.devel
Message-ID <CAP_GPNgYXoK-qwBotZ6BitQwfBQfBeSWcNaC4wvdqvKh_NB2KA@mail.gmail.com>
I think that I found another possible segfault in the Log Viewer; it should
be reproducible in TortoiseSVN 1.9.3 and trunk@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: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.