rust-minidump / minidump-writer

Rust rewrite of breakpad's minidump_writer
MIT License
68 stars 17 forks source link

Readme incorrectly lists linux local dumping as if it were supported #102

Closed kkartaltepe closed 9 months ago

kkartaltepe commented 9 months ago

For some reason the readme lists a "local process" example as if it were supported. We can see its not by copying the example code into a rust program's main and executing.

The minidump will fail with failed to write minidump: DumperError(SuspendNoThreadsLeft(1)) and if we look at the dumping code we can see it depends on ptrace-ing. Since ptrace hasnt supported self attachment since 2005 its unlikely this particular dumping code ever worked, maybe there used to be a local dumper that was removed but without removing the readme component.

Jake-Shadle commented 9 months ago

b687584