I have two problems:
The first is when the application is running I get many
*** Caught a segfault during stack trace sampling!
I caught them in gdb (there are two different errors): https://gist.github.com/874420
The second problem is when I stop the sampling (by code or by exiting, same result):
Here is my exact ruby version (compiled from sources with rvm):
ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-linux]
These crash only happen when I try to profile a complex ruby server for some time (using eventmachine as the traces show), if I just start the server and exit it perftools.rb works (but I only have a useless graph showing not much :p)
I'm also experiencing a segfault.
gist here: https://gist.github.com/942860
I get this too, even with the very simple add_numbers example. It doesn't happen every time.
I think we can safely close this ;)