sigdump
sigdump copied to clipboard
Use signal to show stacktrace of a Ruby process without restarting it
I see no activity, opened issues/PRs in years, 0 tests. Is this maintained? @edsiper
Update the gemspec metadata to reflect the current LICENSE. Previously the project was licensed under MIT but was changed in 8eb9daeb27cb713b9c398f733c6646c586d5df59 to Apache-2.0
I run exactly the same Ruby script on two machines. On one of them `kill -CONT pid` causes the generation of the log file, while on the other one it...
Currently, sigdump uses predictable path to write object dump. But, in some circumstances, this implementation makes a vulnerability for dangling symlink attack. And also, `Kernel.open` should use `0644` instead of...
Available since Ruby 2.3. Is a noop on earlier Rubies.
ObjectSpace.memsize_of(o) returns memory size information of the object o. This patch shows the total memsize with object counts for each classes. ``` All objects: 1: Thread (1,049,200) 11,318: String (572,424)...
Currently, the default dump file permission is 0666. But there will be no reason to let other users to read or modify dump files. An attacker could inject some malicious...
`ObjectSpace.each_object` loop takes very long time if there're large number of objects. It's not good idea to not show report for long time and keep consuming CPU. This change adds...
The sigdump often (about 50%?) does not show `all objects` section. The output of sigdump stops at `Built-in objects:` section as below: ``` /xxxxxx/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize' /xxxxxx/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in...