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

svnserve crash with SASL misconfiguration

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2007-09-11 20:54:14 CEST

While setting up my machine to run the regression tests with SASL I
discovered that it is possible to get svnserve to crash. If I mess up
the mech_list:CRAM-MD5 configuration, leave it out or misspell it say,
then the server crashes when the client attempts to authenticate.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1082132832 (LWP 6021)]
0x00002b1d86623b4c in sasl_write_cb (baton=0x538848,
    buffer=0x52c118 "( success ( ) ) nNwYXV0aD04MzRlNWVmNDhkMWQyOTQzNjc0ZDY2ZmQ2ODA2NmQ2MA==\n ) ) NnM9IixyZWFs\nbT0ic3ZudGVzdCIscW9wPSJhdXRoLGF1dGgtaW50LGF1dGgtY29uZiIsY2lwaGVyPSJyYzQtNDAs\ncmM0LTU2LHJjNCxkZXMsM2RlcyIsbWF4Y"...,
    len=0x407ffa80) at ../svn/subversion/libsvn_ra_svn/cyrus_auth.c:585
585 sasl_baton->write_len -= tmplen;
(gdb) p sasl_baton
$1 = (sasl_baton_t *) 0x0
(gdb) bt 3
#0 0x00002b1d86623b4c in sasl_write_cb (baton=0x538848,
    buffer=0x52c118 "( success ( ) ) nNwYXV0aD04MzRlNWVmNDhkMWQyOTQzNjc0ZDY2ZmQ2ODA2NmQ2MA==\n ) ) NnM9IixyZWFs\nbT0ic3ZudGVzdCIscW9wPSJhdXRoLGF1dGgtaW50LGF1dGgtY29uZiIsY2lwaGVyPSJyYzQtNDAs\ncmM0LTU2LHJjNCxkZXMsM2RlcyIsbWF4Y"...,
    len=0x407ffa80) at ../svn/subversion/libsvn_ra_svn/cyrus_auth.c:585
#1 0x00002b1d864f66e1 in svn_stream_write (stream=0x5388a0,
    data=0x52c118 "( success ( ) ) nNwYXV0aD04MzRlNWVmNDhkMWQyOTQzNjc0ZDY2ZmQ2ODA2NmQ2MA==\n ) ) NnM9IixyZWFs\nbT0ic3ZudGVzdCIscW9wPSJhdXRoLGF1dGgtaW50LGF1dGgtY29uZiIsY2lwaGVyPSJyYzQtNDAs\ncmM0LTU2LHJjNCxkZXMsM2RlcyIsbWF4Y"...,
    len=0x407ffa80) at ../svn/subversion/libsvn_subr/stream.c:105
#2 0x00002b1d8662b794 in svn_ra_svn__stream_write (stream=0x538880,
    data=0x52c118 "( success ( ) ) nNwYXV0aD04MzRlNWVmNDhkMWQyOTQzNjc0ZDY2ZmQ2ODA2NmQ2MA==\n ) ) NnM9IixyZWFs\nbT0ic3ZudGVzdCIscW9wPSJhdXRoLGF1dGgtaW50LGF1dGgtY29uZiIsY2lwaGVyPSJyYzQtNDAs\ncmM0LTU2LHJjNCxkZXMsM2RlcyIsbWF4Y"...,
    len=0x407ffa80) at ../svn/subversion/libsvn_ra_svn/streams.c:230
(More stack frames follow...)
(gdb)

Is this a known problem?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 11 20:50:50 2007

This is an archived mail posted to the Subversion Dev mailing list.