Bug 437942 - "pfmon -t 20 --system-wide" cause segment fault
Summary: "pfmon -t 20 --system-wide" cause segment fault
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: pfmon   
(Show other bugs)
Version: 5.2
Hardware: ia64
OS: Linux
Target Milestone: rc
: ---
Assignee: William Cohen
QA Contact:
Keywords: Reopened
Depends On:
TreeView+ depends on / blocked
Reported: 2008-03-18 11:08 UTC by Song, Youquan
Modified: 2009-06-20 02:46 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-01-20 21:23:20 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:0147 normal SHIPPED_LIVE pfmon bug fix update 2009-01-20 16:05:06 UTC

Description Song, Youquan 2008-03-18 11:08:43 UTC
Description of problem:

Run "pfmon -t 20 --system-wide" , it cause segment fault.
Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.pfmon -t 20 --system-wide
Actual results:
Segment fault:

<pfmon fatal error @ [5762:5764] ip=0x40000000000a7ad0 addr=0x80>
with libunwind installed, you could get a call stack here!
pfmon got a fatal SIGSEGV signal
<pfmon fatal error @ [5762:5767] ip=0x40000000000a7ad0 addr=0x80>
with libunwind installed, you could get a call stack here!
<pfmon fatal error @ [5762:5763] ip=0x40000000000a7ad0 addr=0x80>
pfmon got a fatal SIGSEGV signal
<pfmon fatal error @ [5762:5765] ip=0x40000000000a7ad0 addr=0x80>
Segmentation fault

Expected results:

Additional info:

Comment 1 Geoff Gustafson 2008-03-18 17:24:28 UTC
Youquan, please describe the hardware you're getting this result on.

Comment 2 Song, Youquan 2008-03-19 01:44:04 UTC
Sorry. The bug was found on the platform: Hitach, with 2 Montvale CPUs.

Comment 3 Luming Yu 2008-03-20 03:12:42 UTC
Tested the pfmon shipped with rhel 5.2 beta (3.2) on two different box with two
different kernel (one is -84, another is 2.6.25-rc3), Both segment fault exactlly!

Tested with pfmon 3.3-alpha , the test case just works well..
So the rhel 5.2 pfmon utility should be synced up with pfmon upstream..

Comment 4 Luming Yu 2008-04-07 09:00:54 UTC
any update on the bug?

Comment 5 Luming Yu 2008-04-07 14:22:19 UTC
probably we need a IT opened for this bug too.


Comment 6 Song, Youquan 2008-04-08 02:13:47 UTC
I will do it after validate on RHEL5.2 snapshot4, because the the 
pfmon/oprofile feature will update on snapshot4.

Comment 7 Song, Youquan 2008-04-15 07:37:00 UTC
This bug is not fixed at RHEL5.2 snapshot4 which include pfmon 32. It need to 
update to pfmon 3.2-alpha to work round.

Comment 8 William Cohen 2008-04-17 20:54:53 UTC
What ia64 platform was this on? There are different code paths used depending
whether this is montecito or an older Itanium 2.

Comment 9 Luming Yu 2008-04-21 03:23:00 UTC
I reproduced the problem on tiger4 with montecito.
Since pfmon 3.3-alpha just works, I'm just asking for directly upgrading to
pfmon 3.3-alpha for fixing this problem.I didn't try to dig out how the problem
got fixed in 3.3-alpah. Please let me know your plan on this bug.


Comment 10 Luming Yu 2008-04-24 08:33:40 UTC
Is this bug going to be fixed inl 5.2?

Comment 12 Gary Case 2008-04-29 14:53:11 UTC
It's too late to include this in 5.2, but I've asked if we can address it in 5.3.

Comment 13 RHEL Product and Program Management 2008-06-02 20:13:21 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update

Comment 14 William Cohen 2008-07-11 14:22:01 UTC
Could you include the results of "rpm -q pfmon libpfm" for the pfmon and libpfm
that are causing the crash? When attempting to replicate the problem on a local
ia64 machine running RHEL 5 I couldn't reproduce the crash.

Comment 15 Luming Yu 2008-07-11 14:43:11 UTC
#rpm -q pfmon libpfm
#cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)

Comment 17 William Cohen 2008-09-03 19:39:15 UTC
Same underlying issue as rhbz #231095.

*** This bug has been marked as a duplicate of bug 231095 ***

Comment 18 John Villalovos 2008-09-03 20:18:37 UTC
Re-opening bug since we have no access to Bug #231095 and can't see status on it to see if it is fixed or not.

Comment 19 Frank Ch. Eigler 2008-09-23 14:35:26 UTC
The bug is fixed with the update that will come out with RHEL5.3 beta+.
pfmon-3.2-0.060926.5.el5.  Please check it when able.

Comment 21 Petr Šplíchal 2008-10-03 14:15:51 UTC
Bug reproduced, fix verified in new version on ia64 arch.

:: [   PASS   ] :: Testing sleep 3
:: [   PASS   ] :: Testing ls /tmp
:: [   PASS   ] :: Testing ls /tmp -e L3_MISSES
:: [   FAIL   ] :: Testing --system-wide
:: [   FAIL   ] :: Testing -t 20 --system-wide
:: [   FAIL   ] :: Testing --system-wide -e L3_MISSES
:: [   PASS   ] :: Testing --long-show-events='CPU.*CYCLE.*'
:: [   PASS   ] :: Testing -i nops_retired

:: [   PASS   ] :: Testing sleep 3
:: [   PASS   ] :: Testing ls /tmp
:: [   PASS   ] :: Testing ls /tmp -e L3_MISSES
:: [   PASS   ] :: Testing --system-wide
:: [   PASS   ] :: Testing -t 20 --system-wide
:: [   PASS   ] :: Testing --system-wide -e L3_MISSES
:: [   PASS   ] :: Testing --long-show-events='CPU.*CYCLE.*'
:: [   PASS   ] :: Testing -i nops_retired

Not moving to VERIFIED yet, we'll wait for Partner feedback to confirm that the fix works for them.

Comment 22 Chris Ward 2008-11-28 07:13:19 UTC
Partners, this bug should be fixed in the latest RHEL 5.3 Snapshot. We believe that you have some interest in its correct functionality, so we're making a friendly request to send us some testing feedback. 

If you have a chance to test it, please share with us your findings. If you have successfully VERIFIED the fix, please add PartnerVerified to the Bugzilla keywords, along with a description of the results. Thanks!

Comment 23 Song, Youquan 2008-11-28 08:23:49 UTC
PartnerVerified. I test on Hitachi Montvale, the bug as fixed RHEL5.3 Beta.

Comment 25 errata-xmlrpc 2009-01-20 21:23:20 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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