Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 643048

Summary: peekfd SIGSEGV
Product: Red Hat Enterprise Linux 6 Reporter: Jan Görig <jgorig>
Component: psmiscAssignee: Jaromír Cápík <jcapik>
Status: CLOSED CURRENTRELEASE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: high    
Version: 6.1CC: bnater, bugzilla.acct, jgorig, ovasik, plyons, syeghiay
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:162a15d7190bd4900eeb35c564adaf16a7c6b086
Fixed In Version: psmisc-22.6-16.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 642800 Environment:
Last Closed: 2012-10-09 12:41:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 642800    
Bug Blocks: 668992    
Attachments:
Description Flags
proposed patch none

Description Jan Görig 2010-10-14 14:21:53 UTC
+++ This bug was initially created as a clone of Bug #642800 +++

abrt version: 1.1.13
architecture: x86_64
Attached file: backtrace
cmdline: peekfd -c 5623 1
comment: May be an upstream problem since it appears to be similar behavior to Ubuntu
component: psmisc
crash_function: ____strtol_l_internal
executable: /usr/bin/peekfd
kernel: 2.6.34.7-56.fc13.x86_64
package: psmisc-22.6-13.fc12
rating: 4
reason: Process /usr/bin/peekfd was killed by signal 11 (SIGSEGV)
release: Fedora release 13 (Goddard)
time: 1287001490
uid: 500

How to reproduce
-----
1. Tried to get peekfd to work.  It would hang
2. Added fd argument...
3. BOOM!

--- Additional comment from bugzilla.acct on 2010-10-13 22:37:50 CEST ---

Created attachment 453309 [details]
File: backtrace

--- Additional comment from updates on 2010-10-14 16:17:58 CEST ---

psmisc-22.6-14.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/psmisc-22.6-14.fc13

Comment 2 Jan Görig 2010-11-10 07:48:05 UTC
Created attachment 459351 [details]
proposed patch

Comment 3 Jan Görig 2010-11-10 07:53:36 UTC
How to reproduce:
-------------------------------------
1. run peekfd <PID> 0

Actual results:
Segmenntation fault (core dumped)

Expected results:
working peekfd

Comment 10 Jiri Pallich 2012-10-09 12:41:49 UTC
Since this is a parent bug of an issue that has already been released via Z-Stream (e.g. rhel-6.3.z), this bug is going to be CLOSED as CURRENTRELEASE.