Skip to main content
Visitor
August 6, 2026
Question

[6.18.1 / Linux] Board Selector freezes the GUI forever: unindexed SQLite query runs synchr

  • August 6, 2026
  • 1 reply
  • 65 views

Hello,

Since updating to 6.18.1, clicking ACCESS TO BOARD SELECTOR on the home
screen freezes STM32CubeMX permanently. The window never opens, one CPU core
stays pinned at 100%, nothing is written to STM32CubeMX.log, and the process
cannot be closed - it has to be killed with kill -9 / xkill.
 
ENVIRONMENT
 
STM32CubeMX : 6.18.1 (updater.ini: SoftVersion=MX.6.18.1, DbVersion=DB.6.0.181)
Update path : 6.17.0 -> 6.18.0 -> 6.18.1
OS : Ubuntu 26.04 LTS (Resolute Raccoon), x86_64, kernel 7.0.0-29-generic
Desktop : KDE Plasma 6.6.5, Wayland session (app runs under XWayland)
JVM : Bundled JRE, OpenJDK 21.0.10+7-LTS
Install path: ~/Documents/STM32CubeMX
 
 
STEPS TO REPRODUCE
 
1. Start STM32CubeMX and let startup finish.
2. On the home screen, click ACCESS TO BOARD SELECTOR.
3. The GUI freezes immediately and never recovers.
 
LOGS
"AWT-EventQueue-0" #46 [10722] prio=6 os_prio=0 cpu=72188.54ms elapsed=81.89s runnable
java.lang.Thread.State: RUNNABLE
at org.sqlite.core.NativeDB.step(Native Method)
at org.sqlite.core.DB.execute(DB.java:1012)
at org.sqlite.core.DB.execute(DB.java:974)
at org.sqlite.jdbc3.JDBC3PreparedStatement.executeQuery(JDBC3PreparedStatement.java:87)
at com.st.microxplorer.mcufinder.db.DbMcusSqlite.getSqliteMissingFields(DbMcusSqlite.java:748)
at com.st.microxplorer.mcufinder.db.DbMcus.getMissingFields(DbMcus.java:1043)
at com.st.microxplorer.mcufinder.gui.WebUtils.downloadDocs(WebUtils.java:918)
at com.st.microxplorer.mcufinder.gui.selector.MultiScanPanel.performAutoRefresh(MultiScanPanel.java:814)
at com.st.microxplorer.mcufinder.gui.boardselector.BoardMultiScanPanel.<init>(BoardMultiScanPanel.java:133)
at com.st.microxplorer.mcufinder.gui.selector.MultiSelectorPanel.createBoardSelectorPanel(MultiSelectorPanel.java:265)
at com.st.microxplorer.mcufinder.gui.selector.MultiSelectorPanel.setSelectedTabIndex(MultiSelectorPanel.java:491)
at com.st.microxplorer.mcufinder.gui.selector.MultiSelectorDialog.<init>(MultiSelectorDialog.java:63)
at com.st.microxplorer.plugins.filemanager.engine.MainFileManager.userNewConfig(MainFileManager.java:161)
at com.st.microxplorer.maingui.HomeNewTaskLinePanel.jButtonNewConfigurationBoardActionPerformed(HomeNewTaskLinePanel.java:139)
... AWT event dispatch ...

WORKAROUND I AM CURRENTLY USING


Help > Connection and Updates > "No Auto-Refresh at Application start"
The Board Selector then opens normally. Equivalent to setting DataRefresh=0
in ~/.stm32cubemx/plugins/updater/updater.ini.
The cost is that MCU/board data no longer refreshes on its own, and
Help > Refresh Data triggers the same hang.
For anyone hitting this: deleting the ~/.stmcufinder cache to force a clean
re-download does NOT help. I checked - the downloaded cube-finder-db.zip
matches ST's published md5 exactly, and PRAGMA integrity_check on the
database returns ok. The file is not damaged.

 

Thanks in advance for your time.

Manu

1 reply

ST Technical Moderator
August 7, 2026

Hello ​@manu83670 

Thank you for sharing your feedback and experience.
On my side, I was unable to reproduce the same behavior on Ubuntu 26.04 after updating to CubeMX 6.18.1.
I would suggest trying a fresh installation of CubeMX 6.18.1 to see whether the issue persists.

BR, Souhaib

To give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.