Gnus development mailing list
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: ding@gnus.org
Subject: Re: (file-error "writing to process" "bad address" #<process imap>) when Gcc-ing a group
Date: Tue, 10 Feb 2009 16:26:19 +0100	[thread overview]
Message-ID: <87y6we71pg.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <m2bptabdt9.fsf@randomsample.de> (David Engster's message of "Tue, 10 Feb 2009 14:51:14 +0100")

David Engster <deng@randomsample.de> writes:

> Well, color me surprised. I was just able to provoke the error with
> the procedure you suggested:
>
> (setq numlines 500000)
>
> (progn
>   (setq proctest 
> 	(start-process "cat" (get-buffer-create "cat") "/bin/cat"))
>   (with-temp-buffer
>     (dotimes (dummy numlines)
>       (insert 
>        (concat (number-to-string (random))
> 	       (number-to-string (random))
> 	       (number-to-string (random))
> 	       (number-to-string (random))
> 	       "\n")))
>     (process-send-region proctest (point-min) (point-max)))
>   (delete-process proctest))
>
> And sometimes(!) I get:
>
> Debugger entered--Lisp error: (file-error "writing to process" "bad address" #<process cat>)
>   process-send-region(#<process cat> 1 18672117)
>
> using Emacs from CVS (2009-02-04) on Darwin/Mac OS X. 
>
> The error doesn't always happen. I usually have to repeat the
> procedure several times until it occurs. You can increase 'numlines'
> to make it more likely. It might also be that it depends on the load
> of the system or something like that.

I tried 4 times (using emacs -Q) and always (!) got the error after some
seconds.  System load is low.

GNU Emacs 23.0.90.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.7)
of 2009-02-10 on thinkpad

> Maybe this
>
> http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=471
>
> might also be connected to this issue.

Yes, at least it sounds quite similar.

Should I report an emacs bug report for this or do you want to do it?

Bye,
Tassilo



  reply	other threads:[~2009-02-10 15:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-09 16:37 Tassilo Horn
2009-02-09 17:02 ` David Engster
2009-02-09 17:19   ` Tassilo Horn
2009-02-09 17:58     ` David Engster
2009-02-09 19:38       ` Tassilo Horn
2009-02-09 23:04         ` David Engster
2009-02-10  9:35           ` Tassilo Horn
2009-02-10 10:02             ` David Engster
2009-02-10 13:51               ` David Engster
2009-02-10 15:26                 ` Tassilo Horn [this message]
2009-02-10 15:38                   ` David Engster
2009-02-10 16:58                     ` Tassilo Horn

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=87y6we71pg.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).