"svn --version" halts in 1.7.2-2
Matthias Andree
matthias.andree@gmx.de
Fri Mar 26 10:50:00 GMT 2010
Am 26.03.2010 10:32, schrieb Corinna Vinschen:
> On Mar 26 15:40, Nayuta Taga wrote:
>> Hi,
>>>> "svn --version" hals in 1.7.2-2 on both Windows7 and XP.
>> The log is following:
>>>> $ uname -a
>> CYGWIN_NT-6.1 yumiko 1.7.2(0.225/5/3) 2010年03月24日 21:12 i686 Cygwin
>> $ env LANG=C svn --version
>> svn, version 1.6.9 (r901367)
>> compiled Feb 10 2010, 10:34:02
>>>> Copyright (C) 2000-2009 CollabNet.
>> Subversion is open source software, see http://subversion.tigris.org/
>> This product includes software developed by CollabNet (http://www.Collab.Net/).
>>>> The following repository access (RA) modules are available:
>>>> * ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
>> - handles 'http' scheme
>> - handles 'https' scheme
>> * ra_svn : Module for accessing a repository using the svn network protocol.
>> - with Cyrus SASL authentication
>> - handles 'svn' scheme
>> * ra_local : Module for accessing a repository on local disk.
>> - handles 'file' scheme
>> * ra_serf : Module for accessing a repository via WebDAV protocol using serf.
>> - handles 'http' scheme
>> - handles 'https' scheme
>>>> (the shell prompt is not shown, and control+C has no effect)
>> Works for me. BLODA?
Hangs for me too. Win 7 32-bit with Cygwin 1.7.2-2, Sophos Endpoint Security and
Control 9.0.4 with the Anti-Virus service disabled.
strace log at http://129.217.163.1/%7E%6D%61/tmp/svn_version-hang.txt.xz
gdb is inconclusive; if I run "gdb svn" and "b main", gdb breaks at exit and
then goofs up down deep in exit. If I use kill -9, gdb breaks again and I get:
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x77ca5e4c in ntdll!ZwWriteRequestData ()
from /cygdrive/c/Windows/system32/ntdll.dll
#2 0x75e66872 in KERNELBASE!GetProcessId ()
from /cygdrive/c/Windows/system32/KernelBase.dll
#3 0x00000002 in ?? ()
#4 0x0022c81c in ?? ()
#5 0x00000001 in ?? ()
#6 0x00000000 in ?? ()
I guess this doesn't help.
Interesting observation: run "gdb svn", "b exit", "run --version"; gdb breaks:
...
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- handles 'http' scheme
- handles 'https' scheme
Breakpoint 1, 0x61112df7 in exit () from /usr/bin/cygwin1.dll
(gdb) bt
#0 0x61112df7 in exit () from /usr/bin/cygwin1.dll
#1 0x61006e7b in _cygwin_exit_return () from /usr/bin/cygwin1.dll
#2 0x00000000 in ??
makes some sense, but then if you run "s" or "c", it hangs. So it appears as
though the hang happened in exit() somewhere. Same with svn --help.
This appears to be specific to svn; svnlook, avnadmin aren't affected on my
computer.
This is the unified diff of "cygcheck /usr/bin/svnadmin" vs. "cygcheck
/usr/bin/svn":
@@ -1,4 +1,7 @@
-C:\cygwin\bin\svnadmin.exe
+C:\cygwin\bin\svn.exe
+ C:\cygwin\bin\cygsvn_client-1-0.dll
+ C:\cygwin\bin\cygsvn_ra-1-0.dll
+ C:\cygwin\bin\cygsvn_ra_local-1-0.dll
C:\cygwin\bin\cygsvn_repos-1-0.dll
C:\cygwin\bin\cygsvn_fs-1-0.dll
C:\cygwin\bin\cygsvn_fs_base-1-0.dll
@@ -56,3 +59,13 @@
C:\cygwin\bin\cygsvn_fs_util-1-0.dll
C:\cygwin\bin\cygdb-4.2.dll
C:\cygwin\bin\cygsvn_fs_fs-1-0.dll
+ C:\cygwin\bin\cygsvn_ra_neon-1-0.dll
+ C:\cygwin\bin\cygneon-27.dll
+ C:\cygwin\bin\cygcrypto-0.9.8.dll
+ C:\cygwin\bin\cygssl-0.9.8.dll
+ C:\cygwin\bin\cygsvn_ra_serf-1-0.dll
+ C:\cygwin\bin\cygserf-0-0.dll
+ C:\cygwin\bin\cygsvn_ra_svn-1-0.dll
+ C:\cygwin\bin\cygsasl2-2.dll
+ C:\cygwin\bin\cygsvn_wc-1-0.dll
+ C:\cygwin\bin\cygsvn_diff-1-0.dll
Might of the additional libraries may have regressed? From the strace log, I
suspect cygsasl2, which itself loads libraries, for instance
/lib/sasl2/cygplain-2.dll and /lib/sasl2/cygsasldb-2.dll on my computer
(cygsasldb-2.dll is the last before the hang).
I've also run rebaseall, to no avail.
HTH
--
Matthias Andree
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svn_version-hang.txt.xz
Type: application/octet-stream
Size: 29292 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100326/589ec07d/attachment.obj>
-------------- next part --------------
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list