* [Bug runtime/15024] New: task_finder_vma should not need "stap -d PROGRAM" just to poke at shlib globals with _stp_umodule_relocate()
@ 2013-01-17 12:41 fche at redhat dot com
0 siblings, 0 replies; only message in thread
From: fche at redhat dot com @ 2013-01-17 12:41 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=15024
Bug #: 15024
Summary: task_finder_vma should not need "stap -d PROGRAM" just
to poke at shlib globals with _stp_umodule_relocate()
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap@sourceware.org
ReportedBy: fche@redhat.com
Classification: Unclassified
Within the new threadstacks.stp sample script, a shlib global variable is
accessed from a shlib probe. However, the task-finder does not appear to make
the shlib data available for _stp_umodule_relocate *unless* the stap script was
invoked with -d A.OUT, referring to the main program (that links in the shlib).
This should not be necessary.
% gcc -g -pthread .../pthread_stacks.c
% sudo stap -g .../threadstacks.stp -Gsize=65536 -c './a.out 10 0'
stacksize=2101248
ERROR: kernel read fault at 0x(null) (addr) near identifier
'$__default_stacksize' at .../threadstacks.stp:18:16
WARNING: Number of errors: 1, skipped probes: 0
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run failed. Try again with another '--vp 00001' option.
% sudo stap -g .../threadstacks.stp -Gsize=65536 -c './a.out 10 0' -d a.out
stacksize=69632
a.out[31621] overwrote __default_stacksize@0x3fab61c350 (2097152->65536)
--
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] only message in thread
only message in thread, other threads:[~2013-01-17 12:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-17 12:41 [Bug runtime/15024] New: task_finder_vma should not need "stap -d PROGRAM" just to poke at shlib globals with _stp_umodule_relocate() 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).