Displaying 20 results from an estimated 63 matches for "msg_nosign".
Did you mean:
msg_nosignal
2014 Jul 02
2
Error while waiting for input: Bad file descriptor
...ther nodes. It aborted with the following message:
Error while waiting for input: Bad file descriptor
I could reproduce the issue. Here is strace output:
select(14, [4 5 6 7 8 9 10 12 13], [], NULL, {0, 377947}) = 0 (Timeout)
sendto(3, "<30>Jul 2 01:39:52 tinc.jmuchem"..., 107, MSG_NOSIGNAL, NULL, 0) = 107
sendto(3, "<29>Jul 2 01:39:52 tinc.jmuchem"..., 95, MSG_NOSIGNAL, NULL, 0) = 95
sendto(3, "<31>Jul 2 01:39:52 tinc.jmuchem"..., 106, MSG_NOSIGNAL, NULL, 0) = 106
sendto(3, "<31>Jul 2 01:39:52 tinc.jmuchem"..., 100, MSG_NOSIGNAL, N...
2008 Feb 10
1
MSG_NOSIGNAL does not exist in OS X
...9;../../drivers/'`libmge-xml.c; \
then mv -f ".deps/mge_xml-libmge-xml.Tpo" ".deps/mge_xml-libmge-
xml.Po"; else rm -f ".deps/mge_xml-libmge-xml.Tpo"; exit 1; fi
../../drivers/libmge-xml.c: In function 'getHTTP':
../../drivers/libmge-xml.c:836: error: 'MSG_NOSIGNAL' undeclared
(first use in this function)
../../drivers/libmge-xml.c:836: error: (Each undeclared identifier is
reported only once
../../drivers/libmge-xml.c:836: error: for each function it appears in.)
What is the side effect of not using MSG_NOSIGNAL? I could just
#define it to 0, bu...
2016 Jan 18
3
Samba Hylafax PAM
...amba-*-4.2.7-8
After a switch from OpenLDAP to a Samba 4.2 based LDAP Server, I cannot
auth users anymore in Hylafax, everything else works. All on Debian
Jessie.
Strace:
11:30:44.510380 send(2, "<83>Jan 9 11:30:44 HylaFAX[25657]:
pam_ldap(hylafax:auth): conversation failed", 79, MSG_NOSIGNAL) = 79
<0.000066>
11:30:44.510592 send(2, "<83>Jan 9 11:30:44 HylaFAX[25657]:
pam_ldap(hylafax:auth): conversation failed", 79, MSG_NOSIGNAL) = 79
<0.000041>
11:30:44.510875 send(2, "<83>Jan 9 11:30:44 HylaFAX[25657]:
pam_ldap(hylafax:auth): failed to get p...
2023 Aug 04
0
[RFC PATCH v1 1/2] vsock: send SIGPIPE on write to shutdowned socket
...wrote:
>> On Tue, Aug 01, 2023 at 05:17:26PM +0300, Arseniy Krasnov wrote:
>>> POSIX requires to send SIGPIPE on write to SOCK_STREAM socket which was
>>> shutdowned with SHUT_WR flag or its peer was shutdowned with SHUT_RD
>>> flag. Also we must not send SIGPIPE if MSG_NOSIGNAL flag is set.
>>>
>>> Signed-off-by: Arseniy Krasnov <AVKrasnov at sberdevices.ru>
>>> ---
>>> net/vmw_vsock/af_vsock.c | 3 +++
>>> 1 file changed, 3 insertions(+)
>>>
>>> diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_...
2023 Aug 04
0
[RFC PATCH v1 1/2] vsock: send SIGPIPE on write to shutdowned socket
...Aug 01, 2023 at 05:17:26PM +0300, Arseniy Krasnov wrote:
>>>>> POSIX requires to send SIGPIPE on write to SOCK_STREAM socket which was
>>>>> shutdowned with SHUT_WR flag or its peer was shutdowned with SHUT_RD
>>>>> flag. Also we must not send SIGPIPE if MSG_NOSIGNAL flag is set.
>>>>>
>>>>> Signed-off-by: Arseniy Krasnov <AVKrasnov at sberdevices.ru>
>>>>> ---
>>>>> net/vmw_vsock/af_vsock.c | 3 +++
>>>>> 1 file changed, 3 insertions(+)
>>>>>
>>>>> d...
2004 Aug 06
1
Compiling Darkice
...9; depmode=gcc /bin/sh ../depcomp g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pedantic -Wall -c -o TcpSocket.o `test -f 'TcpSocket.cpp' || echo './'`TcpSocket.cpp
> TcpSocket.cpp: In method `unsigned int TcpSocket::write(const void *, unsigned int)':
> TcpSocket.cpp:316: `MSG_NOSIGNAL' undeclared (first use this function)
> TcpSocket.cpp:316: (Each undeclared identifier is reported only once
> TcpSocket.cpp:316: for each function it appears in.)
> TcpSocket.cpp:309: warning: `int ret' might be used uninitialized in this function
> *** Error code 1
can you...
2023 Aug 22
0
[RFC PATCH v1 1/2] vsock: send SIGPIPE on write to shutdowned socket
...PM +0300, Arseniy Krasnov wrote:
>>>>>>> POSIX requires to send SIGPIPE on write to SOCK_STREAM socket which was
>>>>>>> shutdowned with SHUT_WR flag or its peer was shutdowned with SHUT_RD
>>>>>>> flag. Also we must not send SIGPIPE if MSG_NOSIGNAL flag is set.
>>>>>>>
>>>>>>> Signed-off-by: Arseniy Krasnov <AVKrasnov at sberdevices.ru>
>>>>>>> ---
>>>>>>> net/vmw_vsock/af_vsock.c | 3 +++
>>>>>>> 1 file changed, 3 insertions(+)
>...
2016 Jan 26
2
Samba Hylafax PAM
...amba-*-4.2.7-8
After a switch from OpenLDAP to a Samba 4.2 based LDAP Server, I cannot
auth users anymore in Hylafax, everything else works. All on Debian
Jessie.
Strace:
11:30:44.510380 send(2, "<83>Jan 9 11:30:44 HylaFAX[25657]:
pam_ldap(hylafax:auth): conversation failed", 79, MSG_NOSIGNAL) = 79
<0.000066>
11:30:44.510592 send(2, "<83>Jan 9 11:30:44 HylaFAX[25657]:
pam_ldap(hylafax:auth): conversation failed", 79, MSG_NOSIGNAL) = 79
<0.000041>
11:30:44.510875 send(2, "<83>Jan 9 11:30:44 HylaFAX[25657]:
pam_ldap(hylafax:auth): failed to get p...
2004 Aug 06
1
Compiling Darkice
...ket.TPo' depmode=gcc /bin/sh ../depcomp g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pedantic -Wall -c -o TcpSocket.o `test -f 'TcpSocket.cpp' || echo './'`TcpSocket.cpp
TcpSocket.cpp: In method `unsigned int TcpSocket::write(const void *, unsigned int)':
TcpSocket.cpp:316: `MSG_NOSIGNAL' undeclared (first use this function)
TcpSocket.cpp:316: (Each undeclared identifier is reported only once
TcpSocket.cpp:316: for each function it appears in.)
TcpSocket.cpp:309: warning: `int ret' might be used uninitialized in this function
*** Error code 1
Stop in /usr/local/src/darki...
2011 Jul 27
4
Creating a vm with a non-existent /dev/mapper/ tap2 device effectively hangs dom0 system
Have an interesting one here, originally found on xen 4.1.0 but just
upgraded to xen 4.1.1 and it''s still here.
Creating a VM with a tap2 device pointed at /dev/mapper/something, when
that device doesn''t exist, causes the tapdisk2 process to go into D mode
and also manages to take out any process that queries it.
For example, I have /dev/mapper/nathanxenuk1 as a valid disk
2016 Jan 18
0
Samba Hylafax PAM
...from OpenLDAP to a Samba 4.2 based LDAP Server, I cannot
> auth users anymore in Hylafax, everything else works. All on Debian
> Jessie.
>
> Strace:
> 11:30:44.510380 send(2, "<83>Jan 9 11:30:44 HylaFAX[25657]:
> pam_ldap(hylafax:auth): conversation failed", 79, MSG_NOSIGNAL) = 79
> <0.000066>
> 11:30:44.510592 send(2, "<83>Jan 9 11:30:44 HylaFAX[25657]:
> pam_ldap(hylafax:auth): conversation failed", 79, MSG_NOSIGNAL) = 79
> <0.000041>
> 11:30:44.510875 send(2, "<83>Jan 9 11:30:44 HylaFAX[25657]:
> pam_ldap(...
2023 Aug 22
0
[RFC PATCH v1 1/2] vsock: send SIGPIPE on write to shutdowned socket
...Aug 01, 2023 at 05:17:26PM +0300, Arseniy Krasnov wrote:
>>>>> POSIX requires to send SIGPIPE on write to SOCK_STREAM socket which was
>>>>> shutdowned with SHUT_WR flag or its peer was shutdowned with SHUT_RD
>>>>> flag. Also we must not send SIGPIPE if MSG_NOSIGNAL flag is set.
>>>>>
>>>>> Signed-off-by: Arseniy Krasnov <AVKrasnov at sberdevices.ru>
>>>>> ---
>>>>> net/vmw_vsock/af_vsock.c | 3 +++
>>>>> 1 file changed, 3 insertions(+)
>>>>>
>>>>> d...
2004 Aug 06
0
Compiling Darkice
...ssues. I can solve simple compiling and scripting problems, but that's about as far as it goes.
Thanks though for helping my solve this issue. I appreciate it.
Matt
>>> darkeye@tyrell.hu 8/26/02 9:24:53 AM >>>
OK, I now see that the send() on FreeBSD does not support the
MSG_NOSIGNAL flag. As a short workaround you could simply change line
316 from:
ret = send( sockfd, buf, len, MSG_NOSIGNAL);
to
ret = send( sockfd, buf, len, 0);
<p>Later I'll try to add FreeBSD specific #ifdefs (are you familiar with
these kinds of porting issues, e.g. how to make c...
2019 Jun 27
3
[libnbd PATCH 0/2] socket handling cleanups
While working on a new test of what happens when the server goes away
while commands are in flight, I managed to hit a race where I hit
death from SIGPIPE instead of a clean transition to the DEAD state. I
also found myself wanting to use nbd_poll from the test, but with a
way to distinguish between the state machine progressing vs. hanging.
Eric Blake (2):
socket: Avoid SIGPIPE where possible
2023 Aug 31
0
[RFC PATCH v2 2/2] test/vsock: shutdowned socket test
On Sat, Aug 26, 2023 at 08:59:00PM +0300, Arseniy Krasnov wrote:
>This adds two tests for 'shutdown()' call. It checks that SIGPIPE is
>sent when MSG_NOSIGNAL is not set and vice versa. Both flags SHUT_WR
>and SHUT_RD are tested.
>
>Signed-off-by: Arseniy Krasnov <avkrasnov at salutedevices.com>
>---
> tools/testing/vsock/vsock_test.c | 138 +++++++++++++++++++++++++++++++
> 1 file changed, 138 insertions(+)
Reviewed-by: Stefano...
2014 Apr 15
1
CentOS 5/6 random system freezes
....979887 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309,
...}) = 0
13:35:36.979944 write(3, "[2014-04-15 13:35:36,979] WARNING WORKER 26 -
[pkt#105132/AUTH] loadPresets - memory used: 0 kb\n", 99) = 99
13:35:37.599793 sendto(10, "Q\0\0\0\rSELECT 1\0", 14, MSG_NOSIGNAL, NULL,
0) = 14
13:35:37.599865 poll([{fd=10, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=10,
revents=POLLIN}])
You can see that between write and sendto passed around 600 ms. At this
time server was not overloaded (LA = 0.4, 16 cores). There were free
memory. There were no load on disks.
So I took...
2015 Jul 29
2
Bug#793921: tftpd-hpa: IPv6 address cannonization breaks IPv4
...ton(AF_INET6, "::ffff:10.0.0.192", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 EAFNOSUPPORT (Address family not supported by protocol)
> > [pid 3757] sendto(3, "<27>Jul 28 15:32:20 tftpd[3757]: connect: Address family not supported by protocol", 82, MSG_NOSIGNAL, NULL, 0) = 82
> >
> > This makes the daemon utterly unusable.
> >
> > Suggest this tested patch:
> >
> > --- ../x/tftp-hpa-5.2+20140608/tftpd/recvfrom.c 2014-07-29 20:31:34.000000000 -0600
> > +++ tftpd/recvfrom.c 2015-07-28 15:42:12.533074001 -0600
&...
2008 Jan 28
1
Dovecot-auth crash
...st_size=806, ...}) = 0
23:56:00.398018 socket(PF_FILE, SOCK_DGRAM, 0) = 18
23:56:00.398065 fcntl64(18, F_SETFD, FD_CLOEXEC) = 0
23:56:00.398111 connect(18, {sa_family=AF_FILE, path="/dev/log"}, 110) = 0
23:56:00.398201 send(18, "<11>Jan 28 23:56:00 dovecot-auth"..., 139,
MSG_NOSIGNAL) = 139
23:56:00.398307 geteuid32() = 0
23:56:00.398354 time(NULL) = 1201560960
23:56:00.398396 write(16,
"01\2\1\4`,\2\1\3\4\37cn=LDAPADMIN,dc=prin"..., 51) = 51
23:56:00.398546 time(NULL) = 1201560960
23:56:00.398590 select(1024, [16], [], NULL, {...
2009 Mar 20
0
tftpd-hpa can't reopen /dev/log
...ose(5) = 0
[pid 24082] socket(PF_FILE, SOCK_STREAM, 0) = 5
[pid 24082] fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 24082] connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = 0
[pid 24082] send(5, "\2\0\0\0\f\0\0\0\6\0\0\0group\0"..., 18, MSG_NOSIGNAL) = 18
[pid 24082] poll([{fd=5, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=5, revents=POLLIN|POLLHUP}])
[pid 24082] recvmsg(5, {msg_name(0)=NULL, msg_iov(2)=[{"group\0"..., 6}, {"\270O\3\0\0\0\0\0"..., 8}], msg_controllen=16, {cmsg_len=16, cmsg_level=SOL_SOCKET, cmsg_t...
2009 Feb 24
4
dovecot1.2 segfault
...read(18, "121.1.34\tlport=110\trport=53278\tre"..., 960) = 87
[pid 6756] time([1235491268]) = 1235491268
[pid 6756] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=118, ...}) = 0
[pid 6756] sendto(10, "<174>Feb 24 16:01:08 dovecot: aut"..., 151,
MSG_NOSIGNAL, NULL, 0) = 151
[pid 6756] time([1235491268]) = 1235491268
[pid 6756] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=118, ...}) = 0
[pid 6756] sendto(10, "<174>Feb 24 16:01:08 dovecot: aut"..., 84,
MSG_NOSIGNAL, NULL, 0) = 84
[pid 6756] gettimeofday({...