On Dec 23, 2017 4:02 PM, Dinesh Thirumurthy <dinesh.thirumur...@gmail.com> 
wrote:
>
> Hi Stuart and Everyone,
>
>
> > The conversion on github is done with cvs2gitdump. 
>
> git2cvsdump dumps core on latest current.
> I am stumped after some basic investigation.
>
> /usr/local/bin/cvs2gitdump dumps core.

Not sure if this would cause it or not, but is your /usr/local mounted with 
wxallowed?
>
> Repeated it with latest cvs2gitdump at
> https://github.com/yasuoka/cvs2gitdump/blob/master/cvs2gitdump.py
>
> That also failed. 
> Looked into stacktrace, some problem at rcsparse. So tried installing 
>
> pkg_add -vvv py-rcsparse
>
> It said I am ok. No change in py-rcsparse-20151027.
>
> What I did:
>
> mkdir x
> cd x
> cvs -qd anon...@anoncvs.jp.openbsd.org:/cvs checkout -P src
> mv src src0 # save a copy for later use
> cp -r src0 src1 # use a copy of the repo
> pkg_add -vvv cvs2gitdump 
> # follow instructions given in source also at
> https://github.com/yasuoka/cvs2gitdump/blob/master/cvs2gitdump.py
> git init --bare git1.git
> cvs2gitdump -k OpenBSD -e openbsd.org /home/user/x/src1 > openbsd.dump
> # will dump core or rather dumps core for me.
> # running generic kernel on virtual box of current
>
> session and stack trace below.
> Some issues in rcscheckout()
> But most likely some configuration or user error.
>
> Any pointers?
>
> Thank you.
>
> Those which to see the session output separately, it is at 
>
> https://github.com/hakrtech/issues/blob/master/001-x.txt
>
> Regards,
> Dinesh
>
>
> Script started on Sun Dec 24 08:17:47 2017
> openbsd$ pwd
> /home/dt/x
> openbsd$ ls -l
> total 48
> -rwxr-xr-x   1 dt  dt  20899 Dec 24 08:00 cvs2gitdump.py
> drwxr-xr-x  17 dt  dt 512 Dec 24 08:09 src1
> -rw-r--r--   1 dt  dt    0 Dec 24 08:17 x.out
> openbsd$ git init --bare /home/dt/x/git1.git
> Initialized empty Git repository in /home/dt/x/git1.git/
> openbsd$ type cvs2gitdump
> cvs2gitdump is /usr/local/bin/cvs2gitdump
> openbsd$ cvs2gitdump -k OpenBSD -e openbsd.org /home/dt/x/src1 >
> openbsd.dump
> ** walk cvs tree
> Segmentation fault (core dumped)
> openbsd$ ls -l
> total 16536
> -rwxr-xr-x   1 dt  dt 20899 Dec 24 08:00 cvs2gitdump.py
> drwxr-xr-x   7 dt  dt    512 Dec 24 08:19 git1.git
> -rw-r--r--   1 dt  dt      0 Dec 24 08:20 openbsd.dump
> -rw-------   1 dt  dt  8414024 Dec 24 08:20 python2.7.core
> drwxr-xr-x  17 dt  dt    512 Dec 24 08:09 src1
> -rw-r--r--   1 dt  dt    577 Dec 24 08:20 x.out
> openbsd$ gdb python2.7 python2.7.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-openbsd6.2"...
> (no debugging symbols found)
>
> Core was generated by `python2.7'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/lib/libpthread.so.25.1...done.
> Loaded symbols for /usr/lib/libpthread.so.25.1
> Loaded symbols for /usr/local/bin/python2.7
> Reading symbols from /usr/local/lib/libpython2.7.so.0.0...done.
> Loaded symbols for /usr/local/lib/libpython2.7.so.0.0
> Symbols already loaded for /usr/lib/libpthread.so.25.1
> Reading symbols from /usr/lib/libutil.so.13.0...done.
> Loaded symbols for /usr/lib/libutil.so.13.0
> Reading symbols from /usr/lib/libm.so.10.0...done.
> Loaded symbols for /usr/lib/libm.so.10.0
> Reading symbols from /usr/lib/libc.so.92.1...done.
> Loaded symbols for /usr/lib/libc.so.92.1
> Reading symbols from /usr/libexec/ld.so...done.
> Loaded symbols for /usr/libexec/ld.so
> Reading symbols
> from /usr/local/lib/python2.7/lib-dynload/_locale.so...done.
> Loaded symbols for /usr/local/lib/python2.7/lib-dynload/_locale.so
> Reading symbols from /usr/local/lib/libintl.so.6.0...done.
> Loaded symbols for /usr/local/lib/libintl.so.6.0
> Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
> Loaded symbols for /usr/local/lib/libiconv.so.6.0
> Reading symbols
> from /usr/local/lib/python2.7/site-packages/rcsparse.so...done.
> Loaded symbols for /usr/local/lib/python2.7/site-packages/rcsparse.so
> Reading symbols
> from /usr/local/lib/python2.7/lib-dynload/strop.so...done.
> Loaded symbols for /usr/local/lib/python2.7/lib-dynload/strop.so
> Reading symbols
> from /usr/local/lib/python2.7/lib-dynload/time.so...done.
> Loaded symbols for /usr/local/lib/python2.7/lib-dynload/time.so
> Reading symbols
> from /usr/local/lib/python2.7/lib-dynload/select.so...done.
> Loaded symbols for /usr/local/lib/python2.7/lib-dynload/select.so
> Reading symbols
> from /usr/local/lib/python2.7/lib-dynload/fcntl.so...done.
> Loaded symbols for /usr/local/lib/python2.7/lib-dynload/fcntl.so
> Reading symbols
> from /usr/local/lib/python2.7/lib-dynload/_struct.so...done.
> Loaded symbols for /usr/local/lib/python2.7/lib-dynload/_struct.so
> Reading symbols
> from /usr/local/lib/python2.7/lib-dynload/binascii.so...done.
> Loaded symbols for /usr/local/lib/python2.7/lib-dynload/binascii.so
> Reading symbols from /usr/lib/libz.so.5.0...done.
> Loaded symbols for /usr/lib/libz.so.5.0
> Reading symbols
> from /usr/local/lib/python2.7/lib-dynload/cStringIO.so...done.
> Loaded symbols for /usr/local/lib/python2.7/lib-dynload/cStringIO.so
> Reading symbols
> from /usr/local/lib/python2.7/lib-dynload/_functools.so...done.
> Loaded symbols for /usr/local/lib/python2.7/lib-dynload/_functools.so
> #0  memmove () at /usr/src/lib/libc/arch/amd64/string/memmove.S:85
> 85 rep
> (gdb) bt
> #0  memmove () at /usr/src/lib/libc/arch/amd64/string/memmove.S:85
> #1  0x00001e186349f749 in rcscheckout ()
>    from /usr/local/lib/python2.7/site-packages/rcsparse.so
> #2  0x00001e186349a9c5 in pyrcsfile_checkout ()
>    from /usr/local/lib/python2.7/site-packages/rcsparse.so
> #3  0x00001e18edd1a012 in PyEval_EvalFrameEx ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #4  0x00001e18edd22421 in fast_function ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #5  0x00001e18edd19ada in PyEval_EvalFrameEx ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #6  0x00001e18edd22421 in fast_function ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #7  0x00001e18edd19ada in PyEval_EvalFrameEx ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #8  0x00001e18edd22421 in fast_function ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #9  0x00001e18edd19ada in PyEval_EvalFrameEx ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #10 0x00001e18edd174c4 in PyEval_EvalCodeEx ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #11 0x00001e18edd2233d in fast_function ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #12 0x00001e18edd19ada in PyEval_EvalFrameEx ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #13 0x00001e18edd22421 in fast_function ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #14 0x00001e18edd19ada in PyEval_EvalFrameEx ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #15 0x00001e18edd174c4 in PyEval_EvalCodeEx ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #16 0x00001e18edd16e62 in PyEval_EvalCode ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #17 0x00001e18edd42d5d in PyRun_FileExFlags ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #18 0x00001e18edd42876 in PyRun_SimpleFileExFlags ()
>    from /usr/local/lib/libpython2.7.so.0.0
> #19 0x00001e18edd57a9b in Py_Main ()
> from /usr/local/lib/libpython2.7.so.0.0
> #20 0x00001e164e300456 in _start () from /usr/local/bin/python2.7
> #21 0x0000000000000000 in ?? ()
> Current language:  auto; currently asm
> (gdb) up
> #1  0x00001e186349f749 in rcscheckout ()
>    from /usr/local/lib/python2.7/site-packages/rcsparse.so
> (gdb) l
> 85 rep
> 86 movsq
> 87 movq %r11,%rax
> 88 cld
> 89 ret
> 90 #ifdef memcpy_in_asm
> 91 END_BUILTIN(memcpy)
> 92 #endif
> 93 END_BUILTIN(memmove)
> 94 END_WEAK(bcopy)
> (gdb) down
> #0  memmove () at /usr/src/lib/libc/arch/amd64/string/memmove.S:85
> 85 rep
> (gdb) l
> 80 movsb
> 81 movq %rdx,%rcx /* copy remainder by words */
> 82 shrq $3,%rcx
> 83 subq $7,%rsi
> 84 subq $7,%rdi
> 85 rep
> 86 movsq
> 87 movq %r11,%rax
> 88 cld
> 89 ret
> (gdb) quit
> openbsd$ ^D
>
> Script done on Sun Dec 24 08:22:27 2017
>
>

Reply via email to