public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/5182] New: Scripts won't exit
@ 2007-10-15 18:58 mmlnx at us dot ibm dot com
  2007-10-15 19:41 ` [Bug runtime/5182] " hunt at redhat dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: mmlnx at us dot ibm dot com @ 2007-10-15 18:58 UTC (permalink / raw)
  To: systemtap

Scripts I run using the latest cvs code (as of 10/15/07 @ 11:15 AM PDT) will not
exit.  A Ctrl-C or explicit exit() displays the following:

stapio:sigproc:22 sigproc 2 (Interrupt)
stapio:stp_main_loop:293 got STP_EXIT, closed=0
stapio:cleanup_and_exit:216 CLEANUP AND EXIT  closed=0
stapio:close_relayfs:220 closing
stapio:close_relayfs:239 done
stapio:cleanup_and_exit:229 closing control channel
staprun:cleanup:179 rc=3, inserted_module=1
staprun:stop_symbol_thread:464 Stopping symbol thread.
staprun:cleanup:194 removing module stap_14f450c36f752aed577949ccb1f8d21b_501

then it just hangs.

"rmmod <stap_module>" indicates the module is still in use:

ERROR: Module stap_14f450c36f752aed577949ccb1f8d21b_501 is in use

"ps -e | grep stap" indicates stap and staprun are still running:

24153 pts/4    00:00:00 stap
24155 pts/4    00:00:00 staprun

"kill -9 <staprun_pid>" causes staprun and stap to exit and the module to be
removed.

I'm running the 2.6.23-mm1 kernel on x86_64.

-- 
           Summary: Scripts won't exit
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mmlnx at us dot ibm dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5182

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug runtime/5182] Scripts won't exit
  2007-10-15 18:58 [Bug runtime/5182] New: Scripts won't exit mmlnx at us dot ibm dot com
@ 2007-10-15 19:41 ` hunt at redhat dot com
  2007-10-15 20:10 ` mmlnx at us dot ibm dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hunt at redhat dot com @ 2007-10-15 19:41 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From hunt at redhat dot com  2007-10-15 19:41 -------
Does this always happen?

Was there something unusual about the scripts you were running?

I tested on x86_64 but not on the mm1 kernel you are using. It seems unlikely the 
problem would be kernel related.  I'll widen my testing.  Hanging on the  module
removal indicates some resource is still in use.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5182

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug runtime/5182] Scripts won't exit
  2007-10-15 18:58 [Bug runtime/5182] New: Scripts won't exit mmlnx at us dot ibm dot com
  2007-10-15 19:41 ` [Bug runtime/5182] " hunt at redhat dot com
@ 2007-10-15 20:10 ` mmlnx at us dot ibm dot com
  2007-10-17 23:26 ` mmlnx at us dot ibm dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mmlnx at us dot ibm dot com @ 2007-10-15 20:10 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mmlnx at us dot ibm dot com  2007-10-15 20:09 -------
I tried several scripts in the examples directory and all hang on exit.

I didn't think this would be kernel version related either, but I just tried
2.6.22.1-41.fc7 and 2.6.23-rc8-mm2 and both work fine.  No hangs.  I'm only
seeing the problem on 2.6.23-mm1.  I'm using this kernel because it has the
latest marker patches.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5182

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug runtime/5182] Scripts won't exit
  2007-10-15 18:58 [Bug runtime/5182] New: Scripts won't exit mmlnx at us dot ibm dot com
  2007-10-15 19:41 ` [Bug runtime/5182] " hunt at redhat dot com
  2007-10-15 20:10 ` mmlnx at us dot ibm dot com
@ 2007-10-17 23:26 ` mmlnx at us dot ibm dot com
  2007-10-18 12:50 ` [Bug runtime/5182] Scripts won't exit on 2.6.23-mm1 hunt at redhat dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mmlnx at us dot ibm dot com @ 2007-10-17 23:26 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mmlnx at us dot ibm dot com  2007-10-17 23:26 -------
FYI... I just tried 2.6.23-mm1 on i386 and scripts hang there too.



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5182

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug runtime/5182] Scripts won't exit on 2.6.23-mm1
  2007-10-15 18:58 [Bug runtime/5182] New: Scripts won't exit mmlnx at us dot ibm dot com
                   ` (2 preceding siblings ...)
  2007-10-17 23:26 ` mmlnx at us dot ibm dot com
@ 2007-10-18 12:50 ` hunt at redhat dot com
  2007-10-20 15:31 ` mmlnx at us dot ibm dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hunt at redhat dot com @ 2007-10-18 12:50 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From hunt at redhat dot com  2007-10-18 12:50 -------
There seems to be no shortage of complaints about the bugs in that kernel.  In
particular threads seem messed up. 

http://lkml.org/lkml/2007/10/13/175

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Scripts won't exit          |Scripts won't exit on
                   |                            |2.6.23-mm1


http://sourceware.org/bugzilla/show_bug.cgi?id=5182

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug runtime/5182] Scripts won't exit on 2.6.23-mm1
  2007-10-15 18:58 [Bug runtime/5182] New: Scripts won't exit mmlnx at us dot ibm dot com
                   ` (3 preceding siblings ...)
  2007-10-18 12:50 ` [Bug runtime/5182] Scripts won't exit on 2.6.23-mm1 hunt at redhat dot com
@ 2007-10-20 15:31 ` mmlnx at us dot ibm dot com
  2007-10-20 15:39 ` fche at redhat dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mmlnx at us dot ibm dot com @ 2007-10-20 15:31 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mmlnx at us dot ibm dot com  2007-10-20 15:30 -------
(In reply to comment #4)
> There seems to be no shortage of complaints about the bugs in that kernel.  In
> particular threads seem messed up. 
> 
> http://lkml.org/lkml/2007/10/13/175

Should we close this for now?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5182

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug runtime/5182] Scripts won't exit on 2.6.23-mm1
  2007-10-15 18:58 [Bug runtime/5182] New: Scripts won't exit mmlnx at us dot ibm dot com
                   ` (4 preceding siblings ...)
  2007-10-20 15:31 ` mmlnx at us dot ibm dot com
@ 2007-10-20 15:39 ` fche at redhat dot com
  2007-10-20 16:28 ` mmlnx at us dot ibm dot com
  2007-10-23 18:00 ` fche at redhat dot com
  7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2007-10-20 15:39 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2007-10-20 15:39 -------
You might try the current linus git tree instead.
As of yesterday, it has markers.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5182

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug runtime/5182] Scripts won't exit on 2.6.23-mm1
  2007-10-15 18:58 [Bug runtime/5182] New: Scripts won't exit mmlnx at us dot ibm dot com
                   ` (5 preceding siblings ...)
  2007-10-20 15:39 ` fche at redhat dot com
@ 2007-10-20 16:28 ` mmlnx at us dot ibm dot com
  2007-10-23 18:00 ` fche at redhat dot com
  7 siblings, 0 replies; 9+ messages in thread
From: mmlnx at us dot ibm dot com @ 2007-10-20 16:28 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mmlnx at us dot ibm dot com  2007-10-20 16:28 -------
Funny you should mention that.  I just tried linus' git tree with markers and
they work fine, although I had to add 'source "kernel/Kconfig.instrumentation"'
to the x86_64 Kconfig file.  Probably an x86/x86_64 merge issue, since all other
archs besides i386 and x86_64 do source that file.

I'm also not seeing the "hang on script exit" problem on linus' git tree.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5182

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug runtime/5182] Scripts won't exit on 2.6.23-mm1
  2007-10-15 18:58 [Bug runtime/5182] New: Scripts won't exit mmlnx at us dot ibm dot com
                   ` (6 preceding siblings ...)
  2007-10-20 16:28 ` mmlnx at us dot ibm dot com
@ 2007-10-23 18:00 ` fche at redhat dot com
  7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2007-10-23 18:00 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2007-10-23 18:00 -------
Let's disregard illness in this -mm tree.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


http://sourceware.org/bugzilla/show_bug.cgi?id=5182

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-10-23 18:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-15 18:58 [Bug runtime/5182] New: Scripts won't exit mmlnx at us dot ibm dot com
2007-10-15 19:41 ` [Bug runtime/5182] " hunt at redhat dot com
2007-10-15 20:10 ` mmlnx at us dot ibm dot com
2007-10-17 23:26 ` mmlnx at us dot ibm dot com
2007-10-18 12:50 ` [Bug runtime/5182] Scripts won't exit on 2.6.23-mm1 hunt at redhat dot com
2007-10-20 15:31 ` mmlnx at us dot ibm dot com
2007-10-20 15:39 ` fche at redhat dot com
2007-10-20 16:28 ` mmlnx at us dot ibm dot com
2007-10-23 18:00 ` fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).