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

Re: crash in svn_client_merge_peg()

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-04-26 23:55:57 CEST

SteveKing <steveking@gmx.ch> writes:

> While analyzing a crashreport I've received for TSVN I found that
> svn_client_merge_peg() sometimes can crash.
>
> Here's the stacktrace, for Subversion 1.1.4 (linenumbers relate to
> that version):
>
> subversion/libsvn_wc/lock.c, line 621 :
> if (associated->set) // with associated as 0!!
> subversion/libsvn_wc/entries.c, line 711
> subversion/libsvn_wc/props.c, line 279
> subversion/libsvn_client/diff.c, line 1168
> subversion/libsvn_client/repos_diff.c, line 817

This looks the most likely culprit, it's probably passing a NULL
access baton.

> subversion/libsvn_delta/cancel.c, line 237
> subversion/libsvn_ra_svn/editorp.c, line 688
> subversion/libsvn_ra_svn/editorp.c, line 794
> subversion/libsvn_ra_svn/editor.c, line 730
> subversion/libsvn_ra_svn/client.c, line 382
> subversion/libsvn_client/diff.c, line 1393
> subversion/libsvn_client/diff.c, line 2491
>
> Maybe this is useful for one of you guys?

As ever, it would be more useful if you told us how to reproduce it.
Perhaps repos_diff.c:close_file should be catching the NULL, but I
don't know for certain, maybe that's just a symptom. Is this a
dry-run merge?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 26 23:57:50 2005

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.