Opened 10 years ago

Closed 10 years ago

#437 closed defect (fixed)

Interrupted system call on UDP recvfrom

Reported by: lenst Owned by: gb
Priority: normal Milestone:
Component: Runtime (threads, GC) Version:
Keywords: Cc:

Description

ccl:receive-from signals "Interrupted system call (error #4) during recvfrom". Typically happens when this is run in a thread.

(process-run-function "udp reader"
                      (lambda ()
                        (let ((socket (ccl:make-socket
                                       :type :datagram
                                       :reuse-address t
                                       :external-format '(unsigned-byte 8)
                                       :format :binary
                                       :local-port 0)))
                          (handler-case
                              (ccl:receive-from socket 32000)
                            (error (c)
                              (format t "Receive-from error: ~a" c))))))

If I run above and type :proc, I get:

Receive-from error: on #<CCL::UDP-SOCKET #x89DFD3E> : 
Interrupted system call (error #4) during recvfrom
8 :    udp reader   [Active]  (Suspended)
1 : -> listener     [Active] 
0 :    Initial      [Sleep] 

(lisp-implementation-version) "Version 1.3-RC1-r11719M (DarwinPPC32)"

Change History (1)

comment:1 Changed 10 years ago by rme

  • Resolution set to fixed
  • Status changed from new to closed

should be fixed in r11758.

Note: See TracTickets for help on using tickets.