You are not logged in.
Pages: 1
Hello, I have a Python script, which has got many threads. And sometimes it freezes, when it exhausts the thread limit. I'm not sure why, just I know it does only sometimes, which is weird. My colleague suggested to me using gdb package with py-br option, which he sometimes uses on Ubuntu. But there is no such an option on Arch Linux available. Is there any option to look into the threads and symbols when the script is freezed? Something like `gdm --pid` + `py-br` my Ubuntu colleague suggested?
PS: I don't want to recompile Python for this one little test.
PS 2: The same script on my colleague's Ubuntu (but using older Python 3.5) works without problems.
Last edited by aleskva (2018-03-03 04:49:51)
Offline
Hello, I have a Python script, which has got many threads. And sometimes it freezes, when it exhausts the thread limit. I'm not sure why, just I know it does only sometimes, which is weird. My colleague suggested to me using gdb package with py-br option, which he sometimes uses on Ubuntu. But there is no such an option on Arch Linux available. Is there any option to look into the threads and symbols when the script is freezed? Something like `gdm --pid` + `py-br` my Ubuntu colleague suggested?
PS: I don't want to recompile Python for this one little test.
PS 2: The same script on my colleague's Ubuntu (but using older Python 3.5) works without problems.
Please post the exact command that is used on Ubuntu to debug Python.
Please post the first 3 lines in your Python script (or post the whole script).
Offline
Pages: 1