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

RE: r761: Could not read status line (New Info)

From: Jay Freeman \(saurik\) <saurik_at_saurik.com>
Date: 2002-01-09 08:57:23 CET

OK, I found where the error is occurring, but I'm still not sure why...
:-P

Here is my thought: the new CR code is trying to read the property for
whether or not translation is requested (I don't know exactly how this
works as I finally decided to opt out of that thread when it started
looking titanic and I went on vacation, hehe).

Unfortunately, I don't have a revision yet, so all the data that comes
back for that property is NULL'd out, but there isn't a check for it.
It likely requires a small if (last_author == NULL) check, but I
don't know what would go into it... (maybe set value to an empty
string?).

Here is what I got out of gdb:

[root(3)@dreadnought bin]# gdb httpd
GNU gdb Red Hat Linux (5.1-2)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...r
(gdb) run -X
Starting program: /usr/local/apache2/bin/httpd -X
[New Thread 1024 (LWP 32544)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 32544)]
0x40047d38 in dav_svn_insert_prop (resource=0xbffff534, propid=20026,
what=DAV_PROP_INSERT_VALUE, phdr=0xbffff430)
    at subversion/mod_dav_svn/liveprops.c:189
189 value = apr_xml_quote_string(p, last_author->data, 1);
(gdb) print last_author
$1 = (struct {...} *) 0x0
(gdb) list
184 /* ### what to do? */
185 value = "###error###";
186 break;
187 }
188
189 value = apr_xml_quote_string(p, last_author->data, 1);
190 break;
191 }
192
193 case DAV_PROPID_getcontentlanguage:
(gdb)

Sincerely,
Jay Freeman (saurik)
saurik@saurik.com

-----Original Message-----
From: Karl Fogel [mailto:kfogel@newton.ch.collab.net]
Sent: Tuesday, January 08, 2002 3:22 PM
To: Jay Freeman (saurik)
Cc: svn-dev
Subject: Re: r761: Could not read status line: connection was closed by
server.

Thanks, Jay; when you're debugging, update to the very latest, as some
changes have been made in mod_dav_svn since rev 761. I don't know if
they would be relevant to a memory leak, but it can't hurt to see.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:55 2006

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.