==10363== Memcheck, a memory error detector ==10363== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==10363== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==10363== Command: ******** ==10363== --10363-- WARNING: unhandled amd64-solaris syscall: 207 --10363-- You may be able to write your own handler. --10363-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --10363-- Nevertheless we consider this a bug. Please report --10363-- it at http://valgrind.org/support/bug_reports.html. --------------------------------------------------------------- I keep getting this everytime I run my binary with valgrind. This doesn't happen with a simple hello world program. But only with my binary which is quite complex and uses so many user defined libraries Reproducible: Always Steps to Reproduce: 1. Run my binary with Valgrind 2. 3. Actual Results: ==10363== Memcheck, a memory error detector ==10363== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==10363== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==10363== Command: ******** ==10363== --10363-- WARNING: unhandled amd64-solaris syscall: 207 --10363-- You may be able to write your own handler. --10363-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --10363-- Nevertheless we consider this a bug. Please report --10363-- it at http://valgrind.org/support/bug_reports.html.
Solaris syscall 207 is pset_* family. We will implement their wrappers hopefully soon.
Created attachment 94955 [details] pset syscall wrapper Syscall wrapper only. No scalar tests, yet.
Please could you try the attached patch and see if it helps with your situation? I would also like to hear the flavour of Solaris (or illumos), such as distribution and kernel version.
Fixed in SVN r15700.
Thanks! It did help me. Unfortunately there is another error and this time it is syscall 120 ------------------------------------------------------- ==27338== Memcheck, a memory error detector ==27338== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==27338== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==27338== Command: xxxxxx ==27338== --27338-- WARNING: unhandled amd64-solaris syscall: 120 --27338-- You may be able to write your own handler. --27338-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --27338-- Nevertheless we consider this a bug. Please report --27338-- it at http://valgrind.org/support/bug_reports.html. ------------------------------------------------------------------------------------------- Details of my OS are uname -X -------------- Maximum build arch: amd64 Primary build arch: amd64 Secondary build arch: x86 Build OS: solaris Primary build target: AMD64_SOLARIS Secondary build target: X86_SOLARIS Platform variant: vanilla Primary -DVGPV string: -DVGPV_amd64_solaris_vanilla=1 Default supp files: solaris11.supp uname -a --------------------------- SunOS whf00ajr 5.11 11.1 i86pc i386 i86pc cat /etc/release ----------------------------------- Oracle Solaris 11.1 X86 Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved. Assembled 06 November 2013
Great! So you are running Solaris 11.1 (confirm with 'pkg info entire'). Syscall 120 is fchdir. Please could you raise another bug entitled: "unhandled amd64-solaris syscall fchdir(120)". I will have a look at it.
Thanks. output of pkg info entire Name: entire Summary: entire incorporation including Support Repository Update (Oracle Solaris 11.1.14.5.0). Description: This package constrains system package versions to the same build. WARNING: Proper system update and correct package selection depend on the presence of this incorporation. Removing this package will result in an unsupported system. For more information see https://support.oracle.com/CSP/main/article ?cmd=show&type=NOT&doctype=REFERENCE&id=1501435.1. Category: Meta Packages/Incorporations State: Installed Publisher: solaris Version: 0.5.11 (Oracle Solaris 11.1.14.5.0) Build Release: 5.11 Branch: 0.175.1.14.0.5.0 Packaging Date: December 3, 2013 09:31:37 PM Size: 5.46 kB FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.1.14.0.5.0:20131203T213137Z I also raised a new bug entitled "unhandled amd64-solaris syscall fchdir(120)" and the new bug id is 353917.