[prev in list] [next in list] [prev in thread] [next in thread]
List: fossil-dev
Subject: Re: [fossil-dev] Segfault while importing from svn
From: Baruch Burstein <bmburstein () gmail ! com>
Date: 2015-01-11 8:30:16
Message-ID: CA+34VNJcFqsmTthm9VGS4iKegToD1svh9ymG5N03JqwE=VOtXQ () mail ! gmail ! com
[Download RAW message or body]
On Sat, Jan 10, 2015 at 1:54 PM, Baptiste Daroussin <
baptiste.daroussin@gmail.com> wrote:
> Hi,
>
> I have been trying to import a small svn repository with latest svnimport
> branch
> I have extracted a small subset of the dump able to reproduce the segfault:
>
> Here is the backtrace:
> Starting program: /usr/local/bin/fossil import svn gecko.fossil
> mini-gecko.dump
> Importing SVN revision: 163
> Program received signal SIGSEGV, Segmentation fault.
> manifest_file_rewind (p=0x0) at manifest.c:1076
> 1076 manifest.c: No such file or directory.
> in manifest.c
> Current language: auto; currently minimal
> (gdb) bt
> #0 manifest_file_rewind (p=0x0) at manifest.c:1076
> #1 0x00000000004350aa in fociFilter (pCursor=0x802343fa8,
> idxNum=<value optimized out>,
> idxStr=<value optimized out>, argc=541017833, argv=0x8020431e8) at
> foci.c:153
> #2 0x0000000000517584 in sqlite3VdbeExec (p=0x802087648) at
> ./src/sqlite3.c:76161
> #3 0x0000000000496b49 in sqlite3_step (pStmt=0x802087648) at
> ./src/sqlite3.c:68761
> #4 0x000000000041f5c2 in db_step (pStmt=0x7fffffffd738) at db.c:348
> #5 0x0000000000439af1 in import_cmd () at import.c:1267
> #6 0x000000000044675f in main (argc=<value optimized out>,
> argv=<value optimized out>) at main.c:760
>
> Here is the dump:
> http://people.freebsd.org/~bapt/mini-gecko.dump
>
> Best regards,
> Bapt
>
Fixed!
Thank you for testing this. There are still a few things to work
out/implement, but it is definitely testable at the moment. The main issue
I am aware of that will fail at the moment is changing anything in the
"tags" folder. Please let me know if you find other issues besides that
one.
--
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
[Attachment #3 (text/html)]
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Jan 10, 2015 \
at 1:54 PM, Baptiste Daroussin <span dir="ltr"><<a \
href="mailto:baptiste.daroussin@gmail.com" \
target="_blank">baptiste.daroussin@gmail.com</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hi,<br> <br>
I have been trying to import a small svn repository with latest svnimport branch<br>
I have extracted a small subset of the dump able to reproduce the segfault:<br>
<br>
Here is the backtrace:<br>
Starting program: /usr/local/bin/fossil import svn gecko.fossil mini-gecko.dump<br>
Importing SVN revision: 163<br>
Program received signal SIGSEGV, Segmentation fault.<br>
manifest_file_rewind (p=0x0) at manifest.c:1076<br>
1076 manifest.c: No such file or directory.<br>
in manifest.c<br>
Current language: auto; currently minimal<br>
(gdb) bt<br>
#0 manifest_file_rewind (p=0x0) at manifest.c:1076<br>
#1 0x00000000004350aa in fociFilter (pCursor=0x802343fa8,<br>
idxNum=<value optimized out>,<br>
idxStr=<value optimized out>, argc=541017833, argv=0x8020431e8) at<br>
foci.c:153<br>
#2 0x0000000000517584 in sqlite3VdbeExec (p=0x802087648) at<br>
./src/sqlite3.c:76161<br>
#3 0x0000000000496b49 in sqlite3_step (pStmt=0x802087648) at<br>
./src/sqlite3.c:68761<br>
#4 0x000000000041f5c2 in db_step (pStmt=0x7fffffffd738) at db.c:348<br>
#5 0x0000000000439af1 in import_cmd () at import.c:1267<br>
#6 0x000000000044675f in main (argc=<value optimized out>,<br>
argv=<value optimized out>) at main.c:760<br>
<br>
Here is the dump:<br>
<a href="http://people.freebsd.org/~bapt/mini-gecko.dump" \
target="_blank">http://people.freebsd.org/~bapt/mini-gecko.dump</a><br> <br>
Best regards,<br>
Bapt<br clear="all"></blockquote><div><br></div><div>Fixed!<br></div><div>Thank you \
for testing this. There are still a few things to work out/implement, but it is \
definitely testable at the moment. The main issue I am aware of that will fail at the \
moment is changing anything in the "tags" folder. Please let me know if you \
find other issues besides that one. <br></div></div><br>-- <br><div \
class="gmail_signature"><div dir="ltr"><font size="1">˙uʍop-ǝpısdn sı \
ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı</font></div></div> \
</div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic