From: Sam Steingold <sds@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 8265@debbugs.gnu.org
Subject: bug#8265: 24.0.50; windows emacs hanging calling svn
Date: Thu, 17 Mar 2011 13:57:21 -0400 [thread overview]
Message-ID: <svr5a5ljem.fsf@tbox.wtc.algo> (raw)
In-Reply-To: <E1Q06mx-0004J1-5C@fencepost.gnu.org> (Eli Zaretskii's message of "Thu, 17 Mar 2011 02:34:27 -0400")
> * Eli Zaretskii <ryvm@tah.bet> [2011-03-17 02:34:27 -0400]:
>
>> Mail-Copies-To: never
>> Reply-To: sds@gnu.org
>
> (Aren't Mail-Copies-To and Reply-To above in contradiction?)
I want you to reply to myself.
However, if you choose to reply to a list, please do not CC me.
However Mail-Copies-To seems to be ignored, so, I guess, I will remove it.
>> > * Eli Zaretskii <ryvm@tah.bet> [2011-03-17 00:08:06 +0200]:
>> >
>> >> Debugger entered--Lisp error: (error "Running svn status -v foo.cpp...FAILED (status 1)")
>> >
>> > I don't use svn; what kind of text is that command supposed to output?
>> > E.g., what does it show if you run it from the command prompt under
>> > the same conditions?
>>
>> for a modified file:
>> --------------------------
>> M 11693 11346 sds foo/bar/baz.h
>> --------------------------
>> for an unmodified file:
>> --------------------------
>> 11693 9843 sds foo/bar/baz.h
>> --------------------------
>
> If it's a single line, it could be that Emacs doesn't see it due to
> the fact that (I think) Windows pipes are buffered. Or maybe it's a
> decoding issue. Can you trace through vc-do-command and see if Emacs
> is invoking svn asynchronously or synchronously, and perhaps also
> where it hangs?
the message
Running svn status -v foo.cpp in foreground...
indicates synchronous execution.
it hangs in
(apply 'process-file command nil t nil squeezed)
and there in
(apply 'call-process)
>> > Also, can you run this under Cygwin's strace and show the system call
>> > where it (whatever "it" means) hangs?
>>
>> when I try to attach strace or gdb to the svn process, they hang too.
>
> That's not what I had in mind. I would create an svn shell script,
> with the following contents:
>
> #!/bin/sh
> strace -o svn.trace /cygdrive/path/to/svn/svn.exe $*
emacs on windows cannot run shell scripts.
however, I am now using a batch file for that.
alas(?), I do not observe the bug when svn.exe is running under strace.
I will keep trying ...
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X
http://truepeace.org http://pmw.org.il http://dhimmi.com
http://memri.org http://palestinefacts.org http://ffii.org http://camera.org
Time would have been the best Teacher, if it did not kill all its students.
next prev parent reply other threads:[~2011-03-17 17:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-16 20:15 bug#8265: 24.0.50; windows emacs hanging calling svn Sam Steingold
[not found] ` <handler.8265.B.13003065675707.ack@debbugs.gnu.org>
2011-03-16 21:16 ` bug#8265: Acknowledgement (24.0.50; windows emacs hanging calling svn) Sam Steingold
2011-03-16 22:08 ` bug#8265: 24.0.50; windows emacs hanging calling svn Eli Zaretskii
2011-03-16 23:00 ` Sam Steingold
2011-03-17 2:16 ` Stefan Monnier
2011-03-17 23:23 ` Christoph Scholtes
2011-03-18 8:17 ` Eli Zaretskii
2013-02-21 6:08 ` Glenn Morris
2013-02-21 18:43 ` Sam Steingold
2013-02-21 19:04 ` Glenn Morris
2011-03-17 6:34 ` Eli Zaretskii
2011-03-17 17:57 ` Sam Steingold [this message]
2011-03-17 19:27 ` Eli Zaretskii
2011-03-17 20:46 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=svr5a5ljem.fsf@tbox.wtc.algo \
--to=sds@gnu.org \
--cc=8265@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.