delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/03/31/04:25:06

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7F1CC38618D1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1617179101;
bh=74mlKKZD+2l0nIXoYvPcfOt1DbG8vxLizH9Cg2F7Yts=;
h=To:References:In-Reply-To:Subject:Date:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=Ghgtr0FBh856yYG25kylJ641OHAh2IbTozhivSEfHYrF9JRj/dIt1QmgITIW7bRIC
CT+AcVLW4MhiRY0LHHvfundDMTPvRTgNVjTsKU8csP3Tl4oE9f9Ou52yptcRHW0X1a
g4pEs3zRrEnVD8CRCF4FwFUbULRSlBQoU3w/bK4w=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 003D33858012
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date
:message-id:mime-version:content-transfer-encoding:thread-index
:content-language;
bh=WVD71a/O4vrPA8u1SOLChOBlJYlfFVC0WrOnwXBxz2o=;
b=AECik5nyT5JnX1fmk2pU63t90ogadAfWGhUfFUAB+h3VoUTZUPQSKd9MrBunKAM7ez
3kWGZhgSYHkPRXRAhbdnAe0r3W6wLwbMWwvpa+uQbmRU2YlTlW3OFwAsu6NokIZzZEs8
O4XBbRroL1LxxD0ObPlsN1KJbAVwzs0zzBeTFGKAIfF/wAjprvJP2od3Sw46E0NMDmFB
6mDCApvloQ6yYR2MfkujlPWLc4SwHK74+eu8+f0h5gR6leH6yv6GZUSBERH7Rqxtvc0I
Io4KNzWvDd+DNrkh5aOjyNX3CTWA2q6rpppXwQXs50zOLMIYkVnpGJjvzTL45YiUUAR0
WG2g==
X-Gm-Message-State: AOAM532vhRjIPQOVx6ylo/NFS4oPh2zdpKZ0gRuXrtpRn2hhGKNvOOOG
Bn/qdPyoL0jIyiRLeavTiF2vcr2qjOgLkg==
X-Google-Smtp-Source: ABdhPJzXHIJGu2ANWFChF/9b+ac29D1Iimfyqyw85V/2ieJ0hvHPFb/JyQeiXC3XY6UJojHRbidsMQ==
X-Received: by 2002:a05:6512:36ce:: with SMTP id
e14mr1497881lfs.167.1617179097796;
Wed, 31 Mar 2021 01:24:57 -0700 (PDT)
To: <cygwin AT cygwin DOT com>
References: <04cc01d71ffa$7d1e6cf0$775b46d0$@gmail.com>
<YFo/fFC2bITvnVGr AT xps13> <00d901d7208e$97c05c50$c74114f0$@gmail.com>
<860668bf-8cf9-0969-6a01-7fbf8b782db1 AT cornell DOT edu>
In-Reply-To: <860668bf-8cf9-0969-6a01-7fbf8b782db1@cornell.edu>
Subject: RE: AF_UNIX/SOCK_DGRAM is dropping messages
Date: Wed, 31 Mar 2021 10:24:57 +0200
Message-ID: <000901d72607$55dc5a90$01950fb0$@gmail.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQIPffBCgY7dkx32YYBd4buxXBOzegICwCl2At957CQCAh4Qbqn17ZhQ
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Kristian Ivarsson via Cygwin <cygwin AT cygwin DOT com>
Reply-To: sten DOT kristian DOT ivarsson AT gmail DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 12V8P5D0011374

[snip]
> >>> Using AF_UNIX/SOCK_DGRAM with current version (3.2.0) seems to drop
> >>> messages or at least they are not received in the same order they
> >>> are  sent

[snip] 

> Thanks for the test case.  I can confirm the problem.  I'm not familiar enough
> with the current AF_UNIX implementation to debug this easily.  I'd rather
> spend my time on the new implementation (on the topic/af_unix branch).  It
> turns out that your test case fails there too, but in a completely different way,
> due to a bug in sendto for datagrams.  I'll see if I can fix that bug and then try
> again.
> 
> Ken

Ok, too bad it wasn't our own code base but good that the "mystery" is verified

I finally succeed to build topic/af_unix (after finding out what version of zlib was needed), but not with -D__WITH_AF_UNIX to CXXFLAGS though and thus I haven’t tested it yet

Is it sufficient to add the define to the "main" Makefile or do you have to add it to all the Makefile:s ? I guess I can find out though

Is topic/af_unix fairly up to date with master branch ?

Either way, I'll be glad to help out testing topic/af_unix

Keep up the good work

Best regards,
Kristian

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019