2020-04-17 03:54 AM
Title says it all really. this has happened four times in the last hour, all when I've been in debug mode. I just click with the mouse on something and -blink- program vanishes without a trace.
does anyone experience the same thing? Is there a fix?
I realise this is an ST forum, but for the benefit of a beginner, is cubeIDE a crappy piece of software?
2020-04-17 06:24 AM
Hi, You might have to be a bit more specific what you are doing and not just discard a piece of software straight away.
I have used the latest version in Windows 10 with CubeMX open as a tab using STM32F405. I was going forth and back between CubeMX, generating code, building, downloading and debugging (J-Link EDU) without it crashing the whole day. The HAL modules used where SPI half duplex, ADC-DMA, Timer PWM, Timer IC.
If you can give us more information maybe somebody can look into it.
2020-04-17 08:26 AM
it happens when I'm debugging and im clicking through each line step by step, I've got a watch on some variable and I click on that variable because I find it useful to see the binary display like 001101101 and it regularly crashes - i've had to reload the program 5 times in the last 30 minutes. It may happen in other contexts, but this that's what im doing at the moment.
I don't usually have a problem with the learning curve of software, but this is happening so often that it's pretty much unusable
2020-04-17 01:51 PM
Hi PGoul,
This looks like a JRE crash.
Could you share your hs_err*.log files normally placed in the STM32CubeIDE install location?
Otherwise restart STM32CubeIDE using stm32cubeidec.exe instead of the standard launcher. This may also provide more useful details about the crash.
2020-04-21 02:59 AM
2020-04-21 03:00 AM
it seems i can only upload one at a time, if you need more let me know
2020-04-21 05:58 AM
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff88646e568, pid=20128, tid=0x0000000000002f74
#
# JRE version: OpenJDK Runtime Environment (8.0_242-b08) (build 1.8.0_242-b08)
# Java VM: OpenJDK 64-Bit Server VM (25.242-b08 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [MSCTF.dll+0xe568]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Seems like a known issue in Eclipse/SWT related to RDP usage:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=543747
To confirm:
Are you using the "Remote Desktop Connection" to connect on the Windows 10 running STM32CubeIDE?
Or do you switch between Windows sessions before the crash happened?
Windows published a KB containing some fixes for that library (msctf.dll):
https://support.microsoft.com/en-us/help/4517211/windows-10-update-kb4517211
Anyway for some users the problem persists even with this patch...