emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#18988: closed (select failure with EINTR in guile-


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#18988: closed (select failure with EINTR in guile-2.0.11)
Date: Thu, 20 Nov 2014 20:35:01 +0000

Your message dated Thu, 20 Nov 2014 21:34:22 +0100
with message-id <address@hidden>
and subject line Re: bug#18988: select failure with EINTR in guile-2.0.11
has caused the debbugs.gnu.org bug report #18988,
regarding select failure with EINTR in guile-2.0.11
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
18988: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18988
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: select failure with EINTR in guile-2.0.11 Date: Fri, 7 Nov 2014 17:18:09 +0000
A program of mine using guile-2.0.11 fails whenever a signal occurs
while a call to select is blocking, with this error:

  Backtrace:
  In ice-9/boot-9.scm:
   157: 9 [catch #t #<catch-closure 820f0a0> ...]
  In unknown file:
     ?: 8 [apply-smob/1 #<catch-closure 820f0a0>]
  In ice-9/boot-9.scm:
    63: 7 [call-with-prompt prompt0 ...]
  In ice-9/eval.scm:
   432: 6 [eval # #]
  In ice-9/boot-9.scm:
  2401: 5 [save-module-excursion #<procedure 821fd00 at ice-9/boot-9.scm:4045:3 
()>]
  4052: 4 [#<procedure 821fd00 at ice-9/boot-9.scm:4045:3 ()>]
  In unknown file:
     ?: 3 [load-compiled/vm 
"/home/chris/.cache/guile/ccache/2.0-LE-4-2.0/home/chris/src/event-loop.scm.go"]
  In /home/chris/src/./event-loop.scm:
   258: 2 [#<procedure 8767350 ()>]
    68: 1 [event-loop-run #<r6rs:record:event-loop>]
  In unknown file:
     ?: 0 [select (5) () () #<undefined> #<undefined>]

  ERROR: In procedure select:
  ERROR: In procedure select: Interrupted system call

According to the mailing list exchange at
http://lists.gnu.org/archive/html/guile-rpc-bugs/2014-05/msg00001.html ,
this was fixed in guile >= 2.0.10.  However it is still present (or back
as a regression) in guile-2.0.11.

The EINTR-safe wrapper mentioned in the mailing list exchange fixes it
for me in user code, but it would be nice if it were not necessary and
guile handled EINTR itself.



--- End Message ---
--- Begin Message --- Subject: Re: bug#18988: select failure with EINTR in guile-2.0.11 Date: Thu, 20 Nov 2014 21:34:22 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Thanks for the report and analysis.  I went ahead and commit d1447c7
clarifies the behavior of ‘select’ in the presence of interruptions by
signals (will be in 2.0.12.)

Ludo’.


--- End Message ---

reply via email to

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