On Sat, Feb 22, 2025 at 02:01:58PM +0100, Samuel Thibault wrote:
> Zhaoming Luo, le sam. 22 févr. 2025 20:59:53 +0800, a ecrit:
> > On Sat, Feb 22, 2025 at 01:07:40PM +0100, Samuel Thibault wrote:
> > > Zhaoming Luo, le sam. 22 févr. 2025 20:03:12 +0800, a ecrit:
> > > > On Sat, Feb 22, 2025 at 12:47:16PM +0100, Samuel Thibault wrote:
> > > > > Zhaoming Luo, le sam. 22 févr. 2025 19:29:55 +0800, a ecrit:
> > > > > > lib533.c:96 select() failed, with errno 1073741828 (Interrupted 
> > > > > > system call)
> > > > > 
> > > > > This is expected if the test handles a signal. Does it indeed set up a
> > > > > signal handler and get a signal?
> > > > > 
> > > > Eh 'handles a signal' is a bit out of my knowledge, how to confirm 
> > > > that? And
> > > > any recommendations reading about the 'signal handler' and 'signal'?
> > > 
> > > This is about unix signals.
> > > 
> > > Usually gdb already shows their reception when you run the program.
> > > 
> > I run it on GNU/Linux. I don't think I see the reception of any signal.
> 
> Ok, but does it perhaps do on GNU/Hurd?
> 
I don't think so:

```
* !!! WARNING !!!
* This is a debug build of libcurl, do not use in production.
Start at URL 0
* STATE: INIT => SETUP handle 0x2001beb4; line 2396
* STATE: SETUP => CONNECT handle 0x2001beb4; line 2412
* Added connection 0. The cache now contains 1 members
* STATE: CONNECT => CONNECTING handle 0x2001beb4; line 2327
*   Trying 127.0.0.1:49019...
* Connected to 127.0.0.1 (127.0.0.1) port 49019
* STATE: CONNECTING => PROTOCONNECT handle 0x2001beb4; line 2450
< 220-        _   _ ____  _
< 220-    ___| | | |  _ \| |
< 220-   / __| | | | |_) | |
< 220-  | (__| |_| |  _ {| |___
< 220    \___|\___/|_| \_\_____|
> USER anonymous
* STATE: PROTOCONNECT => PROTOCONNECTING handle 0x2001beb4; line 2475
< 331 We are happy you popped in!
> PASS f...@example.com
< 230 Welcome you silly person
> PWD
< 257 "/" is current directory
* Entry path is '/'
* STATE: PROTOCONNECTING => DO handle 0x2001beb4; line 2496
> CWD path
< 250 CWD command successful.
> EPSV
* Connect data stream passively
* STATE: DO => DOING handle 0x2001beb4; line 2077
< 229 Entering Passive Mode (|||50381|)
* Connecting to 127.0.0.1 (127.0.0.1) port 50381
* STATE: DOING => DOING_MORE handle 0x2001beb4; line 2518
*   Trying 127.0.0.1:50381...
* Connected 2nd connection to 127.0.0.1 port 50381
> TYPE I
< 200 I modify TYPE as you wanted
> SIZE 546
< 500 Can't check for file existence
> RETR 546
< 550 the file doesn't exist
* RETR response: 550
* multi_done[DOING_MORE]: status: 78 prem: 0 done: 0
* Remembering we are in dir "path/"
* Curl_multi_closed, fd=7 multi is 0x20019b84
* Curl_multi_closed, fd=7 entry is (nil)
* Connection #0 to host 127.0.0.1 left intact
Advancing to URL 1
* STATE: INIT => SETUP handle 0x2001beb4; line 2396
* STATE: SETUP => CONNECT handle 0x2001beb4; line 2412
* Re-using existing ftp: connection with host 127.0.0.1
* STATE: CONNECT => CONNECTING handle 0x2001beb4; line 2327
* STATE: CONNECTING => PROTOCONNECT handle 0x2001beb4; line 2450
* STATE: PROTOCONNECT => DO handle 0x2001beb4; line 2467
* Request has same path as previous transfer
> EPSV
* Connect data stream passively
* STATE: DO => DOING handle 0x2001beb4; line 2077
< 229 Entering Passive Mode (|||34731|)
* Connecting to 127.0.0.1 (127.0.0.1) port 34731
* STATE: DOING => DOING_MORE handle 0x2001beb4; line 2518
*   Trying 127.0.0.1:34731...
* Connected 2nd connection to 127.0.0.1 port 34731
> SIZE 546
< 213 51
> RETR 546
< 150 Binary data connection for 546 () (51 bytes).
* Maxdownload = -1
* Getting file with size: 51
* STATE: DOING_MORE => DID handle 0x2001beb4; line 2542
* STATE: DID => PERFORMING handle 0x2001beb4; line 2567
data
    to
lib533.c:100 select() failed, with errno 1073741828 (Interrupted system call)
Test ended with result 121
[Inferior 1 (bogus thread id 0) exited with code 0171]
(gdb)
```


Reply via email to