This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12123] SIGBUS on strstr_sse42 due to bad alignment
- From: "viriketo at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 26 Oct 2010 16:17:40 +0000
- Subject: [Bug libc/12123] SIGBUS on strstr_sse42 due to bad alignment
- Auto-submitted: auto-generated
- References: <bug-12123-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12123
--- Comment #8 from LluÃs <viriketo at gmail dot com> 2010-10-26 16:17:25 UTC ---
I did not add any special flag configuring glibc. It's a usual personal
computer, where I expect glibc to find all the proper options automatically,
and not cross compiling.
Maintaining the proper alignment between calls depends on gcc, not glibc. And I
imagine glibc calls also maintain the alignment.
I am pointing at the alignment at the dynamic loader; I imagine the dynamic
loader runs that strstr() call without having passed the stage of aligning the
stack.
Maybe in the initial report I forgot to say that looking at $ebp for every
frame of the backtrace reported a misaligned %ebp, since _dl_start_user.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.