2017-02-16 07:44 PM
Hi! I'm using Linux x86_64 with OpenJDK 64-Bit Server VM (build 25.71-b15, mixed mode). The versions affected: 4.19.0, 4.18.0
When I start STM32CubeMX and create a project, everything is fine. But if I click the 'Clock Configuration' tab, the whole X11 session freezes.
Please drop me any idea how to get more info: traces, debug, anything?
#cubemx2017-02-17 12:03 AM
Hi,
Can you please share the .ioc file and the STM32CubeMX.log file you find under your user directory in the .stm32cubemx folder.
Thanks
Imen
2017-02-17 08:11 AM
No input ioc: New Project. Then choose any MCU. Then click the 'Clock Configuration' tab
.2017-02-17 08:19 AM
Also (as I got developers' attention): in Linux CubeMX creates excessive folders: $HOME/.stm32cubeMX AND $HOME/.stm32cubemx .
And if we could avoid $HOME/STM32Cube in $HOME that'd be very good (XDG says it should be in
$XDG_DATA_HOME
, which is e.g. $HOME
/.local/share)
2017-02-17 10:26 AM
Hi,
I will share your feedback internally for more investigation and we will come back to you as soon as possible.
Imen
2017-02-22 07:58 AM
Hello Ildar,
The log file link is somehow not accessible.
Could you upload it in your post ?
Kind regards
Sirma
2017-02-23 02:32 AM
Hi!
The log file is perfectly available. But per your request I repost the log:
I don't see how I can upload the log in this forum, sorry.
2017-02-28 04:39 AM
Hello Ildar,
Thanks for the log.
They looks correct.
I did the experiment by installing Ubuntu16.04 64b distribution.
I have installed openjdk-8-jdk (which seems to be the same version as yours).
'java -version' returns
openjdk version '1.8.0_121' OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13) OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)Then I have installed CubeMX 4.19.
When I open a new project, and goes under the clock config tab, it does not hang my system.
Are you working on an Ubuntu ?
If not, could you indicate on which distribution you are working ?
Have you tried to use VisualVM to spy java virtual machine activities ?
When your system hang, are you stll able to access another system console ?
Kind regards
Sirma
2017-02-28 05:09 AM
Dear Sirma,
It's a pity you couldn't reproduce the issue. I indeed use another Linux distro, called ALTLinux with OpenJDK build 1.8.0_71-b15.
I can understand if you cannot test it.
As for the VisualVM, I don't think it can help, as the whole UI with X.org just hangs. I still can access text consoles, but not the GUI.
Thanks and regards, Ildar
2017-02-28 09:15 AM
Hello Ildar,
If you can open a new console, can you check, by top os ps, the processes status ?
Just to be sure none is in ghost, or any other dummy state.
Kind regards
Sirma