Bug 462601 - Plasma-dialer 22.11 segfaults when started, core dump included
Summary: Plasma-dialer 22.11 segfaults when started, core dump included
Status: RESOLVED NOT A BUG
Alias: None
Product: Plasma Mobile Dialer
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alexey Andreyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-03 17:02 UTC by Marco Mattiolo
Modified: 2022-12-04 10:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
coredump when plasma-workspace_5.26.3 is installed (5.38 KB, text/plain)
2022-12-03 17:02 UTC, Marco Mattiolo
Details
coredump when plasma-workspace_5.26.4 is installed (5.39 KB, text/plain)
2022-12-03 17:07 UTC, Marco Mattiolo
Details
debian/control used to build plasma-dialer_22.11 (1.53 KB, text/plain)
2022-12-03 17:07 UTC, Marco Mattiolo
Details
coredump when kwin-dev is included as build-dep (to have KWinEffects) (5.46 KB, text/plain)
2022-12-03 17:40 UTC, Marco Mattiolo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Mattiolo 2022-12-03 17:02:15 UTC
Created attachment 154281 [details]
coredump when plasma-workspace_5.26.3 is installed

SUMMARY
Hi and thank you for developing plasma-dialer!
I have just packaged plasma-dialer_22.11 to be used on my PP with Mobian bookworm.
But, it segfaults instead of starting (I'd swear yesterday evening right after being installed it was working, today not), nothing is seen on the UI: in Plasma the splash screen stays on the screen until I press the Plasma button on the bottom panel, in Phosh nothing is seen.

marco@mobian:~$ plasmaphonedialer
kf.kirigami: (qrc:/settings/SettingsPage.qml:79:21: Cannot assign to non-existent property "onCurrentIndexChanged"
                        onCurrentIndexChanged: {
                        ^)
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed
file:///usr/lib/aarch64-linux-gnu/qt5/qml/org/kde/kirigami.2/PromptDialog.qml:116:22: QML SelectableLabel: Binding loop detected for property "implicitWidth"
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Errore di segmentazione (core dump creato)
marco@mobian:~$ 

Then I flashed a fresh Mobian image on an SD card and used that to install all required -dbg symbols to get a useful coredump.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Marco Mattiolo 2022-12-03 17:06:53 UTC
Sorry I was not finished:
SOFTWARE/OS VERSIONS
Linux: 5.15-sunxi64
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.6

I am attaching two coredumps: one when plasma-workspace_5.26.3 is installed (as of today on Debian testing) and one with plasma-workspace_5.26.4 (from Debian unstable, will migrate to testing in a couple of days).
Plasma mobile is still at 5.26.3, not yet had time to package 5.26.4.
Plasma-phonebook and plasma-dialer are at 22.11, all other apps still at 22.09.

I am also attaching the debian/control file I am using, I hope I just screwed the packaging... but I just re-build it and nothing is evidently wrong...
Comment 2 Marco Mattiolo 2022-12-03 17:07:22 UTC
Created attachment 154282 [details]
coredump when plasma-workspace_5.26.4 is installed
Comment 3 Marco Mattiolo 2022-12-03 17:07:55 UTC
Created attachment 154283 [details]
debian/control used to build plasma-dialer_22.11
Comment 4 Marco Mattiolo 2022-12-03 17:40:25 UTC
Created attachment 154284 [details]
coredump when kwin-dev is included as build-dep (to have KWinEffects)
Comment 5 Alexey Andreyev 2022-12-03 23:06:21 UTC
Hi! Could you please also provide the versions info for the kirigami-addons and kwin?
There's CMake flag for the dialer: `DIALER_BUILD_SHELL_OVERLAY` to build the package with or without lockscreen overlay support. Lockscreen overlay is only working with kwin (fresh enough, see also: https://invent.kde.org/plasma/kwin/-/merge_requests/3232)
Also fresh kirigami-addons is needed, see also: https://invent.kde.org/plasma-mobile/plasma-dialer/-/merge_requests/109
Comment 6 Alexey Andreyev 2022-12-03 23:11:50 UTC
(In reply to Alexey Andreyev from comment #5)
> Hi! Could you please also provide the versions info for the kirigami-addons
> and kwin?
> There's CMake flag for the dialer: `DIALER_BUILD_SHELL_OVERLAY` to build the
> package with or without lockscreen overlay support. Lockscreen overlay is
> only working with kwin (fresh enough, see also:
> https://invent.kde.org/plasma/kwin/-/merge_requests/3232)
> Also fresh kirigami-addons is needed, see also:
> https://invent.kde.org/plasma-mobile/plasma-dialer/-/merge_requests/109

ah, sorry for the late reply, you probably also received same info via the matrix chat
Comment 7 Marco Mattiolo 2022-12-04 10:17:59 UTC
Hi Alexey!
Your answer is absolutely useful: on matrix I got confirmed I was supposed to generically upgrade plasma and kirigami-addons, in fact you pointed out the exact packages that plasma-dialer needs to be upgraded.
After manually upgrading kwin to the 5.26.4 version from Debian unstable, plasma-dialer_22.11 now starts and works in the test system.
I am now going to apply same upgrades to my main system, but I see no reason it wouldn't work also there.
Thank you!