Recent

Author Topic: [SOLVED] svn checkout of main branch core dumps  (Read 4457 times)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1621
  • Former Delphi 1-7, 10.2 user
[SOLVED] svn checkout of main branch core dumps
« on: August 08, 2021, 02:43:23 pm »
Code: Text  [Select][+][-]
  1. trev@shadow [/home/trev] $ svn checkout https://github.com/fpc/Lazarus.git/branches/main main
  2. svn: E235000: In file 'subversion/libsvn_wc/wc_db.c' line 1648: assertion failed (SVN_IS_VALID_REVNUM(changed_rev))
  3. Abort (core dumped)

On the other hand, using the same approach for fixes_2_0 and fixes_2_2 works.

Any ideas? It doesn't complain that there's no main branch, so it seems valid, but I'm the first to admit "I know nothing!" when it comes to this.

I also tried changing to the new repo directory and doing svn update which core dumps with the same message.
« Last Edit: August 09, 2021, 12:42:20 pm by trev »
Lazarus 2.3 2021-08-10 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.3 + FPC 3.3.1 24 Sep 2021 macOS 11.6 aarch64 Xcode 13
Lazarus 2.3 2021-08-11 FPC 3.2.2 FreeBSD 13.0 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

ccrause

  • Sr. Member
  • ****
  • Posts: 446
Re: svn checkout of main branch core dumps
« Reply #1 on: August 08, 2021, 10:40:33 pm »
Code: Text  [Select][+][-]
  1. trev@shadow [/home/trev] $ svn checkout https://github.com/fpc/Lazarus.git/branches/main main
  2. svn: E235000: In file 'subversion/libsvn_wc/wc_db.c' line 1648: assertion failed (SVN_IS_VALID_REVNUM(changed_rev))
  3. Abort (core dumped)
Same problem on Linux Mint 20.2 and svn 1.13.0

rsz

  • New Member
  • *
  • Posts: 45
Re: svn checkout of main branch core dumps
« Reply #2 on: August 09, 2021, 12:36:11 am »
Any ideas? It doesn't complain that there's no main branch, so it seems valid, but I'm the first to admit "I know nothing!" when it comes to this.

I know nothing of this either but I did a bit of searching and some users mentioned that they reverted to an older version in the past from 1.8 to 1.7 and that solved the issue. I was curious so I installed an old ubuntu chroot (precise pangolin) and subversion 1.6.17 inside it and the same command succeeds. Looks like it's a regression that was introduced and never fixed. It does not work with 1.14.1 either.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1621
  • Former Delphi 1-7, 10.2 user
Re: svn checkout of main branch core dumps
« Reply #3 on: August 09, 2021, 01:21:16 am »
* Fails with FreeBSD subversion 1.14.1
* Fails with macOS 10.14 subversion 1.10.4

The curious thing is that it only fails for Lazarus main. Other Lazarus branches are OK. It also succeeds with FPC main.
Lazarus 2.3 2021-08-10 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.3 + FPC 3.3.1 24 Sep 2021 macOS 11.6 aarch64 Xcode 13
Lazarus 2.3 2021-08-11 FPC 3.2.2 FreeBSD 13.0 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

dbannon

  • Hero Member
  • *****
  • Posts: 1584
    • tomboy-ng, a rewrite of the classic Tomboy
Re: svn checkout of main branch core dumps
« Reply #4 on: August 09, 2021, 09:50:17 am »
Might be worthwhile trying without the ".git" at the end of the URL.  It looks to me that the SVN URL is

Code: [Select]
https://github.com/fpc/Lazarus
See -

Code: [Select]
curl -i -u $GH_USER https://api.github.com/repos/fpc/Lazarus
......
  "clone_url": "https://github.com/fpc/Lazarus.git",
  "svn_url": "https://github.com/fpc/Lazarus",
.....

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1621
  • Former Delphi 1-7, 10.2 user
Re: svn checkout of main branch core dumps
« Reply #5 on: August 09, 2021, 10:01:15 am »
Code: Text  [Select][+][-]
  1. trev@macmini8 [/Users/trev] $ svn checkout https://github.com/fpc/Lazarus/branches/main main
  2. svn: E235000: In file '/BuildRoot/Library/Caches/com.apple.xbs/Sources/subversion/subversion-83/subversion/subversion/libsvn_wc/wc_db.c' line 1648: assertion failed (SVN_IS_VALID_REVNUM(changed_rev))
  3. Abort

Same issue Davo.
Lazarus 2.3 2021-08-10 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.3 + FPC 3.3.1 24 Sep 2021 macOS 11.6 aarch64 Xcode 13
Lazarus 2.3 2021-08-11 FPC 3.2.2 FreeBSD 13.0 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

dbannon

  • Hero Member
  • *****
  • Posts: 1584
    • tomboy-ng, a rewrite of the classic Tomboy
Re: svn checkout of main branch core dumps
« Reply #6 on: August 09, 2021, 10:17:14 am »
Oh, well, thats all I can offer.

I'm guessing it checks out with git OK so maybe its time ....

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1497
Re: svn checkout of main branch core dumps
« Reply #7 on: August 09, 2021, 10:53:28 am »
As a workaround, you might do this:
Code: Pascal  [Select][+][-]
  1. svn co --depth files https://github.com/fpc/Lazarus/branches all
  2. cd all
  3. svn up --set-depth infinity main

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1621
  • Former Delphi 1-7, 10.2 user
Re: svn checkout of main branch core dumps
« Reply #8 on: August 09, 2021, 12:25:01 pm »
Bonza Alfred! Used in the Wiki with attribution.
Lazarus 2.3 2021-08-10 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.3 + FPC 3.3.1 24 Sep 2021 macOS 11.6 aarch64 Xcode 13
Lazarus 2.3 2021-08-11 FPC 3.2.2 FreeBSD 13.0 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

 

TinyPortal © 2005-2018