From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by sourceware.org (Postfix) with ESMTPS id 003D33858012 for ; Wed, 31 Mar 2021 08:24:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 003D33858012 Received: by mail-lf1-x12f.google.com with SMTP id o10so27867818lfb.9 for ; Wed, 31 Mar 2021 01:24:58 -0700 (PDT) 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) Received: from zingo (87-249-172-112.ljusnet.se. [87.249.172.112]) by smtp.gmail.com with ESMTPSA id a8sm145737ljk.83.2021.03.31.01.24.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Mar 2021 01:24:57 -0700 (PDT) From: To: References: <04cc01d71ffa$7d1e6cf0$775b46d0$@gmail.com> <00d901d7208e$97c05c50$c74114f0$@gmail.com> <860668bf-8cf9-0969-6a01-7fbf8b782db1@cornell.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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIPffBCgY7dkx32YYBd4buxXBOzegICwCl2At957CQCAh4Qbqn17ZhQ Content-Language: en-se 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 08:25:00 -0000 [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]=20 > 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. >=20 > 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=E2=80=99t 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