This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/12123] SIGBUS on strstr_sse42 due to bad alignment


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]