pthread_cond_wait: Invalid argument error while attaching a process in Pycharm
Answered
I have my web py application running.
When I try to attach that process in Pycharm, the application goes down and all I see in the application log is lots and lots of this message
pthread_cond_wait: Invalid argument
pthread_cond_wait: Invalid argument
pthread_cond_wait: Invalid argument
The debugging thing had been working for quite a few weeks until 2 days back. Recently I upgraded pymongo to 3.6 in my application and after that I saw this (I am not even sure if this is related). But I revered pymongo back to my old version 2.8.1. But still the same issue persists
Any help to resolve this is appreciated.
Please sign in to leave a comment.
Hi! Could you please provide a code sample for reproducing the problem?
I was able to reproduce this by opening an ipython interpreter in terminal, and attempting to attach the PyCharm debugger to that process.
@Atvaccaro
Thanks! I was able to reproduce it. Here is an issue about it https://youtrack.jetbrains.com/issue/PY-35736