🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #316

Re: PLEASE TRY THIS PATCH

#316
From: Uday S Reddy
Date: Sun, 10 Jan 2010 13:58
39 lines
3192 bytes
blueman wrote:

> As a test try running:
> (tart-process "test" "tempbuff" shell-file-name shell-command-switch "cat > testfile"))
> (list-processes)

This worked fine.  My normal shell-file-name is sh.exe and the 
shell-command-switch is "-cf".

I don't know how to tell the version of cygwin. I often run cygwin 
setup and it updates whatever it wants to.  I seem to have run it last 
on Dec 25.  My setup.exe is dated Jul 13, 2009 and my cygwin1.dll has 
the date of Jun 12, 2008.

--

In any case, I might have made some progress in diagnosing the 
problem.  I got an inkling that the size of the message being piped 
was a factor.  So, I sorted by mbox by size and did a binary search. 
For a message of size 61682 bytes, it worked.  For size 63940, it 
hung.  So, it looks like 64K minus some delta hangs.  It could be some 
buffering issue.

I also tried piping multiple small messages.

- Three message sized 32, 33, 45: worked.
- Four messages sized 32, 33, 45, 53: hung.
- Three messages sized 33, 45, 53: hung
- Two messages sized 45, 53: worked.
- Three messages sized 53, 67, 68: worked.
- Four messages sized 53, 67, 68, 72: hung.

I don't see a pattern here.

Good luck finding the problem.  Asynchronous problems are really hard 
to debug!

Cheers,
Uday
Technical Details
Message-ID: <hicmei$h4k$1@north.jnrs.ja.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!weretis.net!feeder1.news.weretis.net!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!feed4.jnfs.ja.net!feed2.jnfs.ja.net!jnfs.ja.net!times.reader.netnews.ja.net!not-for-mail
References: <m2d41p7sho.fsf@consult.pretender> <hi0018$1gk$1@north.jnrs.ja.net> <m21vi45kxy.fsf@consult.pretender> <hi0e67$5b2$1@north.jnrs.ja.net> <m2tyv03yq9.fsf@consult.pretender> <m2pr5o3ycq.fsf@consult.pretender> <m2ljgc3xd3.fsf@consult.pretender> <hi2c72$l5i$1@north.jnrs.ja.net> <m2ocl7yvsr.fsf@consult.pretender> <hi4d25$81f$1@north.jnrs.ja.net> <m24omxzybc.fsf@consult.pretender> <hi54kr$euu$1@north.jnrs.ja.net> <m2r5q1ybz4.fsf@consult.pretender> <m2my0pybcx.fsf@consult.pretender> <hi5peg$kmp$1@north.jnrs.ja.net> <m2iqbdxbuj.fsf@consult.pretender> <hi73bg$1cs$1@north.jnrs.ja.net> <m2aawownfr.fsf_-_@consult.pretender> <hi80m7$9sa$1@north.jnrs.ja.net> <m2pr5kuzoi.fsf@consult.pretender> <hi88sr$c2j$1@north.jnrs.ja.net> <m28wc6vncg.fsf@consult.pretender>

Show Full Headers
Complete Article Headers
X-Google-Thread: a16957f451,747cd7667796b3e3
X-Google-Attributes: gida16957f451,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!weretis.net!feeder1.news.weretis.net!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!feed4.jnfs.ja.net!feed2.jnfs.ja.net!jnfs.ja.net!times.reader.netnews.ja.net!not-for-mail
From: Uday S Reddy <uDOTsDOTreddy@cs.bham.ac.uk>
Newsgroups: gnu.emacs.vm.bug
Subject: Re: PLEASE TRY THIS PATCH
Date: Sun, 10 Jan 2010 13:58:46 +0000
Organization: Janet Usenet Reading Service.
Lines: 41
Message-ID: <hicmei$h4k$1@north.jnrs.ja.net>
References: <m2d41p7sho.fsf@consult.pretender> <hi0018$1gk$1@north.jnrs.ja.net> <m21vi45kxy.fsf@consult.pretender> <hi0e67$5b2$1@north.jnrs.ja.net> <m2tyv03yq9.fsf@consult.pretender> <m2pr5o3ycq.fsf@consult.pretender> <m2ljgc3xd3.fsf@consult.pretender> <hi2c72$l5i$1@north.jnrs.ja.net> <m2ocl7yvsr.fsf@consult.pretender> <hi4d25$81f$1@north.jnrs.ja.net> <m24omxzybc.fsf@consult.pretender> <hi54kr$euu$1@north.jnrs.ja.net> <m2r5q1ybz4.fsf@consult.pretender> <m2my0pybcx.fsf@consult.pretender> <hi5peg$kmp$1@north.jnrs.ja.net> <m2iqbdxbuj.fsf@consult.pretender> <hi73bg$1cs$1@north.jnrs.ja.net> <m2aawownfr.fsf_-_@consult.pretender> <hi80m7$9sa$1@north.jnrs.ja.net> <m2pr5kuzoi.fsf@consult.pretender> <hi88sr$c2j$1@north.jnrs.ja.net> <m28wc6vncg.fsf@consult.pretender>
NNTP-Posting-Host: gromit.cs.bham.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: north.jnrs.ja.net 1263131922 17556 147.188.193.16 (10 Jan 2010 13:58:42 GMT)
X-Complaints-To: usenet@north.jnrs.ja.net
NNTP-Posting-Date: Sun, 10 Jan 2010 13:58:42 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
In-Reply-To: <m28wc6vncg.fsf@consult.pretender>