Bugzilla – Attachment 3499 Details for
Bug 3304
SSH client MUX to multiple hosts causes select: Bad file descriptor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
OpenSSH client strace output
openssh-strace.txt (text/plain), 2.13 KB, created by
E B
on 2021-04-24 11:20:27 AEST
(
hide
)
Description:
OpenSSH client strace output
Filename:
MIME Type:
Creator:
E B
Created:
2021-04-24 11:20:27 AEST
Size:
2.13 KB
patch
obsolete
>strace on the client shows that we are closing a channel input file descriptor and then running a select on it shortly after: > >13699 shutdown(7, SHUT_WR) = 0 >13699 close(14) = 0 >13699 close(15) = 0 >13699 close(7) = 0 >13699 shutdown(127, SHUT_WR) = 0 >13699 close(11) = 0 <---------------- >13699 close(13) = 0 >13699 close(127) = 0 >13699 select(128, [4 5 6 8 9 10 11 12 16 17 19 20 22 23 25 26 28 29 31 32 34 35 37 38 40 41 43 44 46 47 49 50 52 53 55 56 58 59 61 62 63 65 67 68 70 71 > 73 74 76 77 79 81 83 84 85 86 88 89 90 92 93 95 97 98 100 101 103 104 106 109 110 112 115 116 118 120 126], [4 72 75 77 78 87 88 91 102 107 108 111 11 >4 117 126], NULL, {tv_sec=20, tv_usec=0}) = -1 EBADF (Bad file descriptor) >... >... >13699 ioctl(0, TCGETS, 0x7ffc82150070) = -1 ENOTTY (Inappropriate ioctl for device) >13699 fcntl(0, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) >13699 write(3, "debug3: fd 0 is not O_NONBLOCK\r\n", 32) = 32 >13699 ioctl(1, TCGETS, 0x7ffc82150070) = -1 ENOTTY (Inappropriate ioctl for device) >13699 fcntl(1, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) >13699 write(3, "debug3: fd 1 is not O_NONBLOCK\r\n", 32) = 32 >13699 ioctl(2, TCGETS, 0x7ffc82150070) = -1 ENOTTY (Inappropriate ioctl for device) >13699 fcntl(2, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) >13699 write(3, "debug3: fd 2 is not O_NONBLOCK\r\n", 32) = 32 >13699 write(2, "select: Bad file descriptor\r\n", 29) = 29 >13699 clock_gettime(CLOCK_BOOTTIME, {tv_sec=18643, tv_nsec=857620287}) = 0 >13699 write(3, "Transferred: sent 268864, received 259640 bytes, in 36.4 seconds\r\n", 66) = 66 >13699 write(3, "Bytes per second: sent 7386.7, received 7133.2\r\n", 48) = 48 >13699 write(3, "debug1: Exit status -1\r\n", 24) = 24 >13699 close(4) = 0 >13699 brk(0x564039dbe000) = 0x564039dbe000 >13699 unlink("/home/myuser/.ssh/my-bastion.sock") = -1 ENOENT (No such file or directory) >13699 exit_group(-1) = ? >13699 +++ exited with 255 +++
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3304
: 3499 |
3500
|
3501
|
3502
|
3515
|
3516
|
3517
|
3518