Bug 197831 - devel/valgrind on stable/10: binary package still needs updating due to openat()
Summary: devel/valgrind on stable/10: binary package still needs updating due to openat()
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-19 19:23 UTC by Adrian Chadd
Modified: 2016-02-26 18:25 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Chadd freebsd_committer freebsd_triage 2015-02-19 19:23:52 UTC
root@test3:/home/foo # valgrind ./foo
==92585== Memcheck, a memory error detector
==92585== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==92585== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==92585== Command: ./blockd -i igb4,igb5 -I igb1 -Q 8 -e 8 -E 8 -F /dev/null
==92585== 
==92585== Warning: invalid file descriptor -100 in syscall openat()
==92585== Warning: invalid file descriptor -100 in syscall openat()
Cannot open "/usr/local/lib/valgrind/vgpreload_core-amd64-freebsd.so"
==92585== 
==92585== HEAP SUMMARY:
==92585==     in use at exit: 0 bytes in 0 blocks
==92585==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==92585== 
==92585== All heap blocks were freed -- no leaks are possible
==92585== 
==92585== For counts of detected and suppressed errors, rerun with: -v
==92585== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

.. this was fixed by stas in his valgrind port to freebsd, but we still don't have an updated binary package with a working valgrind.

Can this please be fixed? This is really frustrating.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2015-02-19 19:55:42 UTC
Fix Summary.
Comment 2 Jason Unovitch freebsd_committer freebsd_triage 2015-05-05 00:20:17 UTC
Adrian,
Was this fixed a while ago in r379696?

https://svnweb.freebsd.org/ports?view=revision&revision=379696

The 963c4a7 commit hash mentions in the log the "fix openat() wrapper"

https://bitbucket.org/stass/valgrind-freebsd/commits/963c4a777573b5fb1ebaefbc7daf2bc38dbefa6f
Comment 3 Jason Unovitch freebsd_committer freebsd_triage 2015-09-23 03:00:11 UTC
Adrian,
I think we came to the conclusion that with Valgrind 3.10.0 in ports now that this is ready to be closed.