This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug dyninst/15144] New: occasional (40%) stapdyn spin/hang during sdt.exp
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 13 Feb 2013 15:23:55 +0000
- Subject: [Bug dyninst/15144] New: occasional (40%) stapdyn spin/hang during sdt.exp
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15144
Bug #: 15144
Summary: occasional (40%) stapdyn spin/hang during sdt.exp
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: dyninst
AssignedTo: systemtap@sourceware.org
ReportedBy: fche@redhat.com
Classification: Unclassified
With git systemtap, rawhide 3.8.0-rc7 kernel, dyninst 8.0,
# make installcheck RUNTESTFLAGS=sdt.exp
About half the time, we get a stapdyn hang/loop in the test:
executing: stap --runtime=dyninst -w
/home/fche/Private/DEVEL/DEVEL-systemtap/git/systemtap3/testsuite/systemtap.base/sdt.stp
sdt.c.exe.2 -c ./sdt.c.exe.2
... top shows one of the stapdyn threads spinning with 100% cpu
(gdb) bt
#0 0x00000031e18da4c7 in sched_yield () at
../sysdeps/unix/syscall-template.S:81
#1 0x00002aaaabc10ff5 in GeneratorLinux::evictFromWaitpid() () from
/usr/lib64/dyninst/libpcontrol.so.8.0
#2 0x00002aaaabc11079 in GeneratorLinux::~GeneratorLinux() () from
/usr/lib64/dyninst/libpcontrol.so.8.0
#3 0x00002aaaabc110a9 in GeneratorLinux::~GeneratorLinux() () from
/usr/lib64/dyninst/libpcontrol.so.8.0
#4 0x00000031e183944a in __cxa_finalize (d=0x2aaaabf04da0) at
cxa_finalize.c:55
#5 0x00002aaaabc0f513 in __do_global_dtors_aux () from
/usr/lib64/dyninst/libpcontrol.so.8.0
#6 0x00007fffeb5c2ab0 in ?? ()
#7 0x00000031e140f9da in _dl_fini () at dl-fini.c:253
Backtrace stopped: frame did not save the PC
(gdb) info thread
Id Target Id Frame
2 Thread 0x2aaaad232700 (LWP 2167) "stapdyn" (running)
* 1 Thread 0x2aaaacc20a00 (LWP 2165) "stapdyn" (running)
(gdb) quit
... detaching sometimes kills the errant stapdyn and lets the test resume.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.