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

Re: Crash with 'svn st -u' and Version 1.3 (1.3.x branch)

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-10-18 18:42:18 CEST

John Peacock <jpeacock@rowman.com> writes:

> Philip Martin wrote:
>> You don't need to keep it, the crash is caused by a HEAD revison
>> without an svn:author:
>> $ svnadmin create repo
>> $ echo '#!/bin/sh' > repo/hooks/pre-revprop-change
>> $ chmod +x repo/hooks/pre-revprop-change
>> $ svn pd --revprop -rHEAD svn:author file://`pwd`/repo
>> $ svn co file://`pwd`/repo wc
>> $ svn st -u wc
>> Segmentation fault
>
> Hrm... I wonder if that is in the keywords-as-hash code, then (since
> you didn't provide a backtrace). I'll see if I can quickly track it
> down...

It's the new ood stuff:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 1847)]
0x4006f34b in change_dir_prop (dir_baton=0x80a4cd0,
    name=0x40456357 "svn:entry:last-author", value=0x0, pool=0x8088408)
    at ../svn/subversion/libsvn_wc/status.c:1510
1510 db->ood_last_cmt_author = apr_pstrdup (db->pool, value->data);
(gdb) p value
$1 = (const svn_string_t *) 0x0
(gdb)

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 18 18:44:00 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.