all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Re: Segfault in current bzr
Date: Mon, 27 Sep 2010 22:45:34 +0200	[thread overview]
Message-ID: <m3zkv2vrtd.fsf@quimbies.gnus.org> (raw)
In-Reply-To: m3vd5qly71.fsf@quimbies.gnus.org

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>
>> #1  0x0000000000650cc4 in wait_reading_process_output (time_limit=-1, 
>>     microsecs=10000, read_kbd=0, do_display=0, wait_for_cell=12552578, 
>>     wait_proc=0x1f1c170, just_wait_proc=0) at process.c:4835
>
> Which is a EBADF from this, apparently:
>
> 	  nfds = select
> #endif
>             (max (max_process_desc, max_input_desc) + 1,
>              &Available,
>              (check_write ? &Writeok : (SELECT_TYPE *)0),
>              (SELECT_TYPE *)0, &timeout);
> 	}

If I

#define SELECT_CANT_DO_WRITE_MASK

which means that check_write is 0, then Emacs doesn't abort.

So that's where the bug lies...

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




  reply	other threads:[~2010-09-27 20:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-27 19:56 Segfault in current bzr Lars Magne Ingebrigtsen
2010-09-27 19:59 ` Lars Magne Ingebrigtsen
2010-09-27 20:09   ` Lars Magne Ingebrigtsen
2010-09-27 20:14   ` Eli Zaretskii
2010-09-27 20:27     ` Lars Magne Ingebrigtsen
2010-09-27 20:37       ` Lars Magne Ingebrigtsen
2010-09-27 20:45         ` Lars Magne Ingebrigtsen [this message]
2010-09-27 20:46       ` Jan Djärv
2010-09-27 20:54         ` Lars Magne Ingebrigtsen
2010-09-27 22:29     ` David Kastrup
2010-09-27 20:16 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2010-09-28 11:10 grischka
2010-09-28 16:07 ` Eli Zaretskii
2010-09-28 17:19   ` grischka
2010-09-28 17:30     ` Eli Zaretskii

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=m3zkv2vrtd.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@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.