svn2git
svn2git copied to clipboard
Failed to write to process: Error writing to process | fatal: Empty path component found in input
Hi, I'm trying to convert an old svn repo and I'm getting this problem.
The crash report:
fast-import crash report:
fast-import process: 15204
parent process : 1
at 2019-08-20 09:28:46 +0000
fatal: Empty path component found in input
Most Recent Commands Before Crash
---------------------------------
data 2224
blob
mark :18446744073709551171
data 5330
blob
mark :18446744073709551170
data 11902
blob
mark :18446744073709551169
data 2693
blob
mark :18446744073709551168
data 1629
blob
mark :18446744073709551167
data 1733
blob
mark :18446744073709551166
data 2569
blob
mark :18446744073709551165
data 8825
blob
mark :18446744073709551164
data 1803
blob
mark :18446744073709551163
data 3467
blob
mark :18446744073709551162
data 3363
blob
mark :18446744073709551161
data 7116
blob
mark :18446744073709551160
data 4363
blob
mark :18446744073709551159
data 3269
blob
mark :18446744073709551158
data 3212
blob
mark :18446744073709551157
data 16104
blob
mark :18446744073709551156
data 5243
blob
mark :18446744073709551155
data 6632
blob
mark :18446744073709551154
data 23172
blob
mark :18446744073709551153
data 10553
blob
mark :18446744073709551152
data 7209
blob
mark :18446744073709551151
data 1092
blob
mark :18446744073709551150
data 4020
blob
mark :18446744073709551149
data 3713
blob
mark :18446744073709551148
data 4967
blob
mark :18446744073709551147
data 3157
blob
mark :18446744073709551146
data 3856
blob
mark :18446744073709551145
data 5849
blob
mark :18446744073709551144
data 4291
blob
mark :18446744073709551143
data 3751
blob
mark :18446744073709551142
data 7776
blob
mark :18446744073709551141
data 25184
commit refs/heads/master
mark :19
committer user <user@localhost> 1190996168 +0000
data 39
deleteall
* M 100644 :18446744073709551614 /.gitignore
Active Branch LRU
-----------------
active_branches = 1 cur, 5 max
pos clock name
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1) 0 refs/heads/master
Inactive Branches
-----------------
refs/heads/master:
status : active loaded dirty
tip commit : 9e09d0745d5af0c3978f948e10fd135c07783625
old tree : 0000000000000000000000000000000000000000
cur tree : 0000000000000000000000000000000000000000
commit clock: 0
last pack :
Marks
-----
exported to marks-REPO
-------------------
END OF CRASH REPORT
removing the option --svn-ignore solves the problem, but I have to create the gitignore manually
Did it generate a core dump?
Only a stackdump, that I can find:
Stack trace:
Frame Function Args
000FFFFC110 00180060BF9 (00000000000, 00000000002, 000FFFFC328, 000FFFFDE50)
00000000000 00180062AD7 (00000000064, 00000000000, 00000000310, 00000000000)
000FFFFC400 001801314DB (0018021AE28, 000FFFFD680, 001801007F0, 00000000000)
006000845F8 001801575E4 (E99A8A6755B11D03, 0018030BBD0, 0018030BBD0, 0060007E878)
006000845F8 0018012DB7B (E99A8A6755B11D03, 000FFFFFFFF, 000FFFFC740, 000FFFFC858)
006000845F8 0018012DEAF (000FFFFC880, 00000000000, 001800C88DE, 000FFFFC770)
006000845F8 003FD7AF220 (00000000003, 006001175C8, 006000845F8, 00600084068)
006000845F8 0010040BF74 (006001CDAC0, 006001CDA38, 00600089290, 00600099460)
000FFFFCA00 001004121AB (00000000014, 00000000001, 00050141550, 000FFFFFFFF)
00000000014 0010041689B (00600000410, 000FFFFCAF0, 000FFFFCAF8, 000FFFFCB30)
000FFFFCAE0 0010041699C (000FFFF0040, 000FFFFCAE0, 00180151130, 003FD8AE940)
000FFFFCAE0 0010042CB16 (00180056A61, 001802D4100, 0000000002F, 0018033A6D1)
000FFFFCCD0 0018004A816 (00000000000, 00000000000, 00000000000, 00000000000)
00000000000 00180048353 (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0 00180048404 (00000000000, 00000000000, 00000000000, 00000000000)
End of stack trace
I got a similar crash with the following stack on 1.0.16:
#0 0x00007f66fdf3c160 in raise () from /lib64/libc.so.6
#1 0x00007f66fdf3d741 in abort () from /lib64/libc.so.6
#2 0x00007f66fe9048a7 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib64/libQt5Core.so.5
#3 0x000055980b9f862c in FastImportRepository::Transaction::commit (this=0x55980d2f3240) at repository.cpp:1204
#4 0x000055980ba01c51 in SvnRevision::commit (this=this@entry=0x7ffe1697ce00) at svn.cpp:605
#5 0x000055980ba06290 in SvnPrivate::exportRevision (this=<optimized out>, revnum=3122) at svn.cpp:472
#6 0x000055980ba0639c in Svn::exportRevision (this=<optimized out>, revnum=<optimized out>) at svn.cpp:154
#7 0x000055980b9e61bf in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:279
This happens at the third relevant revision: a modification after reorg of folders from trunk/Base to Base/trunk:
------------------------------------------------------------------------
r3122 | matze | 2015-07-11 08:26:27 +0200 (Sa, 11. Jul 2015) | 1 Zeile
Geänderte Pfade:
M /Base/trunk/pom.xml
Update commons-lang and junit versions
------------------------------------------------------------------------
r3101 | matze | 2015-07-04 02:19:26 +0200 (Sa, 04. Jul 2015) | 1 Zeile
Geänderte Pfade:
A /Base/trunk/.classpath (von /trunk/Base/.classpath:3100)
A /Base/trunk/.project (von /trunk/Base/.project:3100)
A /Base/trunk/.settings (von /trunk/Base/.settings:3100)
A /Base/trunk/changes.txt (von /trunk/Base/changes.txt:3100)
A /Base/trunk/pom.xml (von /trunk/Base/pom.xml:3100)
A /Base/trunk/src (von /trunk/Base/src:3100)
A /Base/trunk/test (von /trunk/Base/test:3100)
D /trunk/Base/.classpath
D /trunk/Base/.project
D /trunk/Base/.settings
D /trunk/Base/changes.txt
D /trunk/Base/pom.xml
D /trunk/Base/src
D /trunk/Base/test
------------------------------------------------------------------------
r3100 | matze | 2015-07-04 02:19:07 +0200 (Sa, 04. Jul 2015) | 1 Zeile
Geänderte Pfade:
A /Base
A /Base/branches
A /Base/tags
A /Base/trunk
------------------------------------------------------------------------
and finally the crash report from git fast-import:
fast-import crash report:
fast-import process: 18617
parent process : 18616
at 2020-02-21 01:30:31 +0000
fatal: Empty path component found in input
Most Recent Commands Before Crash
---------------------------------
blob
mark :18446744073709551614
data 998
blob
mark :18446744073709551613
data 556
blob
mark :18446744073709551612
data 115
blob
mark :18446744073709551611
data 7407
blob
mark :18446744073709551610
data 86
blob
mark :18446744073709551609
data 2071
blob
mark :18446744073709551608
data 3559
blob
mark :18446744073709551607
data 1141
blob
mark :18446744073709551606
data 6803
blob
mark :18446744073709551605
data 618
blob
mark :18446744073709551604
data 669
blob
mark :18446744073709551603
data 655
blob
mark :18446744073709551602
data 2171
blob
mark :18446744073709551601
data 110
blob
mark :18446744073709551600
data 432
blob
mark :18446744073709551599
data 3374
blob
mark :18446744073709551598
data 8296
blob
mark :18446744073709551597
data 2288
blob
mark :18446744073709551596
data 8556
blob
mark :18446744073709551595
data 7451
blob
mark :18446744073709551594
data 1920
blob
mark :18446744073709551593
data 1223
blob
mark :18446744073709551592
data 1235
blob
mark :18446744073709551591
data 875
blob
mark :18446744073709551590
data 6091
blob
mark :18446744073709551589
data 2076
commit refs/heads/master
mark :1
committer Matthias Hanisch <matze@local> 1435969166 +0000
data 1
D /.settings
D /src
D /test
* M 100644 :18446744073709551614 /.classpath
Active Branch LRU
-----------------
active_branches = 1 cur, 5 max
pos clock name
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1) 0 refs/heads/master
Inactive Branches
-----------------
refs/heads/master:
status : active loaded dirty
tip commit : 0000000000000000000000000000000000000000
old tree : 0000000000000000000000000000000000000000
cur tree : 0000000000000000000000000000000000000000
commit clock: 0
last pack :
Marks
-----
:18446744073709551589 1cbaca303178146555ea1b238a2dc3dd6da86305
:18446744073709551590 98cf885c6b06a2c3fcdce7e4127a5d74e5d43100
:18446744073709551591 6fce760f4211ed3d1f2d622b7ba993a25cf281d0
:18446744073709551592 4bec7fb8fc7c503a169e56cb77d73263fcab90ae
:18446744073709551593 ff237aa517325e2428064d0ae671bc92690af60a
:18446744073709551594 fa9513e6e55ad15dd7fd808ff58e0d477605de82
:18446744073709551595 a6938e62bf3f48b35829cc92845c4cc771527e18
:18446744073709551596 cbd3630c835efda911cc5c098c2815b6b4e4eb29
:18446744073709551597 b65f41c8db5452a8152d370d8672c50ab3a1f97a
:18446744073709551598 6b4304c8ee1988297f44aae016d002b9727c24c9
:18446744073709551599 4f22694a27be5fd58aa1c3ce83c3ad1b6cd3912f
:18446744073709551600 b91ae578e103fdc4c77eb8947b00e4fabc0a25f3
:18446744073709551601 fc2c1a3d95a5ea0c5b7eeb146546fd323b5be571
:18446744073709551602 a99d797c93671beef1b924847a943b1dba22e606
:18446744073709551603 db506a26fc6779db7a44fd4799af8b67e8ac6976
:18446744073709551604 30accc56718fcec0a01ff44ccacb14648fcafa97
:18446744073709551605 a3cc88c5987f26a00339500c36d9fa2e4929bac9
:18446744073709551606 c7bcbcc0d435058734c718f5fabbf283e12b6e7f
:18446744073709551607 763534523e2f3b44efd6ff1fd9b8a53ceda2b25c
:18446744073709551608 466bc52525262978d166473648ff4ba7d494f5ae
:18446744073709551609 ae3362118e129bf342f28480f590077a1ac31d15
:18446744073709551610 f897a7f1cb2389f85fe6381425d29f0a9866fb65
:18446744073709551611 9f8e095bd7b59655bf269b6de1fe2ded7058f516
:18446744073709551612 f9fe34593fcd3624a964478aeb438b0d44fe7237
:18446744073709551613 69bf6e959c02d187903c47cdfb5585e35df6f4f3
:18446744073709551614 f619a5369d9d71cf1eb2ab2ca3540e64498e9baa
-------------------
END OF CRASH REPORT
If you need more information let me know.
I already fixed the handling of .gitignore in the root directory in 60bfc16121f37e51e0422ca7a0fa8a89745d63bb and some other gitignore related bugs.
1.0.18 should not have this issue.