From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 270753858008; Thu, 10 Mar 2022 12:12:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 270753858008 From: "saagar at saagarjha dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/24069] gdb on OSX Mojave hangs in darwin_decode_message Date: Thu, 10 Mar 2022 12:12:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: saagar at saagarjha dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2022 12:12:05 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24069 Saagar Jha changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |saagar at saagarjha dot com --- Comment #48 from Saagar Jha --- Hey, just stopping by a little late=E2=80=93since you've already merged a p= atch for this=E2=80=93with information that might be potentially helpful. I looked i= nto this several years back but never finished a patch for it, but my impression for= the sporadic failures was that GDB multiplexes Mach messages through a port set= and they would race to arrive. If they came in the right order then things would work, and if not then it would hang. It's definitely possible that there's = more to the story or that I completely misdiagnosed the problem, but my impressi= on (from way back, mind you) was that the second wait was actually useful and = the hang was from this rather than the extra call. Just my 2 cents :) --=20 You are receiving this mail because: You are on the CC list for the bug.=