From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31997 invoked by alias); 15 Oct 2013 14:04:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 31910 invoked by uid 48); 15 Oct 2013 14:04:46 -0000 From: "eugeni.stepanov at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects Date: Tue, 15 Oct 2013 14:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eugeni.stepanov at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: 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://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-10/txt/msg00914.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56393 --- Comment #30 from Evgeniy Stepanov --- Yes, but that must run before library constructors => .preinit_array. I'm not sure we want to add code like this to .preinit_array of all binaries that are NOT linked with AddressSanitizer ;)