[BUG] Quickshell crash on launch
Step 1. Before you submit
- [x] I have read the above instructions and am sure that this is supposed to be posted here.
- [x] I've successfully updated to the latest versions following the updating guide.
- [x] I've successfully updated the system packages to the latest.
- [x] I've ticked the checkboxes without reading their contents
Step 2. Version info
Version info
Packages:
caelestia-shell not installed
caelestia-meta not installed
caelestia-cli-git 1.0.1.r9.g64fd3a4-1
Caelestia:
Last commit: 1c485b7068e5323d7074350bfb091d323bbddac1
Commit message: readme: update install section for new opt
Shell:
caelestia-shell 1.3.0, revision c6e9afc74a0cc3d98621076c192ad09a9dd7bcec, distrubuted by: Unset
Quickshell:
quickshell 0.2.0, revision e9a574d919a89602d2868621576b2ccae54a5cb0, distributed by: AUR (package: quickshell-git)
Local copy of shell found:
Unable to determine last merged upstream commit.
Last commit: c6e9afc74a0cc3d98621076c192ad09a9dd7bcec
Commit message: batterymonitor: fix warn levels
Step 3. Describe the issue
Quickshell crashes immediately at launch on latest git, happens repeatedly. Only started with recent quickshell and caelestia shell update, haven't bisected yet to see if the problem is with calestia or quickshell.
Quickshell log doesn't seem to show any errors, but backtrace seems to indicate crash happens when scanning for desktop items?
GDB backtrace
(gdb) bt -full
#0 0x00007f16ffd2dee4 in QFileInfo::isDir() const () from /usr/bin/../lib/libQt6Core.so.6
No symbol table info available.
#1 0x00007f16f52ab9c9 in caelestia::FileSystemModel::compareEntries(caelestia::FileSystemEntry const*, caelestia::FileSystemEntry const*) const ()
from /usr/lib/qt6/qml/Caelestia/Models/libcaelestia-models.so
No symbol table info available.
#2 0x00007f16f52abb1a in void std::__introsort_loop<QList<caelestia::FileSystemEntry*>::iterator, long long, __gnu_cxx::__ops::_Iter_comp_iter<caelestia::FileSystemModel::applyChanges(QSet<QString> const&, QSet<QString> const&)::{lambda(caelestia::FileSystemEntry const*, caelestia::FileSystemEntry const*)#1}> >(QList<caelestia::FileSystemEntry*>::iterator, QList<caelestia::FileSystemEntry*>::iterator, long long, __gnu_cxx::__ops::_Iter_comp_iter<caelestia::FileSystemModel::applyChanges(QSet<QString> const&, QSet<QString> const&)::{lambda(caelestia::FileSystemEntry const*, caelestia::FileSystemEntry const*)#1}>) ()
from /usr/lib/qt6/qml/Caelestia/Models/libcaelestia-models.so
No symbol table info available.
#3 0x00007f16f52ad19e in caelestia::FileSystemModel::applyChanges(QSet<QString> const&, QSet<QString> const&) ()
from /usr/lib/qt6/qml/Caelestia/Models/libcaelestia-models.so
No symbol table info available.
#4 0x00007f16f52ae6e1 in QtPrivate::QCallableObject<caelestia::FileSystemModel::updateEntriesForDir(QString const&)::{lambda()#1}, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /usr/lib/qt6/qml/Caelestia/Models/libcaelestia-models.so
No symbol table info available.
#5 0x00007f16ffdeff3e in ?? () from /usr/bin/../lib/libQt6Core.so.6
No symbol table info available.
#6 0x00007f16fff6a754 in QFutureWatcherBase::event(QEvent*) () from /usr/bin/../lib/libQt6Core.so.6
No symbol table info available.
#7 0x00007f16ffd7d8e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/bin/../lib/libQt6Core.so.6
No symbol table info available.
#8 0x00007f16ffd7f3b9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/bin/../lib/libQt6Core.so.6
No symbol table info available.
#9 0x00007f17000992e0 in ?? () from /usr/bin/../lib/libQt6Core.so.6
No symbol table info available.
#10 0x00007f16ff2eafa9 in ?? () from /usr/bin/../lib/libglib-2.0.so.0
No symbol table info available.
#11 0x00007f16ff2ec3f8 in ?? () from /usr/bin/../lib/libglib-2.0.so.0
No symbol table info available.
#12 0x00007f16ff2ec532 in g_main_context_iteration () from /usr/bin/../lib/libglib-2.0.so.0
No symbol table info available.
#13 0x00007f1700095c0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/bin/../lib/libQt6Core.so.6
No symbol table info available.
#14 0x00007f16ffd8c0c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/bin/../lib/libQt6Core.so.6
No symbol table info available.
#15 0x00007f16ffd82d39 in QCoreApplication::exec() () from /usr/bin/../lib/libQt6Core.so.6
No symbol table info available.
#16 0x0000560da6d3a2c1 in qs::launch::launch (args=..., argv=0x7fff11ae4268, coreApplication=0x7f16fb218820)
at /home/ssareta/.cache/paru/clone/quickshell-git/src/quickshell/src/launch/launch.cpp:256
pathId = {d = {d = 0x7f16fb211d00, ptr = 0x7f16fb211d10 "ab81b2156e7475f3761fc2e8a89b3612", size = 32}, static _empty = 0 '\000'}
shellId = {d = {d = 0x7f16fb209aa0, ptr = 0x7f16fb209ab0 u"ab81b2156e7475f3761fc2e8a89b3612", size = 32}, static _empty = 0 u'\000'}
file = <incomplete type>
pragmas = {useQApplication = false, nativeTextRendering = false, desktopSettingsAware = true, useSystemStyle = false, iconTheme = {d = {d = 0x0,
ptr = 0x0, size = 0}, static _empty = 0 u'\000'}, envOverrides = {d = 0x7f16fb225430}, dataDir = {d = {d = 0x0, ptr = 0x0, size = 0},
static _empty = 0 u'\000'}, stateDir = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}}
stream = <incomplete type>
launchTime = <optimized out>
crashHandler = {d = 0x7f16fb2189b0}
app = 0x7f16fb218820
qArgC = 0
root = {<QObject> = {<No data fields>}, static staticMetaObject = {d = {superdata = {direct = 0x7f170027e5c0 <QObject::staticMetaObject>},
stringdata = 0x560da6ff254c <_ZN11RootWrapper32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_130qt_meta_tag_ZN11RootWrapperE_tEEE.lto_priv.0+172>, data = 0x560da6ff24a0 <_ZN11RootWrapper32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_130qt_meta_tag_ZN11RootWrapperE_tEEE.lto_priv.0>,
static_metacall = 0x560da6d8c980 <RootWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0,
metaTypes = 0x560da70dd800 <_ZN11RootWrapper36qt_staticMetaObjectRelocatingContentIN12_GLOBAL__N_130qt_meta_tag_ZN11RootWrapperE_tEEE.lto_priv.0>, extradata = 0x0}}, rootPath = {d = {d = 0x7f16fb21e400, ptr = 0x7f16fb21e410 u"/home/ssareta/.config/quickshell/caelestia/shell.qml", size = 52}}, shellId = {
d = {d = 0x7f16fb209aa0, ptr = 0x7f16fb209ab0 u"ab81b2156e7475f3761fc2e8a89b3612", size = 32}}, generation = 0x7f16f54644c0,
originalWorkingDirectory = {d = {d = 0x7f16f559bab0, ptr = 0x7f16f559bac0 u"/home/ssareta", size = 13}}, configDirWatcher = <incomplete type>}
code = <optimized out>
#17 0x0000560da6d31bac in qs::launch::(anonymous namespace)::launchFromCommand (cmd=..., coreApplication=0x7f16fb218820)
at /home/ssareta/.cache/paru/clone/quickshell-git/src/quickshell/src/launch/command.cpp:434
configPath = {d = {d = 0x7f16fb21e400, ptr = 0x7f16fb21e410 u"/home/ssareta/.config/quickshell/caelestia/shell.qml", size = 52},
--Type <RET> for more, q to quit, c to continue without paging--
static _empty = 0 u'\000'}
r = <optimized out>
#18 qs::launch::runCommand (argc=<optimized out>, argv=<optimized out>, coreApplication=<optimized out>)
at /home/ssareta/.cache/paru/clone/quickshell-git/src/quickshell/src/launch/command.cpp:542
state = {app = std::unique_ptr<CLI::App> = {get() = 0x7f16fb27a380}, exec = {argc = 5, argv = 0x7fff11ae4268}, log = {timestamp = false,
noColor = false, sparse = false, verbosity = 0, tail = 0, follow = false, rules = {str = {d = {d = 0x0, ptr = 0x0, size = 0},
static _empty = 0 u'\000'}}, readoutRules = {str = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}}, file = {str = {d = {
d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}}}, config = {path = {str = {d = {d = 0x0, ptr = 0x0, size = 0},
static _empty = 0 u'\000'}}, manifest = {str = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}}, name = {str = {d = {
d = 0x7f16fb225280, ptr = 0x7f16fb225290 u"caelestia", size = 9}, static _empty = 0 u'\000'}}, newest = false}, debug = {port = -1,
wait = false}, instance = {id = {str = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}}, pid = -1, all = false,
includeDead = false}, output = {json = false}, ipc = {ipc = 0x7f16fb27e980, show = 0x7f16fb27fb00, call = 0x7f16fb27fe80, getprop = 0x7f16fb280580,
showOld = false, target = {str = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}}, name = {str = {d = {d = 0x0, ptr = 0x0,
size = 0}, static _empty = 0 u'\000'}}, arguments = std::vector of length 0, capacity 0}, subcommand = {log = 0x7f16fb27b880,
list = 0x7f16fb27ca00, kill = 0x7f16fb27d800, msg = 0x7f16fb280900}, misc = {checkCompat = false, printVersion = false, killAll = false,
noDuplicate = true, daemonize = true}}
#19 0x0000560da6d199ff in qs::launch::main (argc=5, argv=0x7fff11ae4268)
at /home/ssareta/.cache/paru/clone/quickshell-git/src/quickshell/src/launch/main.cpp:112
qArgC = 1
coreApplication = 0x7f16fb218820
code = <optimized out>
#20 main (argc=5, argv=0x7fff11ae4268) at /home/ssareta/.cache/paru/clone/quickshell-git/src/quickshell/src/main.cpp:3
No locals.
Reminder
- [x] I agree that it's usually impossible for others to help me without my logs.
I'm really sorry cause I'm not here to help but why did you check the box that reads
I've ticked the checkboxes without reading their contents
π
well, it was the truth... I really didn't read them π
Anyway I reverted to https://github.com/quickshell-mirror/quickshell/commit/49646e4407fce5925920b178872ddd9f8e495218 and is now good, so will file a bug against quickshell. Probably https://github.com/quickshell-mirror/quickshell/commit/59f5744f307606435c52e7356ec67e3a483ddff0 is what causes the issue since it does some stuff around desktop entry scanning...
Also not sure if it's related to anything caelestia is doing, but probably not since ig it just calls the qs desktop entry scan functionality?
Yeah thats the funniest thing, cause it actually works, you can tell someone didn't read them. To be fair my shell won't start at all. I'm trying to find a way to reverse the upgrades.
Was exactly the same here! It works just fine after reverting quickshell to that specific commit tho.
Not sure what distro you're on, but if you're on arch and using quickshell-git from AUR, here's what usually works for me for AUR -git package modifications/reversions, even tho it's a bit of a pain:
- Clone the AUR package repo somewhere:
git clone https://aur.archlinux.org/quickshell-git.git ~/Documents/quickshell-git
- Clone the quickshell repo somewhere:
git clone https://github.com/quickshell-mirror/quickshell.git ~/Documents/quickshell
- Go the the cloned
quickshellrepo, then checkout the good commit:
git checkout 49646e4
- Open the PKGBUILD file in the cloned
quickshell-gitrepo, find the line that says:
source=("$_pkgsrc"::"git+$url.git"
and replace with the path of your cloned quickshell repo, like this:
source=("$_pkgsrc"::"git+file:///home/username/Documents/quickshell"
-
Run
makepkg -siinside thequickshell-gitfolder. Say yes to replacing your existing installation. -
Relaunch shell with
caelestia shell -d, should hopefully work now.
How do I skip the integrity checks? Edit: nvm
I forcefully removed quickshell-git as caelestia depended on it, cleared cache, and did a rebuild+cleanbuild of quickshell again, after which I seemed to have had to cmake off upstream synced main branch specifically, even though no conflicts and I could go back to another branch afterward.
But works fine after that using the latest quickshell too, it's just a bit temperamental about holding on I guess, can't quite figure out why it does this
Was exactly the same here! It works just fine after reverting quickshell to that specific commit tho.
Not sure what distro you're on, but if you're on arch and using
quickshell-gitfrom AUR, here's what usually works for me for AUR-gitpackage modifications/reversions, even tho it's a bit of a pain:
- Clone the AUR package repo somewhere:
git clone https://aur.archlinux.org/quickshell-git.git ~/Documents/quickshell-git
- Clone the quickshell repo somewhere:
git clone https://github.com/quickshell-mirror/quickshell.git ~/Documents/quickshell
- Go the the cloned
quickshellrepo, then checkout the good commit:git checkout 49646e4
- Open the PKGBUILD file in the cloned
quickshell-gitrepo, find the line that says:source=("$_pkgsrc"::"git+$url.git"and replace with the path of your cloned quickshell repo, like this:
source=("$_pkgsrc"::"git+file:///home/username/Documents/quickshell"
Run
makepkg -siinside thequickshell-gitfolder. Say yes to replacing your existing installation.Relaunch shell with
caelestia shell -d, should hopefully work now.
So I tried this and it mostly went well until this happened
@Shay0Plays in step 4 make sure you left the rest of the line intact, it's split across two lines, so it should look like:
source=("$_pkgsrc"::"git+file:///home/username/Documents/quickshell"
quickshell-check.hook)
It's complaining about failing to find quickshell-check.hook, which should be a file in your quickshell-git cloned repo. So if the file is there which it should be, it's prob some kind of syntax error with that line? And if the line is correct and it still can't find it then maybe it's some kind of permissions error? You could try sudo makepkg -si, or maybe chown the quickshell-git directory for your username (altho this should really not be necessary)
Can you check if d89dc8f318ba4dcb107239f01796903e6f3bdf1c fixes this please? I can't repro the error (although I'm not on latest QS, I can't update rn)
Can you check if d89dc8f fixes this please? I can't repro the error (although I'm not on latest QS, I can't update rn)
Not really π
β 0s β cd ~/.config/quickshell/caelestia β node β« 24.8.0 py ββ 3.13.7 16:31
β 0s β git pull β‘ caelestia β³via β³ v4.1.1 16:31
remote: Enumerating objects: 11, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 11 (delta 5), reused 11 (delta 5), pack-reused 0 (from 0)
Unpacking objects: 100% (11/11), 1.62 KiB | 332.00 KiB/s, done.
From https://github.com/caelestia-dots/shell
c6e9afc..d89dc8f main -> origin/main
Updating c6e9afc..d89dc8f
Fast-forward
modules/BatteryMonitor.qml | 2 +-
plugin/src/Caelestia/Models/filesystemmodel.cpp | 11 +++++------
2 files changed, 6 insertions(+), 7 deletions(-)
β 0s β qs -c caelestia β‘ caelestia β³via β³ v4.1.1 16:31
INFO: Launching config: "/home/belal/.config/quickshell/caelestia/shell.qml"
INFO: Shell ID: "4b7e5e3c70a7476f11f787fae8f2c378" Path ID "4b7e5e3c70a7476f11f787fae8f2c378"
INFO: Saving logs to "/run/user/1000/quickshell/by-id/9yb5lxx2t/log.qslog"
WARN: QFont::fromString: Invalid description '(empty)'
WARN quickshell.dbus.objectmanager: Failed to create DBusObjectManagerInterface for "org.bluez" "/" : QDBusError("", "")
INFO: Configuration Loaded
WARN scene: @services/Notifs.qml[83:-1]: SyntaxError: JSON.parse: Parse error
WARN: QEventLoop: Cannot be used without QCoreApplication
ERROR: Quickshell has crashed under pid 15541 (Coredumps will be available under that pid.)
ERROR: Further crash information is stored under "/home/belal/.cache/quickshell/crashes/9yb5lxx2t"
ERROR: Quickshell crashed within 10 seconds of launching. Not restarting to avoid a crash loop.
WARN: QFont::fromString: Invalid description '(empty)'
Can you show the backtrace please? (run coredumpctl debug 15541 then run bt -full)
Can you show the backtrace please? (run
coredumpctl debug 15541then runbt -full)
Here
β 0s β qs -c caelestia β node β« 24.8.0 py ββ 3.13.7 16:39
INFO: Launching config: "/home/belal/.config/quickshell/caelestia/shell.qml"
INFO: Shell ID: "4b7e5e3c70a7476f11f787fae8f2c378" Path ID "4b7e5e3c70a7476f11f787fae8f2c378"
INFO: Saving logs to "/run/user/1000/quickshell/by-id/gtcsxxx2t/log.qslog"
WARN: QFont::fromString: Invalid description '(empty)'
WARN quickshell.dbus.objectmanager: Failed to create DBusObjectManagerInterface for "org.bluez" "/" : QDBusError("", "")
INFO: Configuration Loaded
WARN scene: @services/Notifs.qml[83:-1]: SyntaxError: JSON.parse: Parse error
WARN: QEventLoop: Cannot be used without QCoreApplication
ERROR: Quickshell has crashed under pid 16663 (Coredumps will be available under that pid.)
ERROR: Further crash information is stored under "/home/belal/.cache/quickshell/crashes/gtcsxxx2t"
ERROR: Quickshell crashed within 10 seconds of launching. Not restarting to avoid a crash loop.
β WARN: QFont::fromString: Invalid description '(empty)'
β 3s β WARN: QThreadStorage: entry 4 destroyed before end of thread 0x7f9ab9218820 β node β« 24.8.0 py ββ 3.13.7 16:39
WARN: QThreadStorage: entry 3 destroyed before end of thread 0x7f9ab9218820
WARN: QThreadStorage: entry 2 destroyed before end of thread 0x7f9ab9218820
β 3s β coredumpctl debug 16663 β node β« 24.8.0 py ββ 3.13.7 16:39
PID: 16663 (qs)
UID: 1000 (belal)
GID: 1000 (belal)
Signal: 11 (SEGV)
Timestamp: Sun 2025-09-21 16:39:30 EEST (15s ago)
Command Line: qs -c caelestia
Executable: /usr/bin/quickshell
Control Group: /user.slice/user-1000.slice/[email protected]/app.slice/app-Hyprland-foot-3fe2c2dc.scope
Unit: [email protected]
User Unit: app-Hyprland-foot-3fe2c2dc.scope
Slice: user-1000.slice
Owner UID: 1000 (belal)
Boot ID: 132b418fe8dd4179b366a1acc28c28fd
Machine ID: ef8e5cfcf4f846d4ba7cbb22d7e75bce
Hostname: archlinux
Storage: /var/lib/systemd/coredump/core.qs.1000.132b418fe8dd4179b366a1acc28c28fd.16663.1758461970000000.zst (present)
Size on Disk: 10.9M
Message: Process 16663 (qs) of user 1000 dumped core.
Stack trace of thread 16663:
#0 0x00007f2e3bf1d864 _ZNK9QFileInfo5isDirEv (libQt6Core.so.6 + 0x11d864)
#1 0x00007f2e2025c989 _ZNK9caelestia15FileSystemModel14compareEntriesEPKNS_15FileSystemEntryES3_ (libcaelestia-models.so + 0x18989)
#2 0x00007f2e2025cada _ZSt16__introsort_loopIN5QListIPN9caelestia15FileSystemEntryEE8iteratorExN9__gnu_cxx5__ops15_Iter_comp_iterIZNS1_15FileSystemModel12applyChangesERK4QSetI7QStringESE_EUlPKS2_SG_E_EEEvT_SJ_T0_T1_ (libcaelestia-models.so + 0x18ada)
#3 0x00007f2e2025e15e _ZN9caelestia15FileSystemModel12applyChangesERK4QSetI7QStringES5_ (libcaelestia-models.so + 0x1a15e)
#4 0x00007f2e2025f6a1 _ZN9QtPrivate15QCallableObjectIZN9caelestia15FileSystemModel19updateEntriesForDirERK7QStringEUlvE_NS_4ListIJEEEvE4implEiPNS_15QSlotObjectBaseEP7QObjectPPvPb (libcaelestia-models.so + 0x1b6a1)
#5 0x00007f2e3bfd466f n/a (libQt6Core.so.6 + 0x1d466f)
#6 0x00007f2e3c1311b4 _ZN18QFutureWatcherBase5eventEP6QEvent (libQt6Core.so.6 + 0x3311b4)
#7 0x00007f2e3bf68678 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x168678)
#8 0x00007f2e3bf68a5b _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt6Core.so.6 + 0x168a5b)
#9 0x00007f2e3c2437f8 n/a (libQt6Core.so.6 + 0x4437f8)
#10 0x00007f2e3b3c2880 n/a (libglib-2.0.so.0 + 0x5e880)
#11 0x00007f2e3b3c3cd7 n/a (libglib-2.0.so.0 + 0x5fcd7)
#12 0x00007f2e3b3c3ee5 g_main_context_iteration (libglib-2.0.so.0 + 0x5fee5)
#13 0x00007f2e3c23ffe2 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x43ffe2)
#14 0x00007f2e3bf74ca6 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x174ca6)
#15 0x00007f2e3bf6cd21 _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x16cd21)
#16 0x000056005a0574be _ZN2qs6launch6launchERKNS0_10LaunchArgsEPPcP16QCoreApplication (/usr/bin/quickshell + 0xb74be)
#17 0x000056005a04fc40 _ZN2qs6launch10runCommandEiPPcP16QCoreApplication (/usr/bin/quickshell + 0xafc40)
#18 0x000056005a038167 _ZN2qs6launch4mainEiPPc (/usr/bin/quickshell + 0x98167)
#19 0x00007f2e3b627675 n/a (libc.so.6 + 0x27675)
#20 0x00007f2e3b627729 __libc_start_main (libc.so.6 + 0x27729)
#21 0x000056005a03a555 _start (/usr/bin/quickshell + 0x9a555)
ELF object binary architecture: AMD x86-64
GNU gdb (GDB) 16.3
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/quickshell...
warning: Can't open file /memfd:JSVMStack:QtQml (deleted) during file-backed mapping note processing
warning: Can't open file /memfd:JSGCHeap:QtQml (deleted) during file-backed mapping note processing
warning: Can't open file /memfd:unknown-usage:QtQml (deleted) during file-backed mapping note processing
warning: Can't open file /memfd:JITCode:QtQml (deleted) during file-backed mapping note processing
[New LWP 16663]
This GDB supports auto-downloading debuginfo from the following URLs:
<https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) n
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/qs -c caelestia'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f2e3bf1d864 in QFileInfo::isDir() const () from /usr/bin/../lib/libQt6Core.so.6
(gdb) bt -full
#0 0x00007f2e3bf1d864 in QFileInfo::isDir() const () at /usr/bin/../lib/libQt6Core.so.6
#1 0x00007f2e2025c989 in caelestia::FileSystemModel::compareEntries(caelestia::FileSystemEntry const*, caelestia::FileSystemEntry const*) const ()
at /usr/lib/qt6/qml/Caelestia/Models/libcaelestia-models.so
#2 0x00007f2e2025cada in void std::__introsort_loop<QList<caelestia::FileSystemEntry*>::iterator, long long, __gnu_cxx::__ops::_Iter_comp_iter<caelestia::FileSystemModel::applyChanges(QSet<QString> const&, QSet<QString> const&)::{lambda(caelestia::FileSystemEntry const*, caelestia::FileSystemEntry const*)#1}> >(QList<caelestia::FileSystemEntry*>::iterator, QList<caelestia::FileSystemEntry*>::iterator, long long, __gnu_cxx::__ops::_Iter_comp_iter<caelestia::FileSystemModel::applyChanges(QSet<QString> const&, QSet<QString> const&)::{lambda(caelestia::FileSystemEntry const*, caelestia::FileSystemEntry const*)#1}>) () at /usr/lib/qt6/qml/Caelestia/Models/libcaelestia-models.so
#3 0x00007f2e2025e15e in caelestia::FileSystemModel::applyChanges(QSet<QString> const&, QSet<QString> const&) () at /usr/lib/qt6/qml/Caelestia/Models/libcaelestia-models.so
#4 0x00007f2e2025f6a1 in QtPrivate::QCallableObject<caelestia::FileSystemModel::updateEntriesForDir(QString const&)::{lambda()#1}, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () at /usr/lib/qt6/qml/Caelestia/Models/libcaelestia-models.so
#5 0x00007f2e3bfd466f in ??? () at /usr/bin/../lib/libQt6Core.so.6
#6 0x00007f2e3c1311b4 in QFutureWatcherBase::event(QEvent*) () at /usr/bin/../lib/libQt6Core.so.6
#7 0x00007f2e3bf68678 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/bin/../lib/libQt6Core.so.6
#8 0x00007f2e3bf68a5b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/bin/../lib/libQt6Core.so.6
#9 0x00007f2e3c2437f8 in ??? () at /usr/bin/../lib/libQt6Core.so.6
#10 0x00007f2e3b3c2880 in ??? () at /usr/bin/../lib/libglib-2.0.so.0
#11 0x00007f2e3b3c3cd7 in ??? () at /usr/bin/../lib/libglib-2.0.so.0
#12 0x00007f2e3b3c3ee5 in g_main_context_iteration () at /usr/bin/../lib/libglib-2.0.so.0
#13 0x00007f2e3c23ffe2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/bin/../lib/libQt6Core.so.6
#14 0x00007f2e3bf74ca6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/bin/../lib/libQt6Core.so.6
#15 0x00007f2e3bf6cd21 in QCoreApplication::exec() () at /usr/bin/../lib/libQt6Core.so.6
#16 0x000056005a0574be in qs::launch::launch (args=<optimized out>, argv=0x7ffd68fbbb68, coreApplication=0x7f2e37418820)
at /usr/src/debug/quickshell-git/quickshell/src/launch/launch.cpp:256
pathId = {d = {d = 0x7f2e37411b40, ptr = 0x7f2e37411b50 "4b7e5e3c70a7476f11f787fae8f2c378", size = 32}, static _empty = 0 '\000'}
shellId = {d = {d = 0x7f2e37409aa0, ptr = 0x7f2e37409ab0 u"4b7e5e3c70a7476f11f787fae8f2c378", size = 32}, static _empty = 0 u'\000'}
file = <incomplete type>
pragmas = {useQApplication = false, nativeTextRendering = false, desktopSettingsAware = true, useSystemStyle = false, iconTheme = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}, envOverrides = {d = 0x7f2e37425430}, dataDir = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}, stateDir = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}}
stream = <incomplete type>
launchTime = <optimized out>
crashHandler = {d = 0x7f2e374189a0}
app = 0x7f2e37418820
qArgC = 0
root = {<QObject> = {<No data fields>}, static staticMetaObject = {d = {superdata = {direct = 0x7f2e3c415500 <QObject::staticMetaObject>}, stringdata = 0x56005a2d608c <_ZN11RootWrapper32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_130qt_meta_tag_ZN11RootWrapperE_tEEE.lto_priv.0+172>, data = 0x56005a2d5fe0 <_ZN11RootWrapper32qt_staticMetaObjectStaticContentIN12_GLOBAL__N_130qt_meta_tag_ZN11RootWrapperE_tEEE.lto_priv.0>, static_metacall = 0x56005a0a8ed0 <RootWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x56005a3b3820 <_ZN11RootWrapper36qt_staticMetaObjectRelocatingContentIN12_GLOBAL__N_130qt_meta_tag_ZN11RootWrapperE_tEEE.lto_priv.0>, extradata =
Can you check if d89dc8f fixes this please? I can't repro the error (although I'm not on latest QS, I can't update rn)
Not really π
β 0s β cd ~/.config/quickshell/caelestia β node β« 24.8.0 py ββ 3.13.7 16:31 β 0s β git pull β‘ caelestia β³via β³ v4.1.1 16:31 remote: Enumerating objects: 11, done. remote: Counting objects: 100% (11/11), done. remote: Compressing objects: 100% (5/5), done. remote: Total 11 (delta 5), reused 11 (delta 5), pack-reused 0 (from 0) Unpacking objects: 100% (11/11), 1.62 KiB | 332.00 KiB/s, done. From https://github.com/caelestia-dots/shell c6e9afc..d89dc8f main -> origin/main Updating c6e9afc..d89dc8f Fast-forward modules/BatteryMonitor.qml | 2 +- plugin/src/Caelestia/Models/filesystemmodel.cpp | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) β 0s β qs -c caelestia β‘ caelestia β³via β³ v4.1.1 16:31 INFO: Launching config: "/home/belal/.config/quickshell/caelestia/shell.qml" INFO: Shell ID: "4b7e5e3c70a7476f11f787fae8f2c378" Path ID "4b7e5e3c70a7476f11f787fae8f2c378" INFO: Saving logs to "/run/user/1000/quickshell/by-id/9yb5lxx2t/log.qslog" WARN: QFont::fromString: Invalid description '(empty)' WARN quickshell.dbus.objectmanager: Failed to create DBusObjectManagerInterface for "org.bluez" "/" : QDBusError("", "") INFO: Configuration Loaded WARN scene: @services/Notifs.qml[83:-1]: SyntaxError: JSON.parse: Parse error WARN: QEventLoop: Cannot be used without QCoreApplication ERROR: Quickshell has crashed under pid 15541 (Coredumps will be available under that pid.) ERROR: Further crash information is stored under "/home/belal/.cache/quickshell/crashes/9yb5lxx2t" ERROR: Quickshell crashed within 10 seconds of launching. Not restarting to avoid a crash loop. WARN: QFont::fromString: Invalid description '(empty)'
Just wanted to ask, how you copy the terminal like that, control c doesn't work
Can you show the backtrace please? (run
coredumpctl debug 15541then runbt -full)Here
@belabh Can you try this patch please?
diff --git a/plugin/src/Caelestia/Models/filesystemmodel.cpp b/plugin/src/Caelestia/Models/filesystemmodel.cpp
index 536f14b..83443b2 100644
--- a/plugin/src/Caelestia/Models/filesystemmodel.cpp
+++ b/plugin/src/Caelestia/Models/filesystemmodel.cpp
@@ -411,7 +411,17 @@ void FileSystemModel::applyChanges(const QSet<QString>& removedPaths, const QSet
QList<FileSystemEntry*> newEntries;
for (const auto& path : addedPaths) {
- newEntries << new FileSystemEntry(path, m_dir.relativeFilePath(path), this);
+ const auto entry = new FileSystemEntry(path, m_dir.relativeFilePath(path), this);
+ newEntries << entry;
+ QObject::connect(entry, &FileSystemEntry::destroyed, this, [this](QObject* entry) {
+ const auto idx = static_cast<int>(m_entries.indexOf(entry));
+ if (idx != -1) {
+ beginRemoveRows(QModelIndex(), idx, idx);
+ emit removed(static_cast<FileSystemEntry*>(entry)->path());
+ m_entries.remove(idx);
+ endRemoveRows();
+ }
+ });
}
const auto comp = [this](const FileSystemEntry* a, const FileSystemEntry* b) {
return compareEntries(a, b);
@belabh Can you try this patch please?
β 0s β cd ~/.config/quickshell/caelestia β‘ caelestia β³βͺββ¦β₯via β³ v4.1.1 18:01
β 0s β nvim fix.patch β‘ caelestia β³βͺββ¦β₯via β³ v4.1.1 18:01
β 0s β git apply fix.patch β‘ caelestia β³βͺββ¦β₯via β³ v4.1.1 18:01
β΄11βΏ1
β 0s β cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/ -DINSTALL_QSCONFDIR=~/.config/quickshell/caelestia
-- The CXX compiler identification is GNU 15.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found WrapVulkanHeaders: /usr/include
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.5.1")
-- Checking for module 'libqalculate'
-- Found libqalculate, version 5.7.0
-- Checking for module 'libpipewire-0.3'
-- Found libpipewire-0.3, version 1.4.8
-- Checking for module 'aubio'
-- Found aubio, version 0.4.9
-- Checking for module 'cava'
-- Found cava, version 0.10.4
-- Created QML module Caelestia, version 1.3
-- Created QML module Caelestia.Internal, version 1.3
-- Created QML module Caelestia.Models, version 1.3
-- Created QML module Caelestia.Services, version 1.3
-- Configuring done (3.4s)
-- Generating done (0.2s)
-- Build files have been written to: /home/belal/.config/quickshell/caelestia/build
β΄11βΏ1
β 3s β cmake --build build β‘ caelestia β³βͺββ¦ββ¦β₯via β³ v4.1.1 18:02
[40/68] Building CXX object plugin/src/Caelestia/Models/CMakeFiles/caelestia-models.dir/filesystemmodel.cpp.o
/home/belal/.config/quickshell/caelestia/plugin/src/Caelestia/Models/filesystemmodel.cpp: In lambda function:
/home/belal/.config/quickshell/caelestia/plugin/src/Caelestia/Models/filesystemmodel.cpp:416:84: warning: declaration of βentryβ shadows a previous local [-Wshadow]
416 | QObject::connect(entry, &FileSystemEntry::destroyed, this, [this](QObject* entry) {
| ~~~~~~~~~^~~~~
/home/belal/.config/quickshell/caelestia/plugin/src/Caelestia/Models/filesystemmodel.cpp:414:20: note: shadowed declaration is here
414 | const auto entry = new FileSystemEntry(path, m_dir.relativeFilePath(path), this);
| ^~~~~
[68/68] Linking CXX shared module qml/Caelestia/Services/libcaelestia-servicesplugin.so
β΄11βΏ1
β 2m42s β sudo cmake --install build β‘ caelestia β³βͺββ¦ββ¦β₯via β³ v4.1.1 18:05
[sudo] password for belal:
-- Install configuration: "Release"
-- Installing: /usr/lib/caelestia/version
-- Installing: /usr/lib/qt6/qml/Caelestia/libcaelestia.so
-- Set non-toolchain portion of runtime path of "/usr/lib/qt6/qml/Caelestia/libcaelestia.so" to "$ORIGIN:$ORIGIN/../lib"
-- Installing: /usr/lib/qt6/qml/Caelestia/libcaelestiaplugin.so
-- Set non-toolchain portion of runtime path of "/usr/lib/qt6/qml/Caelestia/libcaelestiaplugin.so" to "$ORIGIN:$ORIGIN/../lib"
-- Installing: /usr/lib/qt6/qml/Caelestia/qmldir
-- Installing: /usr/lib/qt6/qml/Caelestia/caelestia.qmltypes
-- Installing: /usr/lib/qt6/qml/Caelestia/Internal/libcaelestia-internal.so
-- Set non-toolchain portion of runtime path of "/usr/lib/qt6/qml/Caelestia/Internal/libcaelestia-internal.so" to "$ORIGIN:$ORIGIN/../lib"
-- Installing: /usr/lib/qt6/qml/Caelestia/Internal/libcaelestia-internalplugin.so
-- Set non-toolchain portion of runtime path of "/usr/lib/qt6/qml/Caelestia/Internal/libcaelestia-internalplugin.so" to "$ORIGIN:$ORIGIN/../lib"
-- Installing: /usr/lib/qt6/qml/Caelestia/Internal/qmldir
-- Installing: /usr/lib/qt6/qml/Caelestia/Internal/caelestia-internal.qmltypes
-- Installing: /usr/lib/qt6/qml/Caelestia/Models/libcaelestia-models.so
-- Set non-toolchain portion of runtime path of "/usr/lib/qt6/qml/Caelestia/Models/libcaelestia-models.so" to "$ORIGIN:$ORIGIN/../lib"
-- Installing: /usr/lib/qt6/qml/Caelestia/Models/libcaelestia-modelsplugin.so
-- Set non-toolchain portion of runtime path of "/usr/lib/qt6/qml/Caelestia/Models/libcaelestia-modelsplugin.so" to "$ORIGIN:$ORIGIN/../lib"
-- Installing: /usr/lib/qt6/qml/Caelestia/Models/qmldir
-- Installing: /usr/lib/qt6/qml/Caelestia/Models/caelestia-models.qmltypes
-- Installing: /usr/lib/qt6/qml/Caelestia/Services/libcaelestia-services.so
-- Set non-toolchain portion of runtime path of "/usr/lib/qt6/qml/Caelestia/Services/libcaelestia-services.so" to "$ORIGIN:$ORIGIN/../lib"
-- Installing: /usr/lib/qt6/qml/Caelestia/Services/libcaelestia-servicesplugin.so
-- Set non-toolchain portion of runtime path of "/usr/lib/qt6/qml/Caelestia/Services/libcaelestia-servicesplugin.so" to "$ORIGIN:$ORIGIN/../lib"
-- Installing: /usr/lib/qt6/qml/Caelestia/Services/qmldir
-- Installing: /usr/lib/qt6/qml/Caelestia/Services/caelestia-services.qmltypes
-- Installing: ~/.config/quickshell/caelestia/assets
CMake Error at build/cmake_install.cmake:64 (file):
file INSTALL cannot set permissions on
"~/.config/quickshell/caelestia/assets": No such file or directory.
β΄11βΏ1
β 1s βββ qs -c caelestia β‘ caelestia β³βͺββ¦ββ¦β₯via β³ v4.1.1 18:05
INFO: Launching config: "/home/belal/.config/quickshell/caelestia/shell.qml"
INFO: Shell ID: "4b7e5e3c70a7476f11f787fae8f2c378" Path ID "4b7e5e3c70a7476f11f787fae8f2c378"
INFO: Saving logs to "/run/user/1000/quickshell/by-id/ig3vx1y2t/log.qslog"
WARN: QFont::fromString: Invalid description '(empty)'
WARN quickshell.dbus.objectmanager: Failed to create DBusObjectManagerInterface for "org.bluez" "/" : QDBusError("", "")
INFO: Configuration Loaded
WARN scene: @services/Notifs.qml[83:-1]: SyntaxError: JSON.parse: Parse error
WARN: QEventLoop: Cannot be used without QCoreApplication
WARN: QFont::fromString: Invalid description '(empty)'
ERROR: Quickshell has crashed under pid 4533 (Coredumps will be available under that pid.)
ERROR: Further crash information is stored under "/home/belal/.cache/quickshell/crashes/ig3vx1y2t"
ERROR: Quickshell crashed within 10 seconds of launching. Not restarting to avoid a crash loop.
β β΄11βΏ1
β 2s βββ WARN: QThreadStorage: entry 4 destroyed before end of thread 0x7fa8a2218820 β‘ caelestia β³βͺββ¦ββ¦β₯via β³ v4.1.1 18:06
WARN: QThreadStorage: entry 3 destroyed before end of thread 0x7fa8a2218820
WARN: QThreadStorage: entry 2 destroyed before end of thread 0x7fa8a2218820
WARN: QThreadStorage: entry 1 destroyed before end of thread 0x7fa8a2218820
β΄11βΏ1
β 2s βββ qs -c caelestia β‘ caelestia β³βͺββ¦ββ¦β₯via β³ v4.1.1 18:06
INFO: Launching config: "/home/belal/.config/quickshell/caelestia/shell.qml"
INFO: Shell ID: "4b7e5e3c70a7476f11f787fae8f2c378" Path ID "4b7e5e3c70a7476f11f787fae8f2c378"
INFO: Saving logs to "/run/user/1000/quickshell/by-id/6m3gy1y2t/log.qslog"
WARN: QFont::fromString: Invalid description '(empty)'
WARN quickshell.dbus.objectmanager: Failed to create DBusObjectManagerInterface for "org.bluez" "/" : QDBusError("", "")
INFO: Configuration Loaded
WARN scene: @services/Notifs.qml[83:-1]: SyntaxError: JSON.parse: Parse error
ERROR: Quickshell has crashed under pid 4738 (Coredumps will be available under that pid.)
ERROR: Further crash information is stored under "/home/belal/.cache/quickshell/crashes/6m3gy1y2t"
ERROR: Quickshell crashed within 10 seconds of launching. Not restarting to avoid a crash loop.
WARN: QEventLoop: Cannot be used without QCoreApplication
β WARN: QFont::fromString: Invalid description '(empty)'
β΄11βΏ1
β 2s βββ WARN: QThreadStorage: entry 4 destroyed before end of thread 0x7fabcf818820 β‘ caelestia β³βͺββ¦ββ¦β₯via β³ v4.1.1 18:06
WARN: QThreadStorage: entry 3 destroyed before end of thread 0x7fabcf818820
WARN: QThreadStorage: entry 2 destroyed before end of thread 0x7fabcf818820
I did the steps that were said before, but now my windows are square, and the window animations are mostly gone, if I have multiple windows in a space, they fill the whole thing other wise leave the gap there was meant to be. It goes after a restart, must've been something random.
Having the same issue, just updated everything today and quickshell crashed on reboot.
https://github.com/caelestia-dots/caelestia/issues/158
@belabh @senkun could you check if the issue has been fixed with bc56e61ac019468571220cc7190c667d3ed264f0? It fixed another crash for me (I couldn't repro your crash, even after I updated). The crash I was getting also happened at startup though (but the backtrace is completely different).
@belabh @senkun could you check if the issue has been fixed with bc56e61? It fixed another crash for me (I couldn't repro your crash, even after I updated). The crash I was getting also happened at startup though (but the backtrace is completely different).
Good news!
I first tried git pull and qs -c caelestia, but it crashed
Then I just reinstalled quickshell
yay -S quickshell-git
And now it works perfectly tested 10 times, no crashes, no errors
Finally something works πππ