emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segfault in current bzr


From: Lars Magne Ingebrigtsen
Subject: Re: Segfault in current bzr
Date: Mon, 27 Sep 2010 22:45:34 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:

> Lars Magne Ingebrigtsen <address@hidden> 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.)
  address@hidden * Lars Magne Ingebrigtsen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]