Re: crash showing log in 1.8.0
From: Paul Burba <ptburba_at_gmail.com>
Date: Mon, 24 Jun 2013 12:17:53 -0400
On Fri, Jun 21, 2013 at 2:25 PM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
I tried to create a test for this, but I can't. So while I'm still
-- Paul T. Burba CollabNet, Inc. -- www.collab.net -- Enterprise Cloud Development Skype: ptburba P.S. Stefan - per my earlier private request, I'd still like full access to the crash reports server. I'd still like to be able to reproduce this. > The crash report indicates that 'matching_segment' is NULL, as 'bsearch' can > return according to the docs. > > First problem: the SVN_ERR_ASSERT() is wrong since it tries to access the > returned pointer instead of checking the pointer itself: > > SVN_ERR_ASSERT(matching_segment); > > would be the correct way to do this. > > The other problem is that the pointer actually is NULL and therefore the > assertion (if it was coded properly) would have triggered. Instead I now get > crash reports for this. > https://www.crash-server.com/Problem.aspx?ClientID=tsvn&ProblemID=26730 > > > Stefan > > -- > ___ > oo // \\ "De Chelonian Mobile" > (_,\/ \_/ \ TortoiseSVN > \ \_/_\_/> The coolest interface to (Sub)version control > /_/ \_\ http://tortoisesvn.netReceived on 2013-06-24 18:18:27 CEST |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.