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

Threads from _log_start_if_long might not be reaped #61

Open
inducer opened this issue Jan 15, 2021 · 1 comment
Open

Threads from _log_start_if_long might not be reaped #61

inducer opened this issue Jan 15, 2021 · 1 comment

Comments

@inducer
Copy link
Owner

inducer commented Jan 15, 2021

@benSepanski showed me a long with zillions of them live at one point.

Here's what that log looked like:

Thread 0x00007f6535c23700 (most recent call first):
  File "/home/bensepan/firedrake/lib/python3.9/site-packages/pytools/__init__.py", line 2424 in _log_start_if_long
  File "/usr/lib/python3.9/threading.py", line 892 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f6331ffb700 (most recent call first):
  File "/home/bensepan/firedrake/lib/python3.9/site-packages/pytools/__init__.py", line 2424 in _log_start_if_long
  File "/usr/lib/python3.9/threading.py", line 892 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f63327fc700 (most recent call first):
  File "/home/bensepan/firedrake/lib/python3.9/site-packages/pytools/__init__.py", line 2424 in _log_start_if_long
  File "/usr/lib/python3.9/threading.py", line 892 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f6332ffd700 (most recent call first):
  File "/home/bensepan/firedrake/lib/python3.9/site-packages/pytools/__init__.py", line 2424 in _log_start_if_long
  File "/usr/lib/python3.9/threading.py", line 892 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f63337fe700 (most recent call first):
  File "/home/bensepan/firedrake/lib/python3.9/site-packages/pytools/__init__.py", line 2424 in _log_start_if_long
  File "/usr/lib/python3.9/threading.py", line 892 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f6537426700 (most recent call first):
  File "/home/bensepan/firedrake/lib/python3.9/site-packages/pytools/__init__.py", line 2424 in _log_start_if_long
  File "/usr/lib/python3.9/threading.py", line 892 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

(on a presumably unrelated crash in PETSc/Cython)

@benSepanski
Copy link

I've now figured out the bug, it was just a few python errors (type mismatch, forgetting to put self. in front of an attribute) inside of a firedrake matrix-free PETSc matrix

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

No branches or pull requests

2 participants