You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Matthew Gregan <ki...@orcon.net.nz> on 2003/11/24 21:24:22 UTC

svn blame segfault - Subversion 0.33.0/Cygwin

Subversion 0.33.0 on Cygwin is crashing when I run 'svn blame' against
any file in my working copy.  I've built a Linux client from the same
source and 'svn blame' works fine.

Both the Cygwin and Linux client are accessing the repository using svn+ssh.
The server is running 0.33.0 built from the same source.

Please let me know if there's anything I can try, or any more information I can provide.


Version:
svn, version 0.33.0 (r7737)
   compiled Nov 21 2003, 14:19:08

Copyright (C) 2000-2003 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' schema
  - handles 'https' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' schema


GDB backtrace:
(gdb) run blame Makefile
Starting program: /usr/local/bin/svn.exe blame Makefile

Program received signal SIGSEGV, Segmentation fault.
0x004657e3 in ra_svn_get_repos_root (sess=0x10058b18, url=0x22faac,
    pool=0x10050000) at subversion/libsvn_ra_svn/client.c:675
675       if (!conn->repos_root)
(gdb) bt
#0  0x004657e3 in ra_svn_get_repos_root (sess=0x10058b18, url=0x22faac,
    pool=0x10050000) at subversion/libsvn_ra_svn/client.c:675
#1  0x00415832 in svn_client_blame (target=0x100470a0 "Makefile",
    start=0x22fcd8, end=0x22fce8, strict_node_history=0,
    receiver=0x40127e <blame_receiver>, receiver_baton=0x10047118,
    ctx=0x22fcb8, pool=0x10050000) at subversion/libsvn_client/blame.c:403
#2  0x004014bf in svn_cl__blame (os=0x10045e60, baton=0x22fbc8,
    pool=0x10045e28) at subversion/clients/cmdline/blame-cmd.c:103
#3  0x0040cbf6 in main (argc=3, argv=0x10041c28)
    at subversion/clients/cmdline/main.c:1207


Cygwin stackdump:
Exception: STATUS_ACCESS_VIOLATION at eip=004657E3
eax=100576A8 ebx=10044728 ecx=00000000 edx=00466C50 esi=00000000
edi=0022FE18
ebp=0022FAF8 esp=0022FAE0 program=d:\cygwin\usr\local\bin\svn.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022FAF8  004657E3  (100576A8, 0022FBEC, 1004EB90, 0022FB84)
0022FBF8  00415832  (100459B8, 0022FE18, 0022FE28, 00000000)
0022FC48  004014BF  (10044728, 0022FD08, 100446F0, 0040B416)
0022FEF0  0040CBF6  (00000003, 61602174, 10040330, 0022FF24)
0022FF40  61005018  (610CFEE0, FFFFFFFE, 000007F0, 610CFE04)
0022FF90  610052ED  (00000000, 00000000, 00000001, 00000000)
0022FFB0  004B1571  (0040B4AE, 037F0009, 0022FFF0, 77E814C7)
0022FFC0  0040103C  (00000001, 0000001F, 7FFDF000, EF9B8CF0)
0022FFF0  77E814C7  (00401000, 00000000, 78746341, 00000020)
End of stack trace

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                kinetik@orcon.net.nz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn blame segfault - Subversion 0.33.0/Cygwin

Posted by Matthew Gregan <ki...@orcon.net.nz>.
On Mon, Nov 24, 2003 at 09:31:16PM -0600, C. Michael Pilato wrote:
> Heheh.  Not my fault.  Seems someone in a hurry to do away with
> redundant code sacrificed correctness along the way.

svn praise cmpilato

Thanks Mike, I can confirm your changes in r7841 fix the problem I
reported.

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                kinetik@orcon.net.nz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn blame segfault - Subversion 0.33.0/Cygwin

Posted by Julian Foad <ju...@btopenworld.com>.
C. Michael Pilato wrote:
> "C. Michael Pilato" <cm...@collab.net> writes:
> 
>>>On Tue, Nov 25, 2003 at 10:24:22AM +1300, Matthew Gregan wrote:
>>>
>>>>Subversion 0.33.0 on Cygwin is crashing when I run 'svn blame' against
>>>>any file in my working copy.  I've built a Linux client from the same
>>>>source and 'svn blame' works fine.
> 
> Heheh.  Not my fault.  Seems someone in a hurry to do away with
> redundant code sacrificed correctness along the way.
> 
> /me eyes Julian Foad...  :-)

Oh dear, me again.  Sorry.  Thanks for fixing it.

- Julian


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn blame segfault - Subversion 0.33.0/Cygwin

Posted by "C. Michael Pilato" <cm...@collab.net>.
"C. Michael Pilato" <cm...@collab.net> writes:

> Matthew Gregan <ki...@orcon.net.nz> writes:
> 
> > On Tue, Nov 25, 2003 at 10:24:22AM +1300, Matthew Gregan wrote:
> > > Subversion 0.33.0 on Cygwin is crashing when I run 'svn blame' against
> > > any file in my working copy.  I've built a Linux client from the same
> > > source and 'svn blame' works fine.
> > 
> > I've checked out a copy of HEAD (r7839) and rebuilt my Cygwin svn
> > client.  It still crashes running 'svn blame', but at a different place.
> > 
> > 
> > (gdb) run blame Makefile
> > Starting program: /usr/local/bin/svn.exe blame Makefile
> 
> Yikes.  That might be my fault.  Could you just run 'svn blame' and
> tell me if it was me that ... oh.  I guess you can't do that. :-)
> 
> Will fix, my fault or not.

Heheh.  Not my fault.  Seems someone in a hurry to do away with
redundant code sacrificed correctness along the way.

/me eyes Julian Foad...  :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn blame segfault - Subversion 0.33.0/Cygwin

Posted by "C. Michael Pilato" <cm...@collab.net>.
Matthew Gregan <ki...@orcon.net.nz> writes:

> On Tue, Nov 25, 2003 at 10:24:22AM +1300, Matthew Gregan wrote:
> > Subversion 0.33.0 on Cygwin is crashing when I run 'svn blame' against
> > any file in my working copy.  I've built a Linux client from the same
> > source and 'svn blame' works fine.
> 
> I've checked out a copy of HEAD (r7839) and rebuilt my Cygwin svn
> client.  It still crashes running 'svn blame', but at a different place.
> 
> 
> (gdb) run blame Makefile
> Starting program: /usr/local/bin/svn.exe blame Makefile

Yikes.  That might be my fault.  Could you just run 'svn blame' and
tell me if it was me that ... oh.  I guess you can't do that. :-)

Will fix, my fault or not.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn blame segfault - Subversion 0.33.0/Cygwin

Posted by Matthew Gregan <ki...@orcon.net.nz>.
On Tue, Nov 25, 2003 at 10:24:22AM +1300, Matthew Gregan wrote:
> Subversion 0.33.0 on Cygwin is crashing when I run 'svn blame' against
> any file in my working copy.  I've built a Linux client from the same
> source and 'svn blame' works fine.

I've checked out a copy of HEAD (r7839) and rebuilt my Cygwin svn
client.  It still crashes running 'svn blame', but at a different place.


(gdb) run blame Makefile
Starting program: /usr/local/bin/svn.exe blame Makefile

Program received signal SIGSEGV, Segmentation fault.
0x610ba4c1 in strlen () from /usr/bin/cygwin1.dll
(gdb) bt
#0  0x610ba4c1 in strlen () from /usr/bin/cygwin1.dll
#1  0x004154d6 in log_message_receiver (baton=0x22fa70,
    changed_paths=0x10035690, revision=57, author=0x10035558 "kinetik",
    date=0x10035590 "2003-11-06T02:25:56.019935Z",
    message=0x10035660 "Begin repository reorganisation.\n", pool=0x10034840)
    at subversion/libsvn_client/blame.c:280
#2  0x00466589 in ra_svn_log (baton=0x10038b28, paths=0x100392e8, start=103,
    end=1, discover_changed_paths=1, strict_node_history=0,
    receiver=0x41536a <log_message_receiver>, receiver_baton=0x22fa70,
    pool=0x10030010) at subversion/libsvn_ra_svn/client.c:1058
#3  0x00415ac6 in svn_client_blame (target=0x100270b0 "Makefile",
    start=0x22fcc8, end=0x22fcd8, receiver=0x40127e <blame_receiver>,
    receiver_baton=0x10027128, ctx=0x22fca8, pool=0x10030010)
    at subversion/libsvn_client/blame.c:400
#4  0x004014b5 in svn_cl__blame (os=0x10025e70, baton=0x22fbb8,
    pool=0x10025e38) at subversion/clients/cmdline/blame-cmd.c:102
#5  0x0040cd79 in main (argc=3, argv=0x10021c38)
    at subversion/clients/cmdline/main.c:1231

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                kinetik@orcon.net.nz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org