PAPI for PPC64 architecture specific array sys_mem_info[] is not properly decalared

Bug #1380820 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
papi (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

---Problem Description---
Papi support for Power 8 has a bug in the declaration of a statically initialized array. The issue is to access the Power 8 data the index is outside the declared array. On Ubuntu, the papi testcases receive a segmentation fault. The fix has been identified.

---uname output---
Linux genoa 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:57:29 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux

Machine Type = Power 8 LE

---Steps to Reproduce---
 Install papi, configure and make the tools and test cases. Run the PAPI tests.

Userspace tool common name: PAPI

The userspace tool has the following bit modes: http://icl.cs.utk.edu/papi/

I have attached a patch to fix the issue.

Revision history for this message
bugproxy (bugproxy) wrote : Fix for the PAPI PPC64 sys_mem_info array declaration

Default Comment by Bridge

tags: added: architecture-ppc64le bugnameltc-117488 severity-medium targetmilestone-inin14042
Luciano Chavez (lnx1138)
affects: ubuntu → papi (Ubuntu)
Revision history for this message
Graham Inggs (ginggs) wrote :

Fix released in papi 5.3.2-2 in Vivid.

Changed in papi (Ubuntu):
status: New → Fix Released
bugproxy (bugproxy)
tags: added: targetmilestone-inin1504
removed: targetmilestone-inin14042
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.