Bug 255 - oprofile-server can NOT be launched within Qemu through Eclipse IDE
Summary: oprofile-server can NOT be launched within Qemu through Eclipse IDE
Status: VERIFIED FIXED
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Undecided major
Target Milestone: 0.9 M3
Assignee: Lianhao Lu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-09-02 01:01 UTC by Lianhao Lu
Modified: 2010-12-21 05:59 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lianhao Lu 2010-09-02 01:01:13 UTC
In git commit bac83a3, the oprofile-server within the qemux86 can not be launched using the Eclipse IDE ,  though it's ok within the localhost.
Comment 1 Lianhao Lu 2010-09-02 01:06:49 UTC
The problem occurs because the script which is used to launch the oprofile-server using "start-stop-daemon -b" to launch the oprofile-server into background. The "start-stop-daemon -b" might exit before the oprofile-server actually got running, this would cause the script exit so early that the oprofile-server might got signaled of parent process exit before it actually runs to background.

Added a sleep in script after "start-stop-daemon -b" solved this problem.
Comment 2 Lianhao Lu 2010-09-02 01:11:33 UTC
Fixed in commit 0c53c17.
Comment 3 Lianhao Lu 2010-09-13 02:30:41 UTC
Verified in commit 0c53c17.