Bug 42097

Summary: Приложение выдает ошибку и закрывается при выполнении действия
Product: Sisyphus Reporter: obidinog <obidinog>
Component: kdevelop5Assignee: Nobody's working on this, feel free to take it <nobody>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: george, zerg
Version: unstable   
Hardware: x86_64   
OS: Linux   
Attachments:
Description Flags
log.txt none

Description obidinog@basealt.ru 2022-03-10 18:19:52 MSK
Created attachment 10373 [details]
log.txt

kdevelop 5

Тестовый стенд : kworkstation-x86-64-beta

Шаги для воспроизведения:

1)В панеле инструментов нажать Run --> Run Heaptrack Analysis
2)Закрыть

Ожидаемый результат:

Закрывается открывшееся окно без ошибок.

Результат:

Закрывается приложение с ошибкой
Comment 1 obidinog@basealt.ru 2022-11-07 13:23:43 MSK
Пакет kdevelop5  5.6.1-alt3 проверил на Sisyphus, ошибка воспроизводится
Comment 2 Sergey V Turchin 2022-11-07 13:38:57 MSK
kdevelop-5.6.1/plugins/heaptrack/plugin.cpp:

    // TODO: catch if still no defaultLaunch
    if (!defaultLaunch->type()->launcherForId(QStringLiteral("nativeAppLauncher"))) {
        const QString messageText = i18n("Heaptrack analysis can be started only for native applications.");
        auto* message = new Sublime::Message(messageText, Sublime::Message::Error);
        KDevelop::ICore::self()->uiController()->postMessage(message);
        return;
    }

Падает как раз на if, т.е. типа предусмотрено авторами.
P.S. 5.6.2 уже есть.