Re: Seg fault on svn co; version 1.45.5
Daniel Sahlberg <[email protected]> Sat, 6 Sep 2025 18:58:23 +0200
| Newsgroups | gmane.comp.version-control.subversion.user |
|---|---|
| Message-ID | <CAMHy98Ox+JGghNt1jxEMxVAJd34YqJ2mHRtV=E-G7iicdF5cgQ@mail.gmail.com> |
--0000000000006aa878063e24dd39 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Den l=C3=B6r 6 sep. 2025 kl 18:16 skrev Daniel Sahlberg <[email protected]= rg>: > On 2025/08/20 14:47:56 Branko =C4=8Cibej wrote: > > On 20. 8. 25 14:29, sebb wrote: > > > $ svn co --depth=3Demptyhttps://svn.apache.org/repos/asf/incubator > > > Segmentation fault: 11 > > > > > > This does not occur for other directories I tried under > > > https://svn.apache.org/repos/asf. > > > It seems to be specific to incubator, as its subdirectories seem to b= e > OK. > > > > > > $ svn infohttps://svn.apache.org/repos/asf/incubator > > > Path: incubator > > > URL:https://svn.apache.org/repos/asf/incubator > > > Relative URL: ^/incubator > > > Repository Root:https://svn.apache.org/repos/asf > > > Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 > > > Revision: 1927914 > > > Node Kind: directory > > > Last Changed Author: jimin > > > Last Changed Rev: 1927904 > > > Last Changed Date: 2025-08-20 06:48:34 +0100 (Wed, 20 Aug 2025) > > > > > > $ svn --version > > > svn, version 1.14.5 (r1922182) > > > compiled Nov 27 2024, 21:22:28 on arm-apple-darwin23.6.0 > > > > > > Copyright (C) 2024 The Apache Software Foundation. > > > This software consists of contributions made by many people; > > > see the NOTICE file for more information. > > > Subversion is open source software, seehttp://subversion.apache.org/ > > > > > > The following repository access (RA) modules are available: > > > > > > * ra_svn : Module for accessing a repository using the svn network > protocol. > > > - with Cyrus SASL authentication > > > - handles 'svn' scheme > > > * ra_local : Module for accessing a repository on local disk. > > > - handles 'file' scheme > > > * ra_serf : Module for accessing a repository via WebDAV protocol > using serf. > > > - using serf 1.3.10 (compiled with 1.3.10) > > > - handles 'http' scheme > > > - handles 'https' scheme > > > > > > The following authentication credential caches are available: > > > > > > * Mac OS X Keychain > > > > > > =3D=3D=3D=3D > > > > > > I also get a segfault with 1.14.3 on Ubuntu 24.04. > > > > > > Sebb > > > > > > Thanks, I can reproduce this. Tentatively looks like a bug in Serf, but > > it's too soon to tell. I don't know what's so special about the > > incubator tree. > > > > -- Brane > > I took a look at reproducing this. I get the same error running Subversio= n > under WSL (which effectively is Linux under Hyper-V), but from the same > computer I don't get this error with Subversion under Windows. No idea wh= y > the platform makes a difference here. > > The --depth=3Dempty option doesn't seem to matter. > > I took a look at the network traffic generated from the WSL instance. Wit= h > the incubator tree, there is a request REPORT /repos/asf/!svn/me. The > request looks identical for the subversion tree. With the subversion tree= , > there is a reply with some XML data. With the incubator tree, there is a > HTTP/1.1 301 Moved Permanently reply with Location: > http://svn.apache.org/repos/asf and an HTML body. > > @Sebb, Is there some configuration on the server that could cause this > redirect? > Answering myself. Yes, there seems to be some redirects in the HTTPD configuration, see https://github.com/apache/infrastructure-p6/blob/production/data/nodes/svn0= 2-us-east.apache.org.yaml (only visible if you are logged in to GitHub with an Apache connected account). > > Obviously, we shouldn't core dump. But the server seems to send something > the client doesn't expect. (I'll continue debugging on dev@ in the other > thread). > > Cheers, > Daniel > Cheers, Daniel --0000000000006aa878063e24dd39 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">Den l=C3=B6r 6 sep. 2025= kl 18:16 skrev Daniel Sahlberg <<a href=3D"mailto:[email protected]"= >[email protected]</a>>:</div><div class=3D"gmail_quote gmail_quote_c= ontainer"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8= ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2025/08/20 1= 4:47:56 Branko =C4=8Cibej wrote:<br> > On 20. 8. 25 14:29, sebb wrote:<br> > > $ svn co --depth=3Demptyhttps://<a href=3D"http://svn.apache.org/= repos/asf/incubator" rel=3D"noreferrer" target=3D"_blank">svn.apache.org/re= pos/asf/incubator</a><br> > > Segmentation fault: 11<br> > ><br> > > This does not occur for other directories I tried under<br> > > <a href=3D"https://svn.apache.org/repos/asf" rel=3D"noreferrer" t= arget=3D"_blank">https://svn.apache.org/repos/asf</a>.<br> > > It seems to be specific to incubator, as its subdirectories seem = to be OK.<br> > ><br> > > $ svn infohttps://<a href=3D"http://svn.apache.org/repos/asf/incu= bator" rel=3D"noreferrer" target=3D"_blank">svn.apache.org/repos/asf/incuba= tor</a><br> > > Path: incubator<br> > > URL:<a href=3D"https://svn.apache.org/repos/asf/incubator" rel=3D= "noreferrer" target=3D"_blank">https://svn.apache.org/repos/asf/incubator</= a><br> > > Relative URL: ^/incubator<br> > > Repository Root:<a href=3D"https://svn.apache.org/repos/asf" rel= =3D"noreferrer" target=3D"_blank">https://svn.apache.org/repos/asf</a><br> > > Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68<br> > > Revision: 1927914<br> > > Node Kind: directory<br> > > Last Changed Author: jimin<br> > > Last Changed Rev: 1927904<br> > > Last Changed Date: 2025-08-20 06:48:34 +0100 (Wed, 20 Aug 2025)<b= r> > ><br> > > $ svn --version<br> > > svn, version 1.14.5 (r1922182)<br> > >=C2=A0 =C2=A0 =C2=A0compiled Nov 27 2024, 21:22:28 on arm-apple-da= rwin23.6.0<br> > ><br> > > Copyright (C) 2024 The Apache Software Foundation.<br> > > This software consists of contributions made by many people;<br> > > see the NOTICE file for more information.<br> > > Subversion is open source software, seehttp://<a href=3D"http://s= ubversion.apache.org/" rel=3D"noreferrer" target=3D"_blank">subversion.apac= he.org/</a><br> > ><br> > > The following repository access (RA) modules are available:<br> > ><br> > > * ra_svn : Module for accessing a repository using the svn networ= k protocol.<br> > >=C2=A0 =C2=A0 - with Cyrus SASL authentication<br> > >=C2=A0 =C2=A0 - handles 'svn' scheme<br> > > * ra_local : Module for accessing a repository on local disk.<br> > >=C2=A0 =C2=A0 - handles 'file' scheme<br> > > * ra_serf : Module for accessing a repository via WebDAV protocol= using serf.<br> > >=C2=A0 =C2=A0 - using serf 1.3.10 (compiled with 1.3.10)<br> > >=C2=A0 =C2=A0 - handles 'http' scheme<br> > >=C2=A0 =C2=A0 - handles 'https' scheme<br> > ><br> > > The following authentication credential caches are available:<br> > ><br> > > * Mac OS X Keychain<br> > ><br> > > =3D=3D=3D=3D<br> > ><br> > > I also get a segfault with 1.14.3 on Ubuntu 24.04.<br> > ><br> > > Sebb<br> > <br> > <br> > Thanks, I can reproduce this. Tentatively looks like a bug in Serf, bu= t <br> > it's too soon to tell. I don't know what's so special abou= t the <br> > incubator tree.<br> > <br> > -- Brane<br> <br> I took a look at reproducing this. I get the same error running Subversion = under WSL (which effectively is Linux under Hyper-V), but from the same com= puter I don't get this error with Subversion under Windows. No idea why= the platform makes a difference here.<br> <br> The --depth=3Dempty option doesn't seem to matter.<br> <br> I took a look at the network traffic generated from the WSL instance. With = the incubator tree, there is a request REPORT /repos/asf/!svn/me. The reque= st looks identical for the subversion tree. With the subversion tree, there= is a reply with some XML data. With the incubator tree, there is a HTTP/1.= 1 301 Moved Permanently reply with Location: <a href=3D"http://svn.apache.o= rg/repos/asf" rel=3D"noreferrer" target=3D"_blank">http://svn.apache.org/re= pos/asf</a> and an HTML body.<br> <br> @Sebb, Is there some configuration on the server that could cause this redi= rect?<br></blockquote><div><br></div><div>Answering myself. Yes, there seem= s to be some redirects in the HTTPD configuration, see <a href=3D"https://g= ithub.com/apache/infrastructure-p6/blob/production/data/nodes/svn02-us-east= .apache.org.yaml">https://github.com/apache/infrastructure-p6/blob/producti= on/data/nodes/svn02-us-east.apache.org.yaml</a> (only visible if you are lo= gged in to GitHub with an Apache connected account).</div><div>=C2=A0</div>= <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"> <br> Obviously, we shouldn't core dump. But the server seems to send somethi= ng the client doesn't expect. (I'll continue debugging on dev@ in t= he other thread).<br> <br> Cheers,<br> Daniel<br></blockquote><div><br></div><div>Cheers,</div><div>Daniel</div><d= iv>=C2=A0</div></div></div></div> --0000000000006aa878063e24dd39--