-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I'm trying to run the example from the guide in the documentation, but I get the following error:
Attached to pid 9
E20250720 16:34:02.623654 11 OIDebugger.cpp:1604] syscall: GETREGS failed for process 9: Input/output error
E20250720 16:34:02.624195 11 OIDebugger.cpp:296] setUpSegment failed!!!
E20250720 16:34:02.624416 11 OID.cpp:397] Failed to initialise segments in target process with PID 9
I'm running in Docker with this Dockerfile:
FROM ubuntu:noble
RUN apt-get update && apt-get install -y build-essential curl clang nix-bin
RUN curl -LsSf https://github.com/facebookexperimental/object-introspection/archive/refs/heads/main.tar.gz | tar xz
RUN cd object-introspection-main/examples/web/AddrBook && make
RUN cd object-introspection-main && nix --extra-experimental-features "nix-command flakes" --option filter-syscalls false run . -- --help
Building like so:
cat Dockerfile | docker build --platform linux/amd64 --tag oi -
Running like so:
docker run -it --rm oi
cd object-introspection-main
examples/web/AddrBook/addrbook > /dev/null &
nix --extra-experimental-features "nix-command flakes" --option filter-syscalls false run . -- -S 'entry:_ZN11AddressBook12DumpContactsEv:this' -p `pgrep addrbook` -J
NB: I didn't include the -c build/oid-cfg.toml
argument as I built using nix
(I tried and failed to build without).
JakeHillion
Metadata
Metadata
Assignees
Labels
No labels