Skip to content

arch_prepareParentAfterFork():204 Couldn't attach to p id=XXXX  #488

@marklandosek

Description

@marklandosek

Hi

I had build the latest honggfuzz for Android 13 with ndk 22b (the latest tested from documentation) and ndk 25c (the latest at the moment of writing) and in both cases I obtained the same issue:

------------------------[  0 days 00 hrs 00 mins 05 secs ]----------------------
  Iterations : 839
        Mode : Static
      Target : /bin/file ___FILE___
     Threads : 4, CPUs: 8, CPU%: 400% [50%/CPU]
       Speed : 302/sec [avg: 167]
     Crashes : 0 [unique: 0, blocklist: 0, verified: 0]
    Timeouts : 0 [1 sec]
 Corpus Size : 0, max: 502056 bytes, init: 6 files
  Cov Update : 0 days 00 hrs 00 mins 05 secs ago
    Coverage : [none]
---------------------------------- [ LOGS ] ------------------/ honggfuzz 2.5 /-

[2023-04-24T16:27:51+0200][W][3093] arch_archInit():304 Unknown libc implementation. Using clone() instead of fork()
Entering phase: Static
Launched new fuzzing thread, no. #0
Launched new fuzzing thread, no. #1
Launched new fuzzing thread, no. #2
Launched new fuzzing thread, no. #3
[2023-04-24T16:27:56+0200][W][3100] arch_traceWaitForPidStop():1023 PID 4048 not in a stop
ped state - status:6 (SIGNALED, signal: 6 (Aborted))
[2023-04-24T16:27:56+0200][W][3100] arch_attachToNewPid():177 arch_traceAttach(pid=4048) f
ailed
[2023-04-24T16:27:56+0200][F][3100] arch_prepareParentAfterFork():204 Couldn't attach to p
id=4048

The issue is reproducible via the following command:

# ./honggfuzz -i ./input/ -x -- /bin/file ___FILE___  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions