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

Re: Eternal loop in quick_hash

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 13 Oct 2010 19:17:10 +0200

On 13.10.2010 15:42, Oddvar Kloster wrote:
> The latest nightly is acting up on me and freezing frequently. There may
> be other reasons too, but I’ve traced one cause of a freeze.

When does it freeze? What commands?

> If one creates an empty quick_hash and inserts a single element using
> the iterator range insert method (QuickHash.h, 406), the hash does not
> grow to more than 1 in capacity, which is then filled. The causes the
> next find() to stick in an endless loop.
> I suspect that size() on line 410 should be capacity() instead.

quick_hash() is only used in the log dialog. Does it freeze there?


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-13 19:17:22 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.