<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>4251</bug_id>
          
          <creation_ts>2013-04-11 12:52:32 +0000</creation_ts>
          <short_desc>some stap scripts freeze Eclipse when ran from the System Tap plugin</short_desc>
          <delta_ts>2014-08-26 11:18:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Eclipse Plugin</product>
          <component>eclipse-plugin</component>
          <version>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.4 M6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian Dudau">adrian.dudau</reporter>
          <assigned_to name="Jessica">jessica.zhang</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>andrax.g.necula</cc>
    
    <cc>ioanax.grigoropol</cc>
    
    <cc>yp.ep.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          <qa_contact name="Andra Necula">andrax.g.necula</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>31939</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Dudau">adrian.dudau</who>
    <bug_when>2013-04-11 12:52:32 +0000</bug_when>
    <thetext>Most of the stap scripts from http://sourceware.org/systemtap/examples/index.html will work using crosstap script from command line but will send Eclispe into non-responding state when run from the plugin.

Steps to reproduce:
1. wget http://sourceware.org/systemtap/examples/profiling/sched_switch.stp
2. fill in system tap dialog (metadata, login, path to script)
3. add &apos; -c &quot;sleep 1&quot;  &apos; in the arguments field
4. launch the script</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31988</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-04-11 16:03:18 +0000</bug_when>
    <thetext>I think this is related to: https://bugzilla.yoctoproject.org/show_bug.cgi?id=4099</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31989</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Dudau">adrian.dudau</who>
    <bug_when>2013-04-11 16:08:35 +0000</bug_when>
    <thetext>I don&apos;t think so. This issue is specific to the Eclipse plugin. When manually running the crosstap script from the terminal everything works fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31996</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-04-11 16:20:51 +0000</bug_when>
    <thetext>Adrian,
Which commit are you using?
I have tested with:
commit fe336b149552b1f4f24d979c40302653298b98cc
Author: Khem Raj &lt;raj.khem@gmail.com&gt;
Date:   Wed Apr 3 05:11:50 2013 +0000


And it reproduces for me...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32010</commentid>
    <comment_count>4</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2013-04-11 22:30:52 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/eclipse-poky/commit/?h=dylan&amp;id=b325668152e5b14ead0e371b779543e32f170556</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32037</commentid>
    <comment_count>5</comment_count>
    <who name="Adrian Dudau">adrian.dudau</who>
    <bug_when>2013-04-12 09:34:05 +0000</bug_when>
    <thetext>I verified and the problem is solved for scripts with a limited running duration. However, for streaming scripts we still have the same issue. See Bug 4270. This might prove a bit more complex.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45251</commentid>
    <comment_count>6</comment_count>
    <who name="Andra Necula">andrax.g.necula</who>
    <bug_when>2014-08-26 11:18:43 +0000</bug_when>
    <thetext>Verified with eclipse Kepler, on master branch
commit 2d1660112e54653f7bb763939d0416472c49fe01
Host Ubuntu 14.04 
x86_64
Cheers! Andra N.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>