public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug dyninst/15144] New: occasional (40%) stapdyn spin/hang during sdt.exp
@ 2013-02-13 15:24 fche at redhat dot com
  2013-02-13 17:53 ` [Bug dyninst/15144] " fche at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fche at redhat dot com @ 2013-02-13 15:24 UTC (permalink / raw)
  To: systemtap

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.

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

end of thread, other threads:[~2017-05-16 16:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-13 15:24 [Bug dyninst/15144] New: occasional (40%) stapdyn spin/hang during sdt.exp fche at redhat dot com
2013-02-13 17:53 ` [Bug dyninst/15144] " fche at redhat dot com
2013-02-14 18:38 ` fche at redhat dot com
2013-03-13 18:40 ` wcohen at redhat dot com
2015-05-22 22:55 ` jistone at redhat dot com
2017-05-16 16:00 ` scox 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).