Hello,

my attempt to import bitrig OS git src tree into fossil failed with
segfault. This is done on OpenBSD 5.8 current , fossil is compiled
from the ports tree, git is provided also from ports tree.

$ git --version
git version 2.6.2

$ fossil version
This is fossil version 1.34 [62dcb00e68] 2015-11-02 17:35:44 UTC


after segfault I've recompiled with debug and also with -g to see the
backtrace. Whole output looks:

$ time git fast-export --all|fossil.gdb import --git ../bitrig2.fossil
Rebuilding repository meta-data...
  0.0% complete...
6 scan steps for 1 rows in [SELECT 1 FROM sqlite_master WHERE
name='user' AND sql GLOB '* mtime *']
8 scan steps for 1 rows in [SELECT 1 FROM sqlite_master WHERE
name='config' AND sql GLOB '* mtime *']
10 scan steps for 1 rows in [SELECT 1 FROM sqlite_master WHERE
name='shun' AND sql GLOB '* mtime *']
13 scan steps for 1 rows in [SELECT 1 FROM sqlite_master WHERE
name='reportfmt' AND sql GLOB '* mtime *']
15 scan steps for 1 rows in [SELECT 1 FROM sqlite_master WHERE
name='concealed' AND sql GLOB '* mtime *']
Segmentation fault (core dumped)
 1173m39.13s real   785m57.10s user    82m17.69s system
you have mail in /var/mail/karel
$ gdb `which fossil.gdb` fo
fold         fontname.sh  fontprop.sh  fonttosfnt   for
fortune      fossil       fossil.gdb
$ gdb `which fossil.gdb` fossil.gdb.core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd5.8"...
Core was generated by `fossil.gdb'.
Program terminated with signal 11, Segmentation fault.
Loaded symbols for /usr/local/bin/fossil.gdb
Reading symbols from /usr/lib/libsqlite3.so.31.0...done.
Loaded symbols for /usr/lib/libsqlite3.so.31.0
Reading symbols from /usr/lib/libssl.so.37.1...done.
Loaded symbols for /usr/lib/libssl.so.37.1
Reading symbols from /usr/lib/libcrypto.so.36.1...done.
Loaded symbols for /usr/lib/libcrypto.so.36.1
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Reading symbols from /usr/lib/libm.so.9.0...done.
Loaded symbols for /usr/lib/libm.so.9.0
Reading symbols from /usr/lib/libfuse.so.1.1...done.
Loaded symbols for /usr/lib/libfuse.so.1.1
Reading symbols from /usr/lib/libc.so.84.0...done.
Loaded symbols for /usr/lib/libc.so.84.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
#0  0x0000156734863c48 in next_token (p=0x7f7ffffc06b0,
pLen=0x7f7ffffc06d8) at manifest.c:292
292     manifest.c: No such file or directory.
        in manifest.c
(gdb) where
#0  0x0000156734863c48 in next_token (p=0x7f7ffffc06b0,
pLen=0x7f7ffffc06d8) at manifest.c:292
#1  0x0000156734865491 in manifest_parse (pContent=Variable "pContent"
is not available.
) at manifest.c:446
#2  0x00001567348671d5 in manifest_crosslink (rid=305814,
pContent=0x7f7ffffc09a0, flags=0) at manifest.c:1759
#3  0x0000156734878f13 in rebuild_step (rid=305814, size=14,
pBase=0x7f7ffffc09a0) at rebuild.c:255
#4  0x0000156734879ac2 in rebuild_db (randomize=Variable "randomize"
is not available.
) at rebuild.c:399
#5  0x0000156734853f42 in import_cmd () at import.c:1645
#6  0x00001567348633ce in main (argc=0, argv=0x0) at main.c:804
(gdb)


To duplicate this issue please do:

git clone https://github.com/bitrig/bitrig.git bitrig
cd bitrig
git fast-export --all|fossil import --git ../bitrig.fossil

please note that the process is a little bit time consuming and disk
space consuming. It takes around 22 hours on Intel Xeon E3-1220 and
around 230GB of drive space.

Is there anything I shall try or provide you with to duplicate this issue?

Thanks!
Karel
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to