Bug 353917 - unhandled amd64-solaris syscall fchdir(120)
Summary: unhandled amd64-solaris syscall fchdir(120)
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: memcheck (other bugs)
Version First Reported In: unspecified
Platform: Solaris Packages Solaris
: NOR grave
Target Milestone: ---
Assignee: Ivo Raisr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-15 08:27 UTC by anand8906
Modified: 2016-03-31 05:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
proposed patch (2.50 KB, patch)
2015-10-15 08:34 UTC, Ivo Raisr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description anand8906 2015-10-15 08:27:19 UTC
==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:  ********
==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.

------------------------------------------------------------------------

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  binary with Valgrind 
2.
3.

Actual Results:  
==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:  ********
==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.



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
Comment 1 Ivo Raisr 2015-10-15 08:34:09 UTC
Created attachment 95000 [details]
proposed patch

The attached patch should fix the problem.
It is not ready to be integrated, yet.
Comment 2 Ivo Raisr 2015-10-15 09:37:33 UTC
Fixed in SVN r15707.
Comment 3 anand8906 2015-10-15 11:23:26 UTC
Thanks. That worked. But now I have another unhandled syscall warning for 170 ('SYS_lwp_cond_wait' I guess).

WARNING: unhandled amd64-solaris syscall: 170
--27526-- You may be able to write your own handler.
--27526-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--27526-- Nevertheless we consider this a bug.  Please report
--27526-- it at http://valgrind.org/support/bug_reports.html.

Raised a new bug for that. Bug Id is 353920