Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2015 06:45:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202766] devel/valgrind: unhandled sysarch cmd 132 (AMD64_GET_XFPUSTATE)
Message-ID:  <bug-202766-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202766

            Bug ID: 202766
           Summary: devel/valgrind: unhandled sysarch cmd 132
                    (AMD64_GET_XFPUSTATE)
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: vedge@hypertriton.com

On 10.2-STABLE, when running some threaded applications with valgrind, I'm
seeing:

==31628== unhandled sysarch cmd 132
==31628== Valgrind detected that your program requires
==31628== the following unimplemented functionality:
==31628==    unhandled sysarch cmd
==31628== This may be because the functionality is hard to implement,
==31628== or because no reasonable program would behave this way,
==31628== or because nobody has yet needed it.  In any case, let us know at
==31628== www.valgrind.org and/or try to work around the problem, if you can.
==31628== 
==31628== Valgrind has to exit now.  Sorry.  Bye!
==31628== 

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable
==31628==    at 0x715EF0A: sysarch (in /lib/libc.so.7)
==31628==    by 0x7130871: __fillcontextx2 (in /lib/libc.so.7)
==31628==    by 0x6EC1630: ??? (in /lib/libthr.so.3)
==31628==    by 0x6EC144F: ??? (in /lib/libthr.so.3)
==31628==    by 0x6EC4171: ??? (in /lib/libthr.so.3)
==31628==    by 0x6EB6FFD: ??? (in /lib/libthr.so.3)
==31628==    by 0x40040ED: ??? (in /libexec/ld-elf.so.1)
==31628==    by 0x4002438: ??? (in /libexec/ld-elf.so.1)

I don't know how valgrind should be emulating AMD64_GET_XFPUSTATE, but the
attached patch can be used to work around the problem by pretending it is
unimplemented.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202766-13>