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-03-01 07:21 AM
I have tried another experiment.
I have downloaded and install, on a virtual machine, alt-kworkstation-8.1 distribution.
the info center shows ALT-8.1, and java -version returns openjdk 1.8.0_71.
I have download and install CubeMX, and the good news is that it works fine.
The installation went well. I have created a project, and play with all tabs, save and generate a code.
It looks ok in my side.
Then I check /mnt directory, and it is empty.
Usually, on a linux distrib, the /mnt directory is to mount a network drive.
could you type mount command ?
To be sure, can you remove any network cable, or wifi connection, and test the presence of that directory ?
Have you tried to install on a local directory, like in your $HOME ?
Kind regards
Sirma
2017-03-01 07:53 AM
Usually, on a linux distrib, the /mnt directory is to mount a network drive.
Not exactly.
This is the default mounting location for any non-removable media, not just net-mounted filesystems.
For example, I use to have dual-boot systems, where the Windows partition(s) end up there when mounted.
2017-03-01 09:45 AM
My bad, you are absolutely right /mnt is usualy the path used to mount any non-removable media.
mount will shows which device is mounted here.
2017-03-28 03:47 AM
Hello Ildar,
Do you have any news ?
Kind regards
Sirma
2017-03-28 04:03 AM
Hi, Sirma!
Do you have any news for me? I don't.
I've sent you the log and it didn't help (I hoped, but
:(
). Before that I wrote: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.
Can developers advise something to trace what makes GUI hang?
Thanks and regards, Ildar
2017-04-14 08:48 AM
Hello Ildar,
From Linux user perspective, I would advise to look at dmesg, ot memory consuption in the working console.
Another things is to kill the java vm and related applications, by kill -9 <pid>, on the working console, and see if the graphic console is coming back to life.
Kind regards
Sirma
2017-04-18 01:42 AM
Sirma,
kernel level is fine. Killing java from the text console indeed brings things back again. That's why I exactly wrote that it is the Java application what hangs the GUI.
I'm not familiar with Java tracing techniques so asking developers etc.
Still no good ideas for this?
2017-07-06 02:38 AM
Hello Ildar,
It is quite difficult to understand what could go wrong in your config.
I do not beleave that the java VM could be the cause of your graphic hang.
And every config I can test, works well in my side.
I would like to dig into the presence of the win-apps directory in your system.
I feel you are running cube like a windows application using wine, or... ?
CubeMX can run as a Linux native application.
Have you tried to
download the installation zip and run 'java -jar <path/SetupSTM32CubeMX-xxx.exe', then select a local path (the exe here is just a file container) ?
Kind regards
Sirma
2018-02-26 04:04 AM
I had a similar issue on windows (CubeMX 4.24.0), where a project didnt open anymore. Just for fun I edited the .ioc file manually and deleted all lines starting with 'RCC.'. Then I could open the project again.
Here some context information of my 'corrupt' .ioc file.
PCC.MCU=STM32L051K(6-8)Ux
PCC.PartNumber=STM32L051K8UxPCC.Seq0=0PCC.Series=STM32L0PCC.Temperature=25PCC.Vdd=nullPinOutPanel.RotationAngle=0RCC.AHBFreq_Value=8000000RCC.APB1Freq_Value=8000000RCC.APB1TimFreq_Value=8000000RCC.APB2Freq_Value=2097000RCC.APB2TimFreq_Value=2097000RCC.CECFreq_Value=32786.88524590164RCC.FCLKCortexFreq_Value=8000000RCC.FamilyName=MRCC.HCLKFreq_Value=8000000RCC.HSI16_VALUE=16000000RCC.HSICECFreq_Value=32786.88524590164RCC.HSI_VALUE=16000000RCC.I2C1Freq_Value=2097000RCC.I2SFreq_Value=8000000RCC.IPParameters=AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,CECFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSI16_VALUE,HSICECFreq_Value,HSI_VALUE,I2C1Freq_Value,I2SFreq_Value,LPTIMFreq_Value,LSE_VALUE,LSI_VALUE,MCOFreq_Value,MSI_VALUE,PLLCLKFreq_Value,PLLMCOFreq_Value,PLLMUL,PWRFreq_Value,RTCFreq_Value,SYSCLKFreq_VALUE,TIMFreq_Value,TimSysFreq_Value,USART1Freq_Value,USART2Freq_Value,VCOOutput2Freq_Value,VCOOutputFreq_Value,WatchDogFreq_ValueRCC.LPTIMFreq_Value=2097000RCC.LSE_VALUE=32768RCC.LSI_VALUE=37000RCC.MCOFreq_Value=8000000RCC.MSI_VALUE=2097000RCC.PLLCLKFreq_Value=32000000RCC.PLLMCOFreq_Value=16000000RCC.PLLMUL=RCC_PLL_MUL8RCC.PWRFreq_Value=2097000RCC.RTCFreq_Value=37000RCC.SYSCLKFreq_VALUE=8000000RCC.TIMFreq_Value=2097000RCC.TimSysFreq_Value=8000000RCC.USART1Freq_Value=8000000RCC.USART2Freq_Value=2097000RCC.VCOOutput2Freq_Value=4000000RCC.VCOOutputFreq_Value=48000000RCC.WatchDogFreq_Value=370002018-02-26 05:16 AM
,
,
I don't know if this would preserve the error but you could try save the project before changing to 'Clock Configuration' and paste the complete content of the file for the experts here.
see also my problem
,