This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/17393] java.exp: ERROR: Cannot attach to module control channel


https://sourceware.org/bugzilla/show_bug.cgi?id=17393

--- Comment #1 from Martin Cermak <mcermak at redhat dot com> ---
On RHEL7 similar behaviour can be observed except two things:
- the 'zombie module' issue happens even in the verbose mode and
- no probes are being hit (which isn't true in the previous post)

Details:

=======
 7.0 S x86_64 # uname -r; rpm -q systemtap java-1.7.0-openjdk
3.10.0-131.el7.x86_64
systemtap-2.7-1.mcermak.5705063.el7.x86_64
java-1.7.0-openjdk-1.7.0.65-2.5.1.2.el7_0.x86_64

 7.0 S x86_64 # stap systemtap.apps/singleparam.stp -c "java singleparam
>/dev/null 2>&1"
ERROR: Cannot attach to module stap_9cdab9fbf6e7162080002b330c28908a_13844
control channel; not running?
ERROR: 'stap_9cdab9fbf6e7162080002b330c28908a_13844' is not a zombie systemtap
module.
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run failed.  [man error::pass5]
 7.0 S x86_64 # stap systemtap.apps/singleparam.stp -c "java singleparam
>/dev/null 2>&1"
ERROR: Cannot attach to module stap_9cdab9fbf6e7162080002b330c28908a_13961
control channel; not running?
ERROR: 'stap_9cdab9fbf6e7162080002b330c28908a_13961' is not a zombie systemtap
module.
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run failed.  [man error::pass5]
 7.0 S x86_64 # lsmod | grep stap | awk '{print $1}' | xargs rmmod
 7.0 S x86_64 # lsmod | grep stap
 7.0 S x86_64 # stap systemtap.apps/singleparam.stp -c "java singleparam
>/dev/null 2>&1"
 7.0 S x86_64 # stap systemtap.apps/singleparam.stp -c "java singleparam
>/dev/null 2>&1"
 7.0 S x86_64 # stap systemtap.apps/singleparam.stp -c "java singleparam
>/dev/null 2>&1"
 7.0 S x86_64 # java singleparam
 7.0 S x86_64 # stap systemtap.apps/singleparam.stp -c "java singleparam
>/dev/null 2>&1"
ERROR: Cannot attach to module stap_9cdab9fbf6e7162080002b330c28908a_14456
control channel; not running?
ERROR: 'stap_9cdab9fbf6e7162080002b330c28908a_14456' is not a zombie systemtap
module.
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run failed.  [man error::pass5]
 7.0 S x86_64 # lsmod | grep stap
stap_9cdab9fbf6e7162080002b330c28908a_14456   239073  0 
 7.0 S x86_64 # lsmod | grep stap | awk '{print $1}' | xargs rmmod
 7.0 S x86_64 # stap systemtap.apps/singleparam.stp -c "java singleparam
>/dev/null 2>&1"
ERROR: Cannot attach to module stap_9cdab9fbf6e7162080002b330c28908a_14581
control channel; not running?
ERROR: 'stap_9cdab9fbf6e7162080002b330c28908a_14581' is not a zombie systemtap
module.
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run failed.  [man error::pass5]


 7.0 S x86_64 # # NOW THE VERBOSE MODE

 7.0 S x86_64 # stap -v systemtap.apps/singleparam.stp -c "java singleparam
>/dev/null 2>&1"
Pass 1: parsed user script and 114 library script(s) using
218196virt/35532res/3012shr/33084data kb, in 210usr/20sys/222real ms.
Pass 2: analyzed script: 32 probe(s), 5 function(s), 4 embed(s), 0 global(s)
using 219972virt/38464res/4068shr/34860data kb, in 30usr/70sys/97real ms.
Pass 3: using cached
/root/.systemtap/cache/9c/stap_9cdab9fbf6e7162080002b330c28908a_11075.c
Pass 4: using cached
/root/.systemtap/cache/9c/stap_9cdab9fbf6e7162080002b330c28908a_11075.ko
Pass 5: starting run.
Pass 5: run completed in 80usr/90sys/30418real ms.
 7.0 S x86_64 # stap -v systemtap.apps/singleparam.stp -c "java singleparam
>/dev/null 2>&1"
Pass 1: parsed user script and 114 library script(s) using
218188virt/35532res/3012shr/33076data kb, in 200usr/10sys/220real ms.
Pass 2: analyzed script: 32 probe(s), 5 function(s), 4 embed(s), 0 global(s)
using 219964virt/38516res/4068shr/34852data kb, in 30usr/70sys/100real ms.
Pass 3: using cached
/root/.systemtap/cache/9c/stap_9cdab9fbf6e7162080002b330c28908a_11075.c
Pass 4: using cached
/root/.systemtap/cache/9c/stap_9cdab9fbf6e7162080002b330c28908a_11075.ko
Pass 5: starting run.
ERROR: Cannot attach to module stap_9cdab9fbf6e7162080002b330c28908a_14816
control channel; not running?
ERROR: 'stap_9cdab9fbf6e7162080002b330c28908a_14816' is not a zombie systemtap
module.
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run completed in 80usr/100sys/30422real ms.
Pass 5: run failed.  [man error::pass5]
 7.0 S x86_64 #
=======


I can provide more testing details or an access to testing box on demand.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]