From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14483 invoked by alias); 28 Aug 2014 15:02:37 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 14416 invoked by uid 48); 28 Aug 2014 15:02:33 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug nptl/12683] Race conditions in pthread cancellation Date: Thu, 28 Aug 2014 15:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.19 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-08/txt/msg00141.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=12683 --- Comment #24 from Carlos O'Donell --- (In reply to Adhemerval Zanella Netto from comment #23) > I am currently working on a fix based on musl implementation, which from > comments #16 and #17 seems a good approach. My initial idea is to use PC > markers instead of DWARF2, since it see it as more clean approach. However, > this is require a lot of cleanup. > > I plan push implementations for powerpc64 and x86_64 and ask for arch > maintainers for more arch specific work. I also plan to write a wiki page > describing the work done and summarizing the discussion on this bug report. The biggest problem with DWARF2 is the parser, and making it accessible from the signal handler. I strongly suggest using PC, and a list of exception regions generated from markers in the assembly (similar to kernel exception regions). -- You are receiving this mail because: You are on the CC list for the bug.