From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5189 invoked by alias); 26 Oct 2010 16:31:28 -0000 Received: (qmail 5176 invoked by uid 22791); 26 Oct 2010 16:31:26 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Oct 2010 16:31:22 +0000 From: "viriketo at gmail dot com" To: glibc-bugs@sources.redhat.com Subject: [Bug libc/12123] SIGBUS on strstr_sse42 due to bad alignment X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: viriketo at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Tue, 26 Oct 2010 16:31:00 -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 X-SW-Source: 2010-10/txt/msg00163.txt.bz2 Message-ID: <20101026163100.2aQ_Q8HLRtY4QeRy4nbNDns9guXGxcaEGNgiyVqCZew@z> http://sourceware.org/bugzilla/show_bug.cgi?id=3D12123 --- Comment #9 from Llu=C3=ADs 2010-10-26 16:31= :11 UTC --- (In reply to comment #7) > How did you configure glibc? Normally glibc maintains at most 8 byte sta= ck > alignment internally. But even if the stack is 16 byte aligned -0x34(%eb= p) > cannot be correctly aligned since ebp points 8 bytes into the stack frame. If what you say is correct about "at most 8 byte stack alignment", that is = not enough for SSE instructions, which require 16 byte alignment. I'll reproduce again the bug and report more information about the %ebp at every point. I read in the source that in i386 _dl_init_internal has to be called with a 16-byte alignment; I'll check where that gets lost. --=20 Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are on the CC list for the bug.