public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/11214] New: invalid opcode in ld.so
@ 2010-01-23 16:39 hjl dot tools at gmail dot com
  2010-01-25 14:06 ` [Bug libc/11214] " hjl dot tools at gmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-01-23 16:39 UTC (permalink / raw)
  To: glibc-bugs

On Intel Core i7, I saw

/var/log/messages-20100110:Jan  8 14:39:35 gnu-6 klogd: gdbserver[20988] trap
invalid opcode ip:3df7414959 sp:7fffc77d9808 error:0 in
ld-2.11.1.so[3df7400000+1e000]

when I did "make check" in gdb. The corresponding code is

_dl_x86_64_restore_sse:
# ifdef HAVE_AVX_SUPPORT
        cmpl    $0, L(have_avx)(%rip)
        js      L(no_avx6)

        vmovdqa %fs:RTLD_SAVESPACE_SSE+0*YMM_SIZE, %ymm0
        vmovdqa %fs:RTLD_SAVESPACE_SSE+1*YMM_SIZE, %ymm1
        vmovdqa %fs:RTLD_SAVESPACE_SSE+2*YMM_SIZE, %ymm2
        vmovdqa %fs:RTLD_SAVESPACE_SSE+3*YMM_SIZE, %ymm3
        vmovdqa %fs:RTLD_SAVESPACE_SSE+4*YMM_SIZE, %ymm4
        vmovdqa %fs:RTLD_SAVESPACE_SSE+5*YMM_SIZE, %ymm5
        vmovdqa %fs:RTLD_SAVESPACE_SSE+6*YMM_SIZE, %ymm6
        vmovdqa %fs:RTLD_SAVESPACE_SSE+7*YMM_SIZE, %ymm7
        ret

in sysdeps/x86_64/dl-trampoline.S. It seems like L(have_avx)
is 0, instead of -1, I don't see how it can happen. Maybe
gdbserver is a special case.

-- 
           Summary: invalid opcode in ld.so
           Product: glibc
           Version: 2.11
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: hjl dot tools at gmail dot com
                CC: glibc-bugs at sources dot redhat dot com
GCC target triplet: x86_64-pc-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=11214

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <bug-11214-131@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2012-01-25 22:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-23 16:39 [Bug libc/11214] New: invalid opcode in ld.so hjl dot tools at gmail dot com
2010-01-25 14:06 ` [Bug libc/11214] " hjl dot tools at gmail dot com
2010-01-26 23:41 ` hjl dot tools at gmail dot com
2010-01-27  0:04 ` [Bug libc/11214] There is a race condition in ld.so with CLONE_VM hjl dot tools at gmail dot com
2010-01-27  4:09 ` hjl dot tools at gmail dot com
2010-01-27  6:50 ` jakub at redhat dot com
2010-01-27 13:02 ` hjl dot tools at gmail dot com
2010-01-27 13:55 ` hjl dot tools at gmail dot com
2010-01-27 22:14 ` jan dot kratochvil at redhat dot com
2010-02-01 20:24 ` jan dot kratochvil at redhat dot com
2010-04-04  9:16 ` drepper at redhat dot com
     [not found] <bug-11214-131@http.sourceware.org/bugzilla/>
2012-01-25 22:42 ` hjl.tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).