0

My application is on the .net core platform and uses apache ignite inside itself. everything works truly on windows, but on ubuntu, the application stops working after a while. I attached the log files. log 01 log 02

Olaf Kock
  • 46,930
  • 8
  • 59
  • 90
MasiumDev
  • 1
  • 1

1 Answers1

0

Both logs end with *** stack smashing detected ***: terminated.

This happens on Linux with .NET Core when NullReferenceException occurs in user code. The reason is that both .NET and Java use SIGSEGV to handle certain exceptions, including NullPointerException and NullReferenceException.

The fix for this issue exists in .NET Core 3.0 and later: try setting the COMPlus_EnableAlternateStackCheck environment variable to 1 before starting the node. This should reveal the exception stack trace.

https://ignite.apache.org/docs/latest/net-specific/net-troubleshooting#stack-smashing-detected-dotnet-terminated

Pavel Tupitsyn
  • 8,393
  • 3
  • 22
  • 44