Bug 255

Summary: oprofile-server can NOT be launched within Qemu through Eclipse IDE
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Lianhao Lu <lianhao.lu>
Component: eclipse-pluginAssignee: Lianhao Lu <lianhao.lu>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: Undecided CC: jessica.zhang, kevin.tian, lianhao.lu, liping.ke, sgw, yp.ep.watcher, yp.watcher
Version: 0.9   
Target Milestone: 0.9 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

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.