strace

A lot of SIGSEGV while strace'ing java process

Interesting stuff occurred while I debug one of the unit tests on CI server (maven build actually). I connect to java process with strace -ff -e trace=network -p [pid] to trace network activity of build process. And that's what I saw: Process 26324 attached Process 26325 attached (waiting for parent) Process 26325 resumed (parent 26312 ...

Systrace for Windows

I'm looking for a Windows equivalent of Systrace or at least strace. I'm aware of StraceNT, but wondering if there are any more alternatives out there. Specifically, I'm looking for a specific way to programmatically enforce system call policies, though this can be after the fact rather than actively stopping them. Is there a good way ...

How to get a process tree trace/log of a process in linux?

Hello, I want to know what executables a script launches and in what order (and trace those executables recursively). For example, let's say I have a bash script here (called abc.sh): #!/bin/bash ls gcc I'd like to run this script with a "trace/log command" and get something like this: abc.sh -- ls |-- gcc -- cpp ...

How to track child process using strace?

I used strace to attach to a process briefly. The process created 90 threads. When I found the offending thread, I had to tediously search for the parent thread, then the grandparent thread, and so on all the way to the root process. Is there a trick or tool to quickly figure out which thread created another? Or better yet, print the tre...