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

Flaky pytest SEGV in pytorch-pfn-extras.torch113-linux #682

Open
take-cheeze opened this issue May 9, 2023 · 4 comments
Open

Flaky pytest SEGV in pytorch-pfn-extras.torch113-linux #682

take-cheeze opened this issue May 9, 2023 · 4 comments
Assignees

Comments

@take-cheeze
Copy link
Contributor

https://ci.preferred.jp/pytorch-pfn-extras.torch113-linux/129761/263923#L737

/src/.flexci/linux/unittest.sh: line 16: 247 Segmentation fault (core dumped) JUPYTER_PLATFORM_DIRS=1 python -m pytest --cov-report=html --cov pytorch_pfn_extras .

Only happening in cuda so some handle seems to be left in global variables

@take-cheeze
Copy link
Contributor Author

#0  0x0000000000000050 in ?? ()
#1  0x00007f3799e9ef66 in libkineto::Config::Config() () from /opt/pyenv/versions/3.10.5/lib/python3.10/site-packages/torch/lib/libtorch_cpu.so
#2  0x00007f3799ea3aa5 in libkineto::ConfigLoader::updateConfigThread() () from /opt/pyenv/versions/3.10.5/lib/python3.10/site-packages/torch/lib/libtorch_cpu.so
#3  0x00007f381ca996df in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007f3822d776db in start_thread (arg=0x7f36b97fe700) at pthread_create.c:463
#5  0x00007f38230b061f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

@take-cheeze
Copy link
Contributor Author

Rel? pytorch/pytorch#58440

@take-cheeze
Copy link
Contributor Author

gdb --args $(pyenv which python) -m pytest --cov-report=html --cov pytorch_pfn_extras .

@take-cheeze
Copy link
Contributor Author

https://ci.preferred.jp/pytorch-pfn-extras.torch113-linux/130947/266429#L785

terminate called after throwing an instance of 'std::bad_function_call'

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

1 participant