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

Does not seem to work on Python 3.8 #34

Open
AlexGustafsson opened this issue Jan 30, 2020 · 1 comment
Open

Does not seem to work on Python 3.8 #34

AlexGustafsson opened this issue Jan 30, 2020 · 1 comment

Comments

@AlexGustafsson
Copy link

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.

@jvoisin
Copy link
Contributor

jvoisin commented Jun 10, 2020

I can't reproduce this locally with Python3.8

Can you give it an other on the current master?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants