Segmentation Fault in torch._C._nn.thnn_conv2d
Due to Invalid Padding Argument
#121188
Labels
actionable
module: crash
Problem manifests as a hard crash, as opposed to a RuntimeError
module: empty tensor
module: error checking
Bugs related to incorrect/lacking error checking
module: nn
Related to torch.nn
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
🐛 Describe the bug
A segmentation fault occurs when invoking
torch._C._nn.thnn_conv2d
with an empty list for the padding argument, alongside other parameters that are potentially mismatched or improperly specified.Error log
Minimized Repro
Versions
PyTorch version: 2.3.0.dev20240301+cu118
Is debug build: False
CUDA used to build PyTorch: 11.8
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.3 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.35
cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki @malfet
The text was updated successfully, but these errors were encountered: