Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to write to process with 1.0.18+git20221225 two crashes @migration #158

Closed
prinz3nroll3 opened this issue Feb 27, 2025 · 5 comments
Closed

Comments

@prinz3nroll3
Copy link

prinz3nroll3 commented Feb 27, 2025

hello,
i want to migrate an svn repo to git, but i got the following error:
Exporting revision 1593 ...Failed to write to process: Error writing to process
Abgebrochen

Crash 1
Schwerwiegend: Empty path component found in input
fast-import: dumping crash report to fast_import_crash_3380963

Crash 2
Schwerwiegend: Empty path component found in input
fast-import: dumping crash report to fast_import_crash_3385447

fast_import_crash_3380963

fast-import crash report:
    fast-import process: 3380963
    parent process     : 3380440
    at 2025-02-27 15:16:12 +0000

fatal: Empty path component found in input

Most Recent Commands Before Crash
---------------------------------
  blob
  mark :18446744073709551312
  data 4317
  blob
  mark :18446744073709551311
  data 15048
  blob
  mark :18446744073709551310
  data 3267
  blob
  mark :18446744073709551309
  data 11824
  blob
  mark :18446744073709551308
  data 485
  blob
  mark :18446744073709551307
  data 2841
  blob
  mark :18446744073709551306
  data 1230
  blob
  mark :18446744073709551305
  data 1631
  blob
  mark :18446744073709551304
  data 811
  blob
  mark :18446744073709551303
  data 4187
  blob
  mark :18446744073709551302
  data 13233
  blob
  mark :18446744073709551301
  data 4675
  blob
  mark :18446744073709551300
  data 2491
  blob
  mark :18446744073709551299
  data 11127
  blob
  mark :18446744073709551298
  data 3875
  blob
  mark :18446744073709551297
  data 2620
  blob
  mark :18446744073709551296
  data 18717
  blob
  mark :18446744073709551295
  data 3071
  blob
  mark :18446744073709551294
  data 6925
  blob
  mark :18446744073709551293
  data 6417
  blob
  mark :18446744073709551292
  data 22720
  blob
  mark :18446744073709551291
  data 8967
  blob
  mark :18446744073709551290
  data 12719
  blob
  mark :18446744073709551289
  data 7358
  blob
  mark :18446744073709551288
  data 13
  blob
  mark :18446744073709551287
  data 1557
  blob
  mark :18446744073709551286
  data 412216
  blob
  mark :18446744073709551285
  data 81383
  blob
  mark :18446744073709551284
  data 117013
  reset refs/tags/backups/main@1592
  from refs/heads/main
  
  reset refs/heads/main
  from 0000000000000000000000000000000000000000
  
  progress SVN r1592 branch main = :0 # delete
  commit refs/heads/main
  mark :20
  committer user <[email protected]> 1295532581 +0000
  data 1
  deleteall
* M 100644 :18446744073709551614 /tags/Version 1.0.0/V1.0.0.zip

Active Branch LRU
-----------------
    active_branches = 2 cur, 5 max

  pos  clock name
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1)     19 refs/heads/main
   2)      6 refs/heads/old

Inactive Branches
-----------------
refs/tags/backups/main@204:
  status      :
  tip commit  : f579e9de9aa8d35c7024df7b05d4941fb7c78a12
  old tree    : d54c918a605dcf3471280d49c122eebdb739721b
  cur tree    : d54c918a605dcf3471280d49c122eebdb739721b
  commit clock: 0
  last pack   : 

refs/heads/old:
  status      : active dirty
  tip commit  : 0000000000000000000000000000000000000000
  old tree    : 0000000000000000000000000000000000000000
  cur tree    : 0000000000000000000000000000000000000000
  commit clock: 6
  last pack   : 0

refs/tags/backups/old@203:
  status      :
  tip commit  : f579e9de9aa8d35c7024df7b05d4941fb7c78a12
  old tree    : d54c918a605dcf3471280d49c122eebdb739721b
  cur tree    : d54c918a605dcf3471280d49c122eebdb739721b
  commit clock: 0
  last pack   : 

refs/tags/backups/old@206:
  status      :
  tip commit  : 214a94cc3810734a822835132de6f95dfa7e3abf
  old tree    : 9571fb22c13a6d468e000eb84cf9826383670ae0
  cur tree    : 9571fb22c13a6d468e000eb84cf9826383670ae0
  commit clock: 0
  last pack   : 

refs/tags/backups/main@1592:
  status      :
  tip commit  : 43787636b911154e3bed99aa2aeb62ae75e12ae6
  old tree    : b2a7f1941d83636a3b34597655ab58160a38c1e8
  cur tree    : b2a7f1941d83636a3b34597655ab58160a38c1e8
  commit clock: 0
  last pack   : 

refs/heads/main:
  status      : active loaded dirty
  tip commit  : 0000000000000000000000000000000000000000
  old tree    : 0000000000000000000000000000000000000000
  cur tree    : 0000000000000000000000000000000000000000
  commit clock: 19
  last pack   : 0


Marks
-----
  exported to marks-repo_2

-------------------
END OF CRASH REPORT

fast_import_crash_3385447

fast-import crash report:
    fast-import process: 3385447
    parent process     : 3380440
    at 2025-02-27 15:16:12 +0000

fatal: Empty path component found in input

Most Recent Commands Before Crash
---------------------------------
  blob
  mark :18446744073709551614
  data 2812
  blob
  mark :18446744073709551613
  data 5777
  blob
  mark :18446744073709551612
  data 34816
  blob
  mark :18446744073709551611
  data 150720
  blob
  mark :18446744073709551610
  data 1218
  blob
  mark :18446744073709551609
  data 4736
  blob
  mark :18446744073709551608
  data 5352
  blob
  mark :18446744073709551607
  data 8465
  blob
  mark :18446744073709551606
  data 3687
  blob
  mark :18446744073709551605
  data 1414
  blob
  mark :18446744073709551604
  data 140594
  blob
  mark :18446744073709551603
  data 18457
  blob
  mark :18446744073709551602
  data 112829
  blob
  mark :18446744073709551601
  data 43470
  blob
  mark :18446744073709551600
  data 12514
  blob
  mark :18446744073709551599
  data 10407
  blob
  mark :18446744073709551598
  data 148690
  commit refs/heads/main
  mark :1
  committer user <[email protected]> 1295517267 +0000
  data 1
* M 100644 :18446744073709551614 /PIC/USB.mcp

Active Branch LRU
-----------------
    active_branches = 1 cur, 5 max

  pos  clock name
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1)      0 refs/heads/main

Inactive Branches
-----------------
refs/heads/main:
  status      : active loaded dirty
  tip commit  : 0000000000000000000000000000000000000000
  old tree    : 0000000000000000000000000000000000000000
  cur tree    : 0000000000000000000000000000000000000000
  commit clock: 0
  last pack   : 


Marks
-----
  exported to marks-repo_1

-------------------
END OF CRASH REPORT
@tnyblom
Copy link
Contributor

tnyblom commented Feb 28, 2025

Hi,
This means that you have an issue with your rules.
The tool is very picky with accepting only SVN revisions that can be made into git commits.

@prinz3nroll3
Copy link
Author

@tnyblom thanks a lot for your answer.
i changed the parameter to:
--svn-ignore
--empty-dirs
and now the conversion did not crash with a log, like above.

now the conversion from revision 2210 takes a ver long time.
i get the message Exporting revision 2210..... with a lot of points and after some hours, the machine is under heavy load, i get the error message killed :-(

@eeijlar
Copy link

eeijlar commented Mar 4, 2025

Is there a dud commit at revision 2210? I had a similar problem where someone had checked in a 50GB SQL file and it was still converting after 18 hours. I had to repair SVN to fix the issue.

@prinz3nroll3
Copy link
Author

Change the rule works, i get now no empty patch crash.

@prinz3nroll3
Copy link
Author

Is there a dud commit at revision 2210? I had a similar problem where someone had checked in a 50GB SQL file and it was still converting after 18 hours. I had to repair SVN to fix the issue.

How did you repair the database?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants