Bug 499 - OProfile-viewer failure with exit value: 134
Summary: OProfile-viewer failure with exit value: 134
Status: VERIFIED FIXED
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: High major
Target Milestone: 0.9 M4
Assignee: Lianhao Lu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-10-20 15:36 UTC by Jessica
Modified: 2010-12-21 05:59 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments
oprofile-viewer.error (6.98 KB, text/plain)
2010-10-20 15:55 UTC, Jessica
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jessica 2010-10-20 15:36:19 UTC
When testing demo laptop to netbook running atom-pc, tried oprofile, I can connect to the oprofile server, start, stop and downloading files, after that, I got Launching local application: Failed in launching local application: oprofile-viewer Exit value: 134...
Comment 1 Jessica 2010-10-20 15:48:11 UTC
I've tried oprofile against qemu, but seems for qemu there's no oprofile data file for download, so to reproduce the problem, please try with a netbook or a target that will trigger downloading file...
Comment 2 Jessica 2010-10-20 15:55:31 UTC
Created attachment 62 [details]
oprofile-viewer.error
Comment 3 Lianhao Lu 2010-10-20 18:28:40 UTC
This happens because on the host, the official oprofile package is not installed. The oprofile-viewer needs an application utility called "opreport" from that package. 

If you're using Ubuntu, please install the oprofile package using "sudo apt-get install oprofile".

If you're using other linux distributions, please install the corresponding package using their own package management tools.
Comment 4 Lianhao Lu 2010-10-20 18:47:10 UTC
Fixed in commit e2e10e7.

Added availability check of opreport in OprofileModel.checkAvail(). If no opreport is found, an error message would prompt to ask user to install the oprofile package.
Comment 5 Jessica 2010-10-20 23:24:24 UTC
Verified with the latest Eclipse plugin build