Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

Does not seem to work on Python 3.8Β #34

@AlexGustafsson

Description

@AlexGustafsson

Running the example given on the README gives me roughly the following output:

python3 example_application/fuzzing_tests/greeter_fuzzing.py 
#0 READ units: 0
Traceback (most recent call last):
  File "example_application/fuzzing_tests/greeter_fuzzing.py", line 18, in <module>
    fuzz()
  File "/Users/alexgustafsson/Documents/GitHub/anansi/example-application/venv/lib/python3.8/site-packages/pythonfuzz/main.py", line 28, in __call__
    f.start()
  File "/Users/alexgustafsson/Documents/GitHub/anansi/example-application/venv/lib/python3.8/site-packages/pythonfuzz/fuzzer.py", line 88, in start
    self._p.start()
  File "/usr/local/Cellar/[email protected]/3.8.1/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/usr/local/Cellar/[email protected]/3.8.1/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/context.py", line 224, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "/usr/local/Cellar/[email protected]/3.8.1/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/context.py", line 283, in _Popen
    return Popen(process_obj)
  File "/usr/local/Cellar/[email protected]/3.8.1/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/usr/local/Cellar/[email protected]/3.8.1/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/usr/local/Cellar/[email protected]/3.8.1/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 47, in _launch
    reduction.dump(process_obj, fp)
  File "/usr/local/Cellar/[email protected]/3.8.1/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
_pickle.PicklingError: Can't pickle <function fuzz at 0x106235940>: it's not the same object as __main__.fuzz

I'm using Python 3.8 on macOS.

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