Bug 449153 - Discover Notifier crashes on login in FlatpakNotifier::Installation::ensureInitialized()
Summary: Discover Notifier crashes on login in FlatpakNotifier::Installation::ensureIn...
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: Notifier (show other bugs)
Version: 5.23.4
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-01-25 14:46 UTC by Max Lieblich
Modified: 2024-02-11 22:35 UTC (History)
4 users (show)

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


Attachments
New crash information added by DrKonqi (3.75 KB, text/plain)
2024-02-11 22:35 UTC, 2270638422
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Lieblich 2022-01-25 14:46:41 UTC
Application: DiscoverNotifier (5.23.4)

Qt Version: 5.15.2
Frameworks Version: 5.89.0
Operating System: Linux 5.15.16-200.fc35.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora release 35 (Thirty Five)"
DrKonqi: 5.23.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
This happens every time I log in, before I do anything at all.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Discover Notifier (DiscoverNotifier), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  _flatpak_installation_get_dir (error=0x0, ensure_repo=0, self=<optimized out>) at common/flatpak-installation.c:383
#7  flatpak_installation_get_dir_maybe_no_repo (self=<optimized out>) at common/flatpak-installation.c:399
#8  flatpak_installation_create_monitor (self=<optimized out>, cancellable=0x5575f4a60420, error=0x7ffefb8850c8) at common/flatpak-installation.c:2667
#9  0x00007f57c0236065 in FlatpakNotifier::Installation::ensureInitialized(std::function<_FlatpakInstallation* ()>, _GCancellable*, _GError**) (this=this@entry=0x5575f4a5d660, func=..., cancellable=0x5575f4a60420, error=error@entry=0x7ffefb8850c8) at /usr/src/debug/plasma-discover-5.23.4-1.fc35.x86_64/libdiscover/backends/FlatpakBackend/FlatpakNotifier.cpp:126
#10 0x00007f57c02364f0 in FlatpakNotifier::setupFlatpakInstallations (error=0x7ffefb8850c8, this=<optimized out>) at /usr/src/debug/plasma-discover-5.23.4-1.fc35.x86_64/libdiscover/backends/FlatpakBackend/FlatpakNotifier.cpp:134
#11 FlatpakNotifier::recheckSystemUpdateNeeded (this=0x5575f4a5d630) at /usr/src/debug/plasma-discover-5.23.4-1.fc35.x86_64/libdiscover/backends/FlatpakBackend/FlatpakNotifier.cpp:66
#12 0x00005575f42c9d3d in DiscoverNotifier::recheckSystemUpdateNeeded (this=0x7ffefb885768) at /usr/src/debug/plasma-discover-5.23.4-1.fc35.x86_64/notifier/DiscoverNotifier.cpp:220
#13 0x00007f57d46dc726 in QtPrivate::QSlotObjectBase::call (a=0x7ffefb8851e0, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 QSingleShotTimer::timerEvent (this=0x5575f4a4eeb0) at kernel/qtimer.cpp:320
#15 0x00007f57d46cfedf in QObject::event (this=0x5575f4a4eeb0, e=0x7ffefb885330) at kernel/qobject.cpp:1336
#16 0x00007f57d5271443 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5575f4a4eeb0, e=0x7ffefb885330) at kernel/qapplication.cpp:3632
#17 0x00007f57d46a57d8 in QCoreApplication::notifyInternal2 (receiver=0x5575f4a4eeb0, event=0x7ffefb885330) at kernel/qcoreapplication.cpp:1064
#18 0x00007f57d46f5ea3 in QTimerInfoList::activateTimers (this=0x5575f49d3b90) at kernel/qtimerinfo_unix.cpp:643
#19 0x00007f57d46f67ac in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#20 0x00007f57d2dfc130 in g_main_dispatch (context=0x5575f49ce0a0) at ../glib/gmain.c:3381
#21 g_main_context_dispatch (context=0x5575f49ce0a0) at ../glib/gmain.c:4099
#22 0x00007f57d2e51208 in g_main_context_iterate.constprop.0 (context=context@entry=0x5575f49ce0a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#23 0x00007f57d2df9933 in g_main_context_iteration (context=0x5575f49ce0a0, may_block=1) at ../glib/gmain.c:4240
#24 0x00007f57d46f6bb8 in QEventDispatcherGlib::processEvents (this=0x5575f49cf310, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007f57d46a41e2 in QEventLoop::exec (this=this@entry=0x7ffefb8855d0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#26 0x00007f57d46ac724 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#27 0x00005575f42c6485 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-discover-5.23.4-1.fc35.x86_64/notifier/main.cpp:78
[Inferior 1 (process 1852) detached]

Reported using DrKonqi
Comment 1 Aleix Pol 2022-03-28 00:44:49 UTC
This shouldn't be a problem anymore
Comment 2 2270638422 2024-02-11 22:35:24 UTC
Created attachment 165764 [details]
New crash information added by DrKonqi

DiscoverNotifier (5.27.10) using Qt 5.15.12

This happens every time I log in, before I do anything at all.

-- Backtrace (Reduced):
#6  _flatpak_installation_get_dir (error=0x0, ensure_repo=0, self=<optimized out>) at ../flatpak/common/flatpak-installation.c:383
#7  flatpak_installation_get_dir_maybe_no_repo (self=<optimized out>) at ../flatpak/common/flatpak-installation.c:399
#8  flatpak_installation_create_monitor (self=<optimized out>, cancellable=0x5993f77e6fa0, error=0x7ffe355be148) at ../flatpak/common/flatpak-installation.c:2670
#9  0x00007e164b9ac6e6 in FlatpakNotifier::Installation::ensureInitialized(std::function<_FlatpakInstallation* ()>, _GCancellable*, _GError**) (this=this@entry=0x5993f77e6970, func=..., cancellable=0x5993f77e6fa0, error=error@entry=0x7ffe355be148) at /usr/src/debug/discover/discover-5.27.10.1/libdiscover/backends/FlatpakBackend/FlatpakNotifier.cpp:131
#10 0x00007e164b9acbc9 in FlatpakNotifier::setupFlatpakInstallations (error=0x7ffe355be148, this=<optimized out>) at /usr/src/debug/discover/discover-5.27.10.1/libdiscover/backends/FlatpakBackend/FlatpakNotifier.cpp:139