cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE keeps crashing

sahiinbeyza
Associate II

I was using STM32CubeIDE version 1.16. It was crashing occasionally. Then I wanted to update to version 1.18. It started to crash constantly while updating. Then I cleaned the program with all its extensions and reinstalled the new version(1.18). But the problem was not solved and it keeps crashing.

I checked the form and your answers. I couldn't find any solution for this.

Below is a screenshot of the errors I receive.

Ekran görüntüsü 2025-03-27 115139.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

Which version of FortiEDR do you have? In any case this thing is managed remotely by your IT. Please report to them and they know how to investigate.

 

View solution in original post

7 REPLIES 7

Can you supply more information? What exact operating system are you using? What do you mean by "cleaned the program"?

Kudo posts if you have the same problem and kudo replies if the solution works.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.

I am using Windows 11. I uninstalled and reinstalled STM32CubeIde. I tried the last 3 versions, but in all of them the program suddenly closes after a while.

Do you have a virus scanner running? Do you have any background programs running? Do you have other programs that crash or is this the only program that gives issues?
I assume you have restarted windows.

Kudo posts if you have the same problem and kudo replies if the solution works.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.

Yes, FortiEDR was active. I disabled it. The program remained open for a longer time, but after 1 hour it crashed again with the same error.
I don't have any other program that crashed, only cubeide.
Yes, I restarted it many times.


@sahiinbeyza wrote:

Yes, FortiEDR was active. I disabled it. The program remained open for a longer time, but after 1 hour it crashed again with the same error.


Now we are getting somewhere. Perhaps there is a memory leak (that occurs only on your system for some reason). Can you periodically check the memory usage in task manager? And once it crashes also check memory usage before closing. If it keeps growing that's a sign of a memory leak.
I checked and my STM32CubeIDE 1.16 uses between about 800 and 1600MB.
Perhaps you will notice under what circumstances the memory usage spikes (compiling?). Maybe it only happens with one specific project? Maybe it's a combination of settings of your workspace?

Kudo posts if you have the same problem and kudo replies if the solution works.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.

Which version of FortiEDR do you have? In any case this thing is managed remotely by your IT. Please report to them and they know how to investigate.

 

IT completely disabled the firewall for the STM32CubeIDE application on FortiEDR and the problem was solved. As you said at the beginning, it was actually caused by the virus scanner application :)

Thank you..