fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
sscox has joined #systemtap
_whitelogger has joined #systemtap
slowfranklin has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
slowfranklin has joined #systemtap
khaled has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
_whitelogger has joined #systemtap
slowfranklin has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
slowfranklin has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
slowfranklin has joined #systemtap
slowfranklin has quit [Client Quit]
hello has joined #systemtap
<khaled> Hi folks, I have a userspace application with debugging symbols installed from a different package as the binary, I can probe all the functions .call but when I probe the .return it receives a segfault and crashes. any clues where I should start digging knowing that .call and .return works perfectly with simple applications I compile with "-g"
sscox has quit [Ping timeout: 246 seconds]
<hello> Brendan Gregg uses this channel?
<fche> khaled, there were some uretprobes kernel bugs affecting kernels a few months old
<fche> hello, haven't seen him here latel
<hello> he said 24x7 in IRC,2333
<khaled> fche, so nothing I can do as a workaround?
<fche> khaled, depends if that is the cause, what's your uname -r ?
<khaled> 4.14, sorry can't get the exact output as I am not on the machine now
<khaled> The LTS
<fche> would you be able to try a different - newer one - just as a test ?
<khaled> unfortunately, I can't the app depends on alot of propertiary shared libraries.
<fche> are those tied to a kernel version?
<khaled> but onthe same machine uretprobes are fine with a hello world C++ app
<fche> hmmm is this userspace application golang ?
<khaled> C++
<khaled> C++11
<fche> how exception-intensive is it?
<fche> we have had some reports that kernel uretprobes interfere even with c++ exception handling
<khaled> It has exceptions yeah, but not intensively
<khaled> Can you point me to a doc link or bug# where I can find more info ?
<fche> https://sourceware.org/bugzilla/show_bug.cgi?id=12275 is one that tracks a similar issue from a decade (!) ago
<fche> I -think- some kernel side improvements have been made since then
<fche> but anyway, if uretprobes are still guilty in this particular context, the solution around them could involve moving to .statement probes (at the call site or at the return area)
<fche> we have some work underway in gcc land to help us automate the latter
<khaled> Well, Thanks for the advice, I'll try this tomorrow and let you know :-) but I am sure but 12275 is not relevant as some of the functions I tried to probe has no exceptions at all
<fche> could be -- might affect if the exception is thrown several levels -beneath- the probed function too, and returning through it
<khaled> OK, then as a test I will create an orphan function and try to probe it.
<hello> irc.freenode.net
hello has quit [Ping timeout: 250 seconds]
gromero has quit [Ping timeout: 252 seconds]
irker642 has joined #systemtap
<irker642> systemtap: fche systemtap.git:refs/heads/master * release-4.0-103-gd81a001 / elaborate.cxx staptree.cxx staptree.h translate.cxx: pass-2 optimization: embedded-c code pragma searching http://tinyurl.com/y64kdrk7
hello has joined #systemtap
hello has quit [Ping timeout: 245 seconds]
khaled has quit [Quit: Konversation terminated!]
sscox has joined #systemtap
time_ has joined #systemtap
time_ is now known as hello
hello has quit [Ping timeout: 272 seconds]
hello has joined #systemtap
hello has quit [Ping timeout: 250 seconds]
irker642 has quit [Quit: transmission timeout]
hello has joined #systemtap
time_ has joined #systemtap
hello has quit [Remote host closed the connection]
time_ is now known as hello
hello has quit [Ping timeout: 245 seconds]