You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I create a new project in PyCharm, create a fresh venv with Python 3.12.0 and install tqdm.
When I now run the Script in Debug mode in PyCharm, then (most of the time) the underlying Python process will crash with EXC_BAD_ACCESS and a similar looking crash log (usually the address at KERN_INVALID_ACCESS varies).
If I reduce the number of items in the list requests_to_make (<30 entries), pydevd usually won't crash.
Crashes seem to start occurring between 30-40 entries, going higher makes the crash more reliable.
When I switch to a venv with Python 3.11.6, this issue does not occur and pydevd works correctly even with a large amount of items in requests_to_make.
The text was updated successfully, but these errors were encountered:
Nirusu
changed the title
Extensive multiprocessing causes pydevd to crash Python on Python 3.12
Extensive multiprocessing causes pydevd to crash Python 3.12 (but not 3.11)
Dec 12, 2023
Issue
My current setup is:
brew install [email protected]
Using the following reproducing script:
I create a new project in PyCharm, create a fresh venv with Python 3.12.0 and install
tqdm
.When I now run the Script in Debug mode in PyCharm, then (most of the time) the underlying Python process will crash with
EXC_BAD_ACCESS
and a similar looking crash log (usually the address atKERN_INVALID_ACCESS
varies).If I reduce the number of items in the list
requests_to_make
(<30 entries), pydevd usually won't crash.Crashes seem to start occurring between 30-40 entries, going higher makes the crash more reliable.
When I switch to a venv with Python 3.11.6, this issue does not occur and pydevd works correctly even with a large amount of items in
requests_to_make
.Crash log (truncated, full log attached)
crash_log.txt
The text was updated successfully, but these errors were encountered: