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

Re: segfault with 0.10.1

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2002-03-19 09:59:58 CET

On Mon, Mar 18, 2002 at 11:55:03PM -0600, Edward S. Marshall wrote:
> Hi,
>
> Getting a segmentation fault with svn 0.10.1, under both
> Solaris 7 and Red Hat Linux 7.2. Figured I'd send this here
> first; let me know if anyone wants me to open an issue about
> it.
[snip]
> #0 0x40155d2c in svn_string_create_from_buf (strbuf=0x0,
> pool=0x8068138)
> at subversion/libsvn_subr/svn_string.c:99
> #1 0x40031f9f in expand_keyword (keywords=0xbfffcca0,
> is_valid_p=0xbfffcc98,
> keyword=0x80f5710 "LastChangedBy",
> path=0x80f53e0 "syncmail/syncmail/index.c", pool=0x8068138)
> at subversion/libsvn_wc/props.c:1234
[snip]

Just a guess, but try changing line 1234 of
subversion/libsvn_wc/props.c from
keywords->author = svn_string_create_from_buf (value, pool);
to
keywords->author = svn_string_create_from_buf (entry->cmt_author, pool);

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 19 10:01:39 2002

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.