Bug 480589 - 'System Settings' crashed when I try top open 'Applications'
Summary: 'System Settings' crashed when I try top open 'Applications'
Status: RESOLVED UNMAINTAINED
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.27.10
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-01-31 09:54 UTC by vangelis
Modified: 2024-02-02 11:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vangelis 2024-01-31 09:54:32 UTC
Application: systemsettings (5.27.10)

Qt Version: 5.15.12
Frameworks Version: 5.114.0
Operating System: Linux 5.19.0-46-generic x86_64
Windowing System: X11
Distribution: KDE neon 5.27
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
It happens every time; same when I try to open directly'Default Applications' and 'Locations'

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f6d77100c14 in flatpak_installation_list_installed_refs_by_kind () from /lib/x86_64-linux-gnu/libflatpak.so.0
#5  0x00007f6d77195c9c in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_flatpak.so
#6  0x00007f6d77197076 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_flatpak.so
#7  0x00007f6d771980da in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_flatpak.so
#8  0x00007f6db15aa8d7 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#9  0x00007f6db1ceec84 in KCModuleLoader::loadModule(KPluginMetaData const&, QWidget*, QList<QVariant> const&) () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#10 0x00007f6db1cf1ced in ?? () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#11 0x00007f6db1cf2318 in KCModuleProxy::realModule() const () from /lib/x86_64-linux-gnu/libKF5KCMUtils.so.5
#12 0x00007f6db24bf55f in ModuleView::updatePageIconHeader(KPageWidgetItem*) () from /lib/x86_64-linux-gnu/libsystemsettingsview.so.3
#13 0x00007f6db24c2b54 in ModuleView::addModule(MenuItem*, QStringList const&) () from /lib/x86_64-linux-gnu/libsystemsettingsview.so.3
#14 0x00007f6d940199d2 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/systemsettingsview/icon_mode.so
#15 0x00007f6d9401a36e in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/systemsettingsview/icon_mode.so
#16 0x00007f6d9401a3c1 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/systemsettingsview/icon_mode.so
#17 0x000055ba0a8c5f9a in ?? ()
#18 0x000055ba0a8caa03 in ?? ()
#19 0x00007f6db0aea85e in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f6db246447d in KXmlGuiWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#21 0x00007f6db176c783 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f6db0abd30a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f6db0ac0407 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f6db0b171a7 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f6daf1b5d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f6daf20b258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f6daf1b33e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f6db0b167f8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f6db0abbc2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f6db0ac41d4 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x000055ba0a8c0616 in ?? ()
#32 0x00007f6db0029d90 in __libc_start_call_main (main=main@entry=0x55ba0a8bfac0, argc=argc@entry=2, argv=argv@entry=0x7ffe4acd2d38) at ../sysdeps/nptl/libc_start_call_main.h:58
#33 0x00007f6db0029e40 in __libc_start_main_impl (main=0x55ba0a8bfac0, argc=2, argv=0x7ffe4acd2d38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe4acd2d28) at ../csu/libc-start.c:392
#34 0x000055ba0a8c0fa5 in ?? ()
[Inferior 1 (process 34329) detached]

Reported using DrKonqi
Comment 1 vangelis 2024-01-31 19:15:50 UTC
Happens every time; it also happens when I try to open 'Defaults' or  'Locations' directly
Comment 2 ratijas 2024-02-01 10:40:08 UTC
Hi,

I might be an issue with the Icon Mode (which has been removed from Plasma 6 for being buggy and unmaintained), but in Neon User edition VM I still can not reproduce your crash.

I suspect you Flatpak installation might be broken in some ways. Can you please poke Flatpak CLI with these commands in terminal, and paste the output here?

$ flatpak remotes --columns=name,url,options

$ flatpak list
Comment 3 vangelis 2024-02-01 10:46:02 UTC
(In reply to ratijas from comment #2)
> Hi,
> 
> I might be an issue with the Icon Mode (which has been removed from Plasma 6
> for being buggy and unmaintained), but in Neon User edition VM I still can
> not reproduce your crash.
> 
> I suspect you Flatpak installation might be broken in some ways. Can you
> please poke Flatpak CLI with these commands in terminal, and paste the
> output here?
> 
> $ flatpak remotes --columns=name,url,options
> 
> $ flatpak list

Thanks for the reply; changing to sidebar view, bypasses the issue as it does not crashe any more.

In terms of the commands output:

$ flatpak remotes --columns=name,url,options
error: While opening repository /var/lib/flatpak/repo: opening repo: opendir(objects): No such file or directory

$ flatpak list
error: While opening repository /var/lib/flatpak/repo: opening repo: opendir(objects): No such file or directory
vc@hpt630:~$
Comment 4 ratijas 2024-02-01 16:09:14 UTC
What a wonderful but unfortunate combination of bugs here! I guess this is both RESOLVED UNMAINTAINED and RESOLVED UPSTREAM then.

Do you have any idea what could have broke your flatpak system repo directory?
Comment 5 vangelis 2024-02-02 11:41:32 UTC
(In reply to ratijas from comment #4)
> What a wonderful but unfortunate combination of bugs here! I guess this is
> both RESOLVED UNMAINTAINED and RESOLVED UPSTREAM then.
> 
> Do you have any idea what could have broke your flatpak system repo
> directory?

I'll take that as a compliment. I might have deleted relevant files, in trying to free up space.
In any case, I seem to have fixed (?) it by deleting /var/lib/flatpak/repo, so icon view settings works as intended now.

I would never have thought flatpack has anything to do with any of this. Thanks for your help :-)