RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1101422 - s390x WARNING: unhandled syscall: 326 (dup3)
Summary: s390x WARNING: unhandled syscall: 326 (dup3)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: valgrind
Version: 6.6
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Mark Wielaard
QA Contact: Miloš Prchlík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-27 07:18 UTC by Miloš Prchlík
Modified: 2014-10-14 06:37 UTC (History)
2 users (show)

Fixed In Version: valgrind-3.8.1-3.5.el6
Doc Type: Bug Fix
Doc Text:
Cause: Valgrind didn't support the dup3 system calls on powerpc kernels. Consequence: Programs using that system call on powerpc when running under valgrind would get warnings and errors. Fix: valgrind now recognizes the dup3 system calls and handles it properly. Result: Programs running under valgrind on ppc that use the dup3 system call run without warnings or errors.
Clone Of:
Environment:
Last Closed: 2014-10-14 06:37:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1464 0 normal SHIPPED_LIVE valgrind bug fix update 2014-10-14 01:10:53 UTC

Description Miloš Prchlík 2014-05-27 07:18:47 UTC
Description of problem:

dup3 function causes valgrind to warn - see https://bugzilla.redhat.com/show_bug.cgi?id=1067486

[0 root@auto-s390-001 ~]# rpm -q valgrind
valgrind-3.8.1-3.4.el6.s390x
[0 root@auto-s390-001 ~]# cat dup3.c
#include <unistd.h>

int main(int argc, char **argv)
{
  dup3(0, 0, 0);

  return 0;
}

[0 root@auto-s390-001 ~]# gcc -o dup3 dup3.c
[0 root@auto-s390-001 ~]# valgrind ./dup3
==52619== Memcheck, a memory error detector
==52619== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==52619== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==52619== Command: ./dup3
==52619== 
--52619-- WARNING: unhandled syscall: 326
--52619-- You may be able to write your own handler.
--52619-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--52619-- Nevertheless we consider this a bug.  Please report
--52619-- it at http://valgrind.org/support/bug_reports.html.
==52619== 
==52619== HEAP SUMMARY:
==52619==     in use at exit: 0 bytes in 0 blocks
==52619==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==52619== 
==52619== All heap blocks were freed -- no leaks are possible
==52619== 
==52619== For counts of detected and suppressed errors, rerun with: -v
==52619== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)
[0 root@auto-s390-001 ~]# 

Version-Release number of selected component (if applicable):

valgrind-3.8.1-3.4.el6.s390x


How reproducible:

Always on s390x, other arches are fine.


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Mark Wielaard 2014-05-27 07:49:16 UTC
This is RHEL7 bug #1067486 and upstream KDE#331337.
Should be trivial to backport.

Comment 4 Miloš Prchlík 2014-06-03 12:26:29 UTC
Verified for build valgrind-3.8.1-3.5.el6.

Comment 5 errata-xmlrpc 2014-10-14 06:37:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1464.html


Note You need to log in before you can comment on or make changes to this bug.