* [Bug tapsets/14296] New: The blk.stp example fails occasionally
@ 2012-06-25 20:05 dsmith at redhat dot com
2012-06-26 18:10 ` [Bug tapsets/14296] " dsmith at redhat dot com
2012-06-27 18:35 ` dsmith at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: dsmith at redhat dot com @ 2012-06-25 20:05 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=14296
Bug #: 14296
Summary: The blk.stp example fails occasionally
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
AssignedTo: systemtap@sourceware.org
ReportedBy: dsmith@redhat.com
Classification: Unclassified
Occasionally the blk.stp example gets an error. Here the output found in the
logfile:
====
attempting command stap bkl.stp -c "sleep 0.2" 1
OUT ERROR: kernel string copy fault at 0x0000000000000318 near identifier
'kernel_string' at /usr/local/share/systemtap/tapset/conversions.stp:18:10
stap ready
====
That error comes from tapset task_execname() function, which looks like this:
function task_execname:string (task:long)
{
return kernel_string(@cast(task, "task_struct",
"kernel<linux/sched.h>")->c\
omm)
}
What happens here is that if 'task' is NULL, we try to read the comm string
from address 0x318, which is the offset of the comm field in the task_struct.
Either blk.stp needs to quit passing NULL to task_execname() or task_execname()
needs to handle a passed in NULL.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tapsets/14296] The blk.stp example fails occasionally
2012-06-25 20:05 [Bug tapsets/14296] New: The blk.stp example fails occasionally dsmith at redhat dot com
@ 2012-06-26 18:10 ` dsmith at redhat dot com
2012-06-27 18:35 ` dsmith at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: dsmith at redhat dot com @ 2012-06-26 18:10 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=14296
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from David Smith <dsmith at redhat dot com> 2012-06-26 18:10:14 UTC ---
Fixed in commit e482d89 by adding more error checking to bkl.stp.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tapsets/14296] The blk.stp example fails occasionally
2012-06-25 20:05 [Bug tapsets/14296] New: The blk.stp example fails occasionally dsmith at redhat dot com
2012-06-26 18:10 ` [Bug tapsets/14296] " dsmith at redhat dot com
@ 2012-06-27 18:35 ` dsmith at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: dsmith at redhat dot com @ 2012-06-27 18:35 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=14296
--- Comment #2 from David Smith <dsmith at redhat dot com> 2012-06-27 18:34:55 UTC ---
Josh added further refinements in commit 653cdbf.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-27 18:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-25 20:05 [Bug tapsets/14296] New: The blk.stp example fails occasionally dsmith at redhat dot com
2012-06-26 18:10 ` [Bug tapsets/14296] " dsmith at redhat dot com
2012-06-27 18:35 ` dsmith 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).