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

Re: svn rev 4918: FAIL (ra_svn, sparc-sun-solaris2.8 static)

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2003-02-18 17:53:07 CET

svn-breakage@subversion.tigris.org writes:
> START: basic_tests.py
> CMD: svnadmin "create" "local_tmp/repos" <TIME = 0.010440>
> CMD: svn "import" "--username" "jrandom" "--password" "rayjandom" "-m" "Log message for revision 1." "svn://localhost/local_tmp/repos" "local_tmp/greekfiles" <TIME = 0.047397>
> svn: Malformed network data
> svn: Malformed network data
> Errors during initial 'svn import':
> ACTUAL STDERR:
> svn: Malformed network data
> svn: Malformed network data
> caught unexpected exception

Hmmm, these are the same errors I'm seeing with ra_svn (still seeing,
even after revision 4920, that is). Anything I try to do over "svn:"
gets a similar error, for example:

   $ subversion/svnserve/svnserve -X &
   $ svn ls svn://localhost/home/kfogel/src/subversion/subversion/\
            tests/clients/cmdline/repositories/basic_tests-1
   subversion/libsvn_ra_svn/marshal.c:532: (apr_err=210004)
   svn: Malformed network data
   svn: Malformed network data
   $

The code appears to be expecting a close paren:

  if (**fmt && **fmt != ')')
    return svn_error_create(SVN_ERR_RA_SVN_MALFORMED_DATA, NULL,
                            "Malformed network data");

An ethereal trace shows an apparently balanced series of expressions
(here it is, with some newlines added for readability):

   ( 1 1 ( ANONYMOUS ) ( ) )
   ( 1 ANONYMOUS ( 0: ) ( ) )
   ( success ( ) )
   ( 102:svn://localhost/home/kfogel/src/subversion/subversion/\
     tests/clients/cmdline/repositories/basic_tests-1 )
   ( success ( ) )

...but I don't know the protocol well enough to look at that and say
"it's right" or "it's wrong". Anyway, I guess the above is going from
client to server, but the malformed data was in what the client
expected *from* the server (?).

So I changed the code to say

  if (**fmt && **fmt != ')')
    return svn_error_createf(SVN_ERR_RA_SVN_MALFORMED_DATA, NULL,
                             "Malformed network data: '%c'", **fmt);

and tried again, now it prints:

   subversion/libsvn_ra_svn/marshal.c:532: (apr_err=210004)
   svn: Malformed network data
   svn: Malformed network data: 'c'

Eric or Greg, any idea what this might be, off the top of your head?

(And should I commit that tweak?)

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 18 18:26:05 2003

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.