torch.cat throws return code 139(segmentation fault)
See original GitHub issueI concat two 1x1x100x100 tensor with torch.cat, the function randomly return segmentation fault.
Console.WriteLine(Current[x]);
Console.WriteLine(dic[x].unsqueeze(0));
Current[x] = cat(new[] {Current[x], dic[x].unsqueeze(0)}, 0);
Console.WriteLine("Concat finished");
This is my code, “Concat finished” is not showing randomly after printing
[1x1x100x100], type = Float32, device = cpu
[1x1x100x100], type = Float32, device = cpu
If I wait, program has exit with return code 139.
This is log of Debug output
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Runtime.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Runtime.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Runtime.dll was not found or failed to read
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Collections.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Collections.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Collections.dll was not found or failed to read
Loaded Assembly '/home/dayo/RiderProjects/RnE/RnE/bin/Debug/net6.0/TorchSharp.dll'
Loading module /home/dayo/RiderProjects/RnE/RnE/bin/Debug/net6.0/TorchSharp.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/RiderProjects/RnE/RnE/bin/Debug/net6.0/TorchSharp.dll was not found or failed to read
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Console.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Console.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Console.dll was not found or failed to read
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Collections.Concurrent.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Collections.Concurrent.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Collections.Concurrent.dll was not found or failed to read
Loaded Assembly '/home/dayo/RiderProjects/RnE/RnE/bin/Debug/net6.0/SixLabors.ImageSharp.dll'
Loading module /home/dayo/RiderProjects/RnE/RnE/bin/Debug/net6.0/SixLabors.ImageSharp.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/RiderProjects/RnE/RnE/bin/Debug/net6.0/SixLabors.ImageSharp.dll was not found or failed to read
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Numerics.Vectors.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Numerics.Vectors.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Numerics.Vectors.dll was not found or failed to read
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Linq.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Linq.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Linq.dll was not found or failed to read
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Threading.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Threading.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Threading.dll was not found or failed to read
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/Microsoft.Win32.Primitives.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/Microsoft.Win32.Primitives.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/Microsoft.Win32.Primitives.dll was not found or failed to read
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Memory.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Memory.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Memory.dll was not found or failed to read
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Runtime.Extensions.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Runtime.Extensions.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Runtime.Extensions.dll was not found or failed to read
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Buffers.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Buffers.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Buffers.dll was not found or failed to read
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Runtime.CompilerServices.Unsafe.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Runtime.CompilerServices.Unsafe.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Runtime.CompilerServices.Unsafe.dll was not found or failed to read
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.IO.FileSystem.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.IO.FileSystem.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.IO.FileSystem.dll was not found or failed to read
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Runtime.Intrinsics.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Runtime.Intrinsics.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Runtime.Intrinsics.dll was not found or failed to read
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Threading.Tasks.Parallel.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Threading.Tasks.Parallel.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Threading.Tasks.Parallel.dll was not found or failed to read
Loaded Assembly '/home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Diagnostics.Tracing.dll'
Loading module /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Diagnostics.Tracing.dll in application domain 1:clrhost
Pdb file for assembly /home/dayo/.dotnet/shared/Microsoft.NETCore.App/6.0.0/System.Diagnostics.Tracing.dll was not found or failed to read
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Process finished with exit code 139 (interrupted by signal 11
I tried to train my model just now and it just stopped with such an error: Process finished with exit code 139 (interrupted...
Read more >Process finished with exit code 139 (interrupted by signal 11
The SIGSEGV signal indicates a "segmentation violation" or a "segfault". More or less, this equates to a read or write of a memory...
Read more >[Bug]: Segmentation fault running on docker with Radeon ...
When I try to start the UI, I get a segmentation fault: ... check'" Error code: 139 stdout: <empty> stderr: Segmentation fault (core...
Read more >This stands for seg fault, will out of memory cause this issue?
This stands for seg fault, will out of memory cause this issue? Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)....
Read more >Segmentation Fault in Linux Containers (Exit Code 139)
When a container exits with status code 139, it's because it received a SIGSEGV signal. The operating system terminated the container's process ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dayo05 Keep posting your questions. Most people who are active here already start Christmas holiday. Most likely your questions get answered in Jan 2022.
There is a recent new TorchSharp project on translation. Very exciting. You may want to study it and perhaps use that for Korean translation.
I solve the issue with reinstalling OS.