* [Bug dyninst/17858] New: helloworld doesn't with --runtime=dyninst
@ 2015-01-18 21:52 fche at redhat dot com
2015-01-19 18:01 ` [Bug dyninst/17858] " jistone at redhat dot com
2015-01-19 18:01 ` jistone at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: fche at redhat dot com @ 2015-01-18 21:52 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=17858
Bug ID: 17858
Summary: helloworld doesn't with --runtime=dyninst
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: dyninst
Assignee: systemtap at sourceware dot org
Reporter: fche at redhat dot com
% stap --runtime=dyninst .../helloworld.stp
... results in a lousy, no-good, layin'-about, do-nothing
kind of stapdyn invocation. No hello, no goodbye.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug dyninst/17858] helloworld doesn't with --runtime=dyninst
2015-01-18 21:52 [Bug dyninst/17858] New: helloworld doesn't with --runtime=dyninst fche at redhat dot com
2015-01-19 18:01 ` [Bug dyninst/17858] " jistone at redhat dot com
@ 2015-01-19 18:01 ` jistone at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: jistone at redhat dot com @ 2015-01-19 18:01 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=17858
Josh Stone <jistone at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jistone at redhat dot com
--- Comment #1 from Josh Stone <jistone at redhat dot com> ---
Clarified on IRC that fche has some -G options in his rc file. So this stalls:
$ stap --runtime=dyninst .../helloworld.stp -G FOO=y
stapdyn: WARNING: Incorrect module option 'FOO=y'
[hang]
That comes from mutator::init_modoptions():
int rc = global_setter(name.c_str(), value.c_str());
if (rc != 0)
{
stapwarn() << "Incorrect module option '" << modoption << "'" <<
endl;
return false; // XXX: perhaps ignore the option instead?
}
This should either warn and continue, or error and exit. For comparison, with
staprun you just get a warning in dmesg about ignoring the unknown module
option.
The "return false" actually does seem to indicate that it's trying to exit, but
this trickles up to mutator::run_module_init(), then to mutator::run(), where
it is ignored. :/
Then since the module's init never ran, we didn't get the begin probe at all,
so there's nothing else to cause the script to exit. Thus it waits
forever......
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug dyninst/17858] helloworld doesn't with --runtime=dyninst
2015-01-18 21:52 [Bug dyninst/17858] New: helloworld doesn't with --runtime=dyninst fche at redhat dot com
@ 2015-01-19 18:01 ` jistone at redhat dot com
2015-01-19 18:01 ` jistone at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: jistone at redhat dot com @ 2015-01-19 18:01 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=17858
Josh Stone <jistone at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|systemtap at sourceware dot org |jistone at redhat dot com
--
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:[~2015-01-19 18:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-18 21:52 [Bug dyninst/17858] New: helloworld doesn't with --runtime=dyninst fche at redhat dot com
2015-01-19 18:01 ` [Bug dyninst/17858] " jistone at redhat dot com
2015-01-19 18:01 ` jistone 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).