Launcher crash on Java wizard page with default settings

Author: TheKodeToadCreated Sep 28, 2026Updated Sep 28, 2026
Labelspriority: highcomplexity: unknownbug: confirmed

Operating System

Linux

Version of Prism Launcher

Develop

Version of Qt

Qt 6.11.2

Description of bug

When keeping the default settings on the java wizard page (including auto-downloading Java), pressing Finish causes the launcher to crash

Steps to reproduce

  • Disable Java download
  • Type some incomprehensible garbage as the Java path
  • Restart the launcher

Other information

Looks like a bad function call

#0  0x0000000000000031 in ??? ()
#1  0x00007ffff7653d56 in QBoxLayout::~QBoxLayout() () at /lib64/libQt6Widgets.so.6
#2  0x00007ffff7653eb5 in QVBoxLayout::~QVBoxLayout() () at /lib64/libQt6Widgets.so.6
#3  0x00007ffff76aa3a7 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6
#4  0x00000000014e755b in JavaWizardWidget::~JavaWizardWidget (this=0x1d5e610) at /home/me/Projects/PrismLauncher/launcher/ui/widgets/JavaWizardWidget.cpp:550
#5  0x00000000014e75a9 in JavaWizardWidget::~JavaWizardWidget (this=0x1d5e610) at /home/me/Projects/PrismLauncher/launcher/ui/widgets/JavaWizardWidget.cpp:548
#6  0x00007ffff5f7d6b2 in QObjectPrivate::deleteChildren() () at /lib64/libQt6Core.so.6
#7  0x00007ffff76aa7a8 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6
#8  0x0000000000a06785 in BaseWizardPage::~BaseWizardPage (this=0x26921e0) at /home/me/Projects/PrismLauncher/launcher/ui/setupwizard/BaseWizardPage.h:9
#9  0x0000000000a6c1f5 in JavaWizardPage::~JavaWizardPage (this=0x26921e0)
    at launcher/Launcher_logic_autogen/include_Debug/PSIDPEIZBL/../../../../../launcher/ui/setupwizard/JavaWizardPage.h:12
#10 0x0000000000a6c219 in JavaWizardPage::~JavaWizardPage (this=0x26921e0)
    at launcher/Launcher_logic_autogen/include_Debug/PSIDPEIZBL/../../../../../launcher/ui/setupwizard/JavaWizardPage.h:12
#11 0x00007ffff5f7d6b2 in QObjectPrivate::deleteChildren() () at /lib64/libQt6Core.so.6
#12 0x00007ffff76aa7a8 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6
#13 0x00007ffff770e935 in QFrame::~QFrame() () at /lib64/libQt6Widgets.so.6
#14 0x00007ffff5f7d6b2 in QObjectPrivate::deleteChildren() () at /lib64/libQt6Core.so.6
#15 0x00007ffff76aa7a8 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6
#16 0x00007ffff79656e9 in QWizardAntiFlickerWidget::~QWizardAntiFlickerWidget() () at /lib64/libQt6Widgets.so.6
#17 0x00007ffff5f7d6b2 in QObjectPrivate::deleteChildren() () at /lib64/libQt6Core.so.6
#18 0x00007ffff76aa7a8 in QWidget::~QWidget() () at /lib64/libQt6Widgets.so.6
#19 0x00000000011443e5 in SetupWizard::~SetupWizard (this=0x7fffffff6318) at /home/me/Projects/PrismLauncher/launcher/ui/setupwizard/SetupWizard.cpp:79
#20 0x00000000009ebbbd in Application::createSetupWizard (this=0x7fffffffd498) at /home/me/Projects/PrismLauncher/launcher/Application.cpp:1318
#21 0x00000000009e5f11 in Application::Application (this=0x7fffffffd498, argc=@0x7fffffffd494: 1, argv=0x7fffffffd838) at /home/me/Projects/PrismLauncher/launcher/Application.cpp:1240
#22 0x00000000009d0ae0 in main (argc=1, argv=0x7fffffffd838) at /home/me/Projects/PrismLauncher/launcher/main.cpp:52

This issue is unique

  • I have searched the issue tracker and did not find an issue describing my bug.

Source: PrismLauncher/PrismLauncher