Skip to content

Running docker image on examples fails with Exception #59

Description

@nono313

I followed the quickstart secion of the readme to build the docker image and try to run it on the example binaries.

Building the image worked without issue but when I try to run on the examples, I get the following python Exception:

 ./run_docker.sh examples fuzzware pipeline --skip-afl-cpufreq pw-recovery/ARCH_PRO
[+] Mapping local dir 'examples' into container
[+] Executing command: ' fuzzware pipeline --skip-afl-cpufreq pw-recovery/ARCH_PRO'
[+] Running with -it
[06-11 09:13:20 INFO] __init__.py - Executing pipeline at 2026-06-11 09:13:20.999497
[06-11 09:13:20 INFO] __init__.py - Got projdir: /home/user/fuzzware/targets/pw-recovery/ARCH_PRO
[06-11 09:13:20 INFO] __init__.py - Could not find 'base_inputs' directory in target base dir, defaulting to generic initial inputs
[06-11 09:13:20 INFO] __init__.py - Performing initial tests
[06-11 09:13:21 INFO] __init__.py - Initial tests successful
[06-11 09:13:21 WARNING] pipeline.py - Found an existing project directory under /home/user/fuzzware/targets/pw-recovery/ARCH_PRO/fuzzware-project. Moving it now
[06-11 09:13:21 WARNING] pipeline.py - Removing old backed up project: /home/user/fuzzware/targets/pw-recovery/ARCH_PRO/fuzzware-project_old
[06-11 09:13:21 INFO] pipeline.py - logging pipeline output to: /home/user/fuzzware/targets/pw-recovery/ARCH_PRO/fuzzware-project/logs/pipeline.log
[06-11 09:13:21 INFO] pipeline.py - Dry-running emulator to check functionality..

[06-11 09:13:21 INFO] run_target.py - Running target with
config path: /home/user/fuzzware/targets/pw-recovery/ARCH_PRO/config.yml
input path: /home/user/fuzzware/targets/pw-recovery/ARCH_PRO/fuzzware-project/.empty_input
Extra args: ['-v']

add_mmio_region called! hooking 0x40000000 - 0x60000000
[FORKSERVER SETUP] It looks like we are not running under AFL, going for single input
[DISCOVERY FORK PARENT] Got number of ticks to step: 694
Ran into instruction limit of 692 at 0x000011ca - exiting
[+] Initial constant execution (including optional prefix input) done, starting input execution.
Running without a fork server

>>> Ran out of fuzz

Exited without crash at 0x00001210 - If no other reason, we ran into one of the limits
[06-11 09:13:21 INFO] pipeline.py - Emulator dry-run successful!
[06-11 09:13:21 INFO] pipeline.py - Adding pipeline level observers
[06-11 09:13:21 INFO] pipeline.py - Initializing worker pool
[06-11 09:13:21 INFO] pool.py - [WorkerPool] Starting redis server
[06-11 09:13:21 WARNING] pool.py - Redis ping returned: True
[06-11 09:13:21 INFO] pool.py - Redis server successfully started on port 32267
[06-11 09:13:21 WARNING] pool.py - Redis ping returned: True
[06-11 09:13:21 INFO] pool.py - [WorkerPool] Spawning additional modeling worker
[06-11 09:13:21 INFO] pool.py - [WorkerPool] enabling logging for modeling worker!
[06-11 09:13:21 INFO] pool.py - [WorkerPool] Spawning additional gen worker
[06-11 09:13:21 INFO] pool.py - [WorkerPool] enabling logging for gen worker!
Traceback (most recent call last):
  File "/usr/local/bin/fuzzware", line 33, in <module>
    sys.exit(load_entry_point('fuzzware-pipeline', 'console_scripts', 'fuzzware')())
  File "/home/user/fuzzware/pipeline/fuzzware_pipeline/__init__.py", line 1070, in main
    args.func(args, leftover)
  File "/home/user/fuzzware/pipeline/fuzzware_pipeline/__init__.py", line 273, in do_pipeline
    pipeline = Pipeline(args.target_dir, args.project_name, args.base_inputs, args.num_local_fuzzer_instances, args.disable_modeling, write_worker_logs=not args.silent_workers, do_full_tracing=args.full_traces, config_name=args.runtime_config_name, timeout_seconds=timeout_seconds, use_aflpp=args.aflpp)
  File "/home/user/fuzzware/pipeline/fuzzware_pipeline/pipeline.py", line 265, in __init__
    self.worker_pool = WorkerPool(self, write_logs=write_worker_logs)
  File "/home/user/fuzzware/pipeline/fuzzware_pipeline/workers/pool.py", line 77, in __init__
    self.check_running_procs()
  File "/home/user/fuzzware/pipeline/fuzzware_pipeline/workers/pool.py", line 84, in check_running_procs
    raise Exception("'{}' worker spawned by WorkerPool is not running anymore".format(queue_name))
Exception: 'modeling' worker spawned by WorkerPool is not running anymore

I am on main branch (6160df4).

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