cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX hangs on ''Clock Configuration'' tab hanging the whole system

Ildar Mulyukov
Associate II
Posted on February 17, 2017 at 04:44

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?

#cubemx
29 REPLIES 29
Imen.D
ST Employee
Posted on February 17, 2017 at 09:03

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Ildar Mulyukov
Associate II
Posted on February 17, 2017 at 17:11

No input ioc: New Project. Then choose any MCU. Then click the 'Clock Configuration' tab

http://pastebin.ru/g8XI36m3

.
Ildar Mulyukov
Associate II
Posted on February 17, 2017 at 17:19

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)

Imen.D
ST Employee
Posted on February 17, 2017 at 19:26

Hi, 

I will share your feedback internally for more investigation and we will come back to you as soon as possible.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Sirma Siang
ST Employee
Posted on February 22, 2017 at 16:58

Hello Ildar,

The log file link is somehow not accessible.

Could you upload it in your post ?

Kind regards

Sirma

Posted on February 23, 2017 at 10:32

Hi!

The log file is perfectly available. But per your request I repost the log:

http://pastebin.com/JcRc0b1g

 

I don't see how I can upload the log in this forum, sorry.

Posted on February 28, 2017 at 12:39

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

Posted on February 28, 2017 at 13:09

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

Posted on February 28, 2017 at 17:15

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