| Summary: | Shared library calls exit | ||
|---|---|---|---|
| Product: | [Applications] partitionmanager | Reporter: | Mattia <mattia.verga> |
| Component: | general | Assignee: | Andrius Štikonas <andrius> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 4.0.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/system/kpmcore/commit/296f281ffb562c5d8024ff1b6217c0d8dc0aeac4 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Mattia
2019-10-12 18:45:36 UTC
That's probably kpmcore/src/util/externalcommand.cpp::startHelper:L351
QDBusInterface iface(QStringLiteral("org.kde.kpmcore.helperinterface"), QStringLiteral("/Helper"), QStringLiteral("org.kde.kpmcore.externalcommand"), QDBusConnection::systemBus());
if (iface.isValid()) {
exit(0);
}
Yes, it would be good to send a signal to app to exit and possibly show dialog box in the GUI.
Git commit 2dff59260c72582941dbfd4ec52625a0e3ea5ddd by Andrius Štikonas. Committed on 12/10/2020 at 19:23. Pushed by stikonas into branch 'master'. Remove exit call from the helper. It is no longer used. M +0 -8 src/util/externalcommandhelper.cpp M +0 -1 src/util/externalcommandhelper.h https://invent.kde.org/system/kpmcore/commit/2dff59260c72582941dbfd4ec52625a0e3ea5ddd (In reply to Andrius Štikonas from comment #2) > Git commit 2dff59260c72582941dbfd4ec52625a0e3ea5ddd by Andrius Štikonas. > Committed on 12/10/2020 at 19:23. > Pushed by stikonas into branch 'master'. > > Remove exit call from the helper. It is no longer used. > > M +0 -8 src/util/externalcommandhelper.cpp > M +0 -1 src/util/externalcommandhelper.h > > https://invent.kde.org/system/kpmcore/commit/ > 2dff59260c72582941dbfd4ec52625a0e3ea5ddd Argh, tagged the wrong commit with the fix. It's actually fixed in 296f281ffb562c5d8024ff1b6217c0d8dc0aeac4 |