Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

@AlexGustafsson AlexGustafsson commented Jan 30, 2020

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/python@3.8/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/python@3.8/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/python@3.8/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/python@3.8/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/python@3.8/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/python@3.8/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/python@3.8/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 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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.