Your message dated Mon, 7 Mar 2016 18:41:07 +0100 with message-id <20160307174107.GA29089@aurel32.net> and subject line Re: Bug#816742: libc6: sem_post/sem_wait not working for 32bit to 64bit inter-process communication has caused the Debian Bug report #816742, regarding libc6: sem_post/sem_wait not working for 32bit to 64bit inter-process communication to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 816742: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816742 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: libc6: sem_post/sem_wait not working for 32bit to 64bit inter-process communication
- From: Markus Friedrich <fm12@freenet.de>
- Date: Fri, 4 Mar 2016 09:45:05 +0100
- Message-id: <[🔎] CAHF=osva0jaMfRbjN_tuEKUabvcKLZmJCCt=r607+0k4KKoaRA@mail.gmail.com>
Package: libc6Version: 2.21Severity: criticalJustification: breaks unrelated softwareInter-process communication between a 64bit and a 32bit process is not working. At least pthread named semaphores are not working.A sem_wait is not awaken if a corresponding sem_post is done on the other side, which generated a dead lock.This problem only exists if a 64bit process communicates with a 32bit process but not for 32bit to 32bit communication or 64bit to 64bit communication.Moreover Debian 8.3 and all other tested distributions have no problem with 64bit to 32bit inter-process communication using pthread named semaphores.The problem seems to be related to the (new) FUTEX_PRIVATE_FLAG flag of futex. The sem_post command (for a named semaphore) seems to make a futex system call using the FUTEX_PRIVATE_FLAG which seems to be wrong.-- System Information:Debian Release: stretch/sidAPT prefers testingAPT policy: (900, 'testing'), (500, 'stable-updates'), (500, 'stable')Architecture: amd64 (x86_64)Foreign Architectures: i386Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores)Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)Shell: /bin/sh linked to /bin/bashInit: systemd (via /run/systemd/system)
--- End Message ---
--- Begin Message ---
- To: Markus Friedrich <fm12@freenet.de>
- Cc: 816742-done@bugs.debian.org
- Subject: Re: Bug#816742: libc6: sem_post/sem_wait not working for 32bit to 64bit inter-process communication
- From: Aurelien Jarno <aurelien@aurel32.net>
- Date: Mon, 7 Mar 2016 18:41:07 +0100
- Message-id: <20160307174107.GA29089@aurel32.net>
- In-reply-to: <[🔎] CAE2sS1ijg4iatvDN-kEXiKufyc9Ta9Wd1=0UUvYQqqUF3QZUhQ@mail.gmail.com>
- References: <[🔎] CAHF=osva0jaMfRbjN_tuEKUabvcKLZmJCCt=r607+0k4KKoaRA@mail.gmail.com> <[🔎] 20160305122827.GA25741@aurel32.net> <[🔎] CAE2sS1ijg4iatvDN-kEXiKufyc9Ta9Wd1=0UUvYQqqUF3QZUhQ@mail.gmail.com>
On 2016-03-05 08:46, Carlos O'Donell wrote: > On Sat, Mar 5, 2016 at 7:28 AM, Aurelien Jarno <aurelien@aurel32.net> wrote: > > control: forwarded -1 https://sourceware.org/bugzilla/show_bug.cgi?id=17980 > > Semaphore interoperability between two different ABIs has never been > supported. It worked because you were lucky and the implementation was > flawed. To fix the implementation flaws (which are real), we've had to > adopt slightly different algorithms for 32-bit and 64-bit. Given this was something not officially supported, but only working by chance, we can't consider that as a regression. I am therefore closing the bug. -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net
--- End Message ---