fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
orivej has quit [Ping timeout: 248 seconds]
gromero has joined #systemtap
hpt has joined #systemtap
irker664 has joined #systemtap
<irker664> systemtap: fche systemtap.git:refs/heads/master * release-3.2-233-ga065854 / NEWS: collect delinquent NEWS entries http://tinyurl.com/ybxtjarj
<irker664> systemtap: fche systemtap.git:refs/heads/master * release-3.2-234-g831a499 / session.cxx: PRERELEASE nudge further, testing on 4.18-rc http://tinyurl.com/y9ejlhle
<irker664> systemtap: fche systemtap.git:refs/heads/master * release-3.2-235-gc8a0d31 / testsuite/lib/systemtap.exp: testsuite: switch smoketest target http://tinyurl.com/y7wj6874
aryehw has quit [Ping timeout: 265 seconds]
sanoj has joined #systemtap
hpt has quit [Ping timeout: 240 seconds]
hpt has joined #systemtap
hpt has quit [Ping timeout: 276 seconds]
irker664 has quit [Quit: transmission timeout]
orivej has joined #systemtap
gromero has quit [Ping timeout: 260 seconds]
hpt has joined #systemtap
orivej has quit [Ping timeout: 240 seconds]
hpt_ has joined #systemtap
hpt has quit [Ping timeout: 260 seconds]
hpt_ has quit [Remote host closed the connection]
pwithnall has joined #systemtap
mjw has joined #systemtap
orivej has joined #systemtap
sanoj has quit [Ping timeout: 240 seconds]
wcohen has quit [Ping timeout: 240 seconds]
gromero has joined #systemtap
brolley has joined #systemtap
wcohen has joined #systemtap
gromero has quit [Ping timeout: 256 seconds]
gromero has joined #systemtap
gromero has quit [Ping timeout: 276 seconds]
gromero has joined #systemtap
scox has quit [Ping timeout: 268 seconds]
scox has joined #systemtap
tromey has joined #systemtap
irker280 has joined #systemtap
<irker280> systemtap: fche systemtap.git:refs/heads/master * release-3.2-236-g5d7f2a8 / main.cxx: main.cxx: tweak --example error message http://tinyurl.com/yacml2c4
extra_ has joined #systemtap
<extra_> is anyone around that'd be up for chatting about https://sourceware.org/bugzilla/show_bug.cgi?id=23260 ?
orivej has quit [Ping timeout: 276 seconds]
pwithnall has quit [Ping timeout: 256 seconds]
<fche> hi extra_
<extra_> Hey fche, I was trying to follow-up on your response in the ticket but had some questions
<extra_> regarding multiple threads, in the case of the first issue the breakpoint is at the program entrypoint, so it hasn't had time to spawn any additional threads or anything. For case two, this could be a concern, although I was reading that by default gdb stops all threads when one hits a breakpoint
<extra_> I tried running stap2perf with the strace.stp script but wasn't successful in having it add any recognized trace points... Also, running stap with -DALABI didn't seem to produce any additional output or prevent the seg fault in the first issue described
<extra_> what is the -DALIBI flag supposed to do?
<fche> stap -DALIBI turns off the body of the probes within systemtap
<fche> so even if they could somehow break the system, they will be compiled out
<fche> but really that is too far fetched a thing to explain what you're seeing
<irker280> systemtap: amerey systemtap.git:refs/heads/stap-exporter * release-3.2-237-gfb0a6fa / stap-exporter/USAGE stap-exporter/example1.stp stap-exporter/exporter.py: stap-exporter: initial commit http://tinyurl.com/y7ltgv92
tromey has quit [Read error: Connection reset by peer]
tromey has joined #systemtap
<extra_> I wonder if SystemTap starting generates a signal to either gdb or the child process that causes it to modify program state in such a way that it causes errors with the Go runtime
<fche> it should not
<fche> when stap starts a child process via stap -c CMD then there is a brief ptrace-y synchronization at the startup, but that's brief and happens before the golang runtime gets a chance to start
<fche> with stap -x CMD, there's nothing
<extra_> I wonder why the SystemTap output shows activity associated with the traced process, then... Looking at that process with ps, before SystemTap runs it's in the 't' state, which the man page says means "stopped by debugger during the tracing"
<fche> yeah, that doesn't make sense - I'm guessing gdb didn't actually stop the target program
<fche> or not all of it
<extra_> without ever running SystemTap you can set the breakpoint on the entry point and continue without any problem... Also, at that point the program itself shouldn't have been able to execute any of it's instructions, so it hasn't had a chance to spawn new threads, install new signal handlers, etc.
<extra_> you'd think that if it was just an issue with gdb not stopping the full program then it would always have trouble
<extra_> thinking about ways to see whether gdb does receive a signal, I tried using strace against gdb, but it looks like you can't ptrace-attach to a process that is ptrace-attached to another process
<extra_> I could try using the strace.stp script against the gdb process to catch this output... Is it possible to run two instances of the same SystemTap script at the same time, specifying different pids for the -x value?
orivej has joined #systemtap
<fche> sure is
<fche> (and by the way we are working on a version of strace that can share a single target process with gdb)
<fche> (real strace, not systemtap strace)
<extra_> oh nice, that would be incredibly useful
<fche> yeah, will work through a smarter gdbserver process that can multiplex strace (or multiple strace ... remote even) and gdbs
<fche> scox has been working on that for some time
<extra_> is there a blog or something I can follow so that i know when that gets released?
<fche> hm good question ... we'll mention it on systemtap@sourceware.org even though it's not directly connected
<fche> it should also show up on the gdb & strace releases before too long
<extra_> ok awesome, thank you
gila has quit [Ping timeout: 264 seconds]
gila has joined #systemtap
<extra_> it looks like when the strace.stp SystemTap script starts, gdb gets two SIGCHILD signals from the process being debugged (no signals appear to be sent to the process being debugged)
<extra_> Also, strace.stp on the gdb process shows this in terms of system call activity:
<extra_> Fri Jun 8 19:22:23 2018.502985 rt_sigreturn() = -4 (EINTR)
<extra_> Fri Jun 8 19:22:23 2018.502995 rt_sigreturn() = -4 (EINTR)
<extra_> Fri Jun 8 19:22:23 2018.503581 read(5, 0x7fff65f9e207, 1) = -11 (EAGAIN)
<extra_> Fri Jun 8 19:22:23 2018.503781 poll(0x56433c570cb0, 4, 0) = 0
<extra_> Fri Jun 8 19:22:23 2018.503793 poll(0x56433c570cb0, 4, -1) = 1
<extra_> the man page for rt_sigreturn says that it never returns, so that output seems strange
<irker280> systemtap: fche systemtap.git:refs/heads/master * release-3.2-237-gc476ec6 / testsuite/systemtap.examples/index.html testsuite/systemtap.examples/index.txt testsuite/systemtap.examples/keyword-index.html testsuite/systemtap.examples/keyword-index.txt testsuite/systemtap.examples/metadatabase.db: rebuild example indexes http://tinyurl.com/ybgntesq
wcohen has quit [Ping timeout: 260 seconds]
tromey has quit [Quit: ERC (IRC client for Emacs 26.1.50)]
wcohen has joined #systemtap
mjw has quit [Quit: Leaving]
gila has quit [Ping timeout: 240 seconds]
gila has joined #systemtap
brolley has left #systemtap [#systemtap]
extra_ has quit [Quit: Page closed]
<irker280> systemtap: fche systemtap.git:refs/heads/master * release-3.2-238-g48867d1 / po/cs.gmo po/cs.po po/en.gmo po/en.po po/fr.gmo po/fr.po po/pl.gmo po/pl.po po/systemtap.pot: update-po bump http://tinyurl.com/y79zplap
<irker280> systemtap: fche systemtap.git:refs/tags/release-3.3 * release-3.3 / po/cs.gmo po/cs.po po/en.gmo po/en.po po/fr.gmo po/fr.po po/pl.gmo po/pl.po po/systemtap.pot: update-po bump http://tinyurl.com/kb48rak
gromero has quit [Ping timeout: 240 seconds]