quickshell icon indicating copy to clipboard operation
quickshell copied to clipboard

Crash when trying to create objects that don't exist

Open miku4k opened this issue 3 months ago • 0 comments

General crash information

General information
===== Build Information =====
Git Revision: tag-v0.2.1
Buildtime Qt Version: 6.9.2
Build Type: RelWithDebInfo
Compiler: GNU (14.3.0)
Complie Flags: 

Build configuration:
  Distributor: Nixpkgs
  Distributor provided debuginfo: TRUE
  Disable precompild headers (dev): OFF
  Build tests (dev): OFF
  ASAN (dev): OFF
  Keep Frame Pointers (dev): OFF
  Crash Handling: ON
  Use jemalloc: ON
  Unix Sockets: ON
  Wayland: ON
    Wlroots Layer-Shell: ON
    Session Lock: ON
    Foreign Toplevel Management: ON
    Hyprland: ON
      Hyprland IPC: ON
      Hyprland Global Shortcuts: ON
      Hyprland Focus Grabbing: ON
      Hyprland Surface Extensions: ON
    Screencopy: ON
      Image Copy Capture: ON
      Wlroots Screencopy: ON
      Hyprland Toplevel Export: ON
  X11: ON
  I3/Sway: ON
    I3/Sway IPC: ON
  System Tray: ON
  PipeWire: ON
  Mpris: ON
  Pam: ON
  Greetd: ON
  UPower: ON
  Notifications: ON
  Bluetooth: ON

===== Runtime Information =====
Runtime Qt Version: 6.9.2
Crashed process ID: 3523
Run ID: op2hjxi4t
Shell ID: fb16987ce8b9198921c5658df07bd9d8
Config Path: /tmp/tmp.YtV8JnMhjB/shell.qml

===== Report Integrity =====
Minidump save status: 0
Log save status: 0
Binary copy status: 0

===== System Information =====

/etc/os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

/etc/lsb-release:
DISTRIB_ID="Arch"
DISTRIB_RELEASE="rolling"
DISTRIB_DESCRIPTION="Arch Linux"

What caused the crash

Trying to create an object that doesn't exist, using an object that does exist like a namespace. It happens consistently, immediately on startup.

Related: #289

Minidump

minidump.dmp.log

Log file

log.qslog.log

Note what doesn't seem to be in the log file is this unusual line, though it might just be a side effect of the crash

WARN: QEventLoop: Cannot be used without QCoreApplication

Configuration

// shell.qml
import Quickshell
Scope {
    Scope.Example {}
}

Backtrace

Backtrace

#0  0x00007f21e2abd294 in QV4::ResolvedTypeReference::createPropertyCache() ()
   from /nix/store/xbcqcnwkx07zvczimj194vdc22yazvvn-qtdeclarative-6.9.2/lib/libQt6Qml.so.6
No symbol table info available.
#1  0x00007f21e2c76c5a in QQmlPropertyCacheCreator<QQmlTypeCompiler>::propertyCacheForObject(QmlIR::Object const*, QQmlBindingInstantiationContext const&, QQmlError*) const () from /nix/store/xbcqcnwkx07zvczimj194vdc22yazvvn-qtdeclarative-6.9.2/lib/libQt6Qml.so.6
No symbol table info available.
#2  0x00007f21e2c8f03a in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively(int, QQmlBindingInstantiationContext const&, QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired) () from /nix/store/xbcqcnwkx07zvczimj194vdc22yazvvn-qtdeclarative-6.9.2/lib/libQt6Qml.so.6
No symbol table info available.
#3  0x00007f21e2c8f470 in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectRecursively(int, QQmlBindingInstantiationContext const&, QQmlPropertyCacheCreator<QQmlTypeCompiler>::VMEMetaObjectIsRequired) () from /nix/store/xbcqcnwkx07zvczimj194vdc22yazvvn-qtdeclarative-6.9.2/lib/libQt6Qml.so.6
No symbol table info available.
#4  0x00007f21e2c8fc2e in QQmlPropertyCacheCreator<QQmlTypeCompiler>::buildMetaObjectsIncrementally() ()
   from /nix/store/xbcqcnwkx07zvczimj194vdc22yazvvn-qtdeclarative-6.9.2/lib/libQt6Qml.so.6
No symbol table info available.
#5  0x00007f21e2c6ed4b in QQmlTypeCompiler::compile() () from /nix/store/xbcqcnwkx07zvczimj194vdc22yazvvn-qtdeclarative-6.9.2/lib/libQt6Qml.so.6
No symbol table info available.
#6  0x00007f21e2c91d75 in QQmlTypeData::compile(QQmlRefPointer<QQmlTypeNameCache> const&, QV4::CompiledData::ResolvedTypeReferenceMap*, std::function<QByteArray ()> const&) () from /nix/store/xbcqcnwkx07zvczimj194vdc22yazvvn-qtdeclarative-6.9.2/lib/libQt6Qml.so.6
No symbol table info available.
#7  0x00007f21e2c9c0ac in QQmlTypeData::done() () from /nix/store/xbcqcnwkx07zvczimj194vdc22yazvvn-qtdeclarative-6.9.2/lib/libQt6Qml.so.6
No symbol table info available.
#8  0x00007f21e2b88785 in QQmlDataBlob::tryDone() () from /nix/store/xbcqcnwkx07zvczimj194vdc22yazvvn-qtdeclarative-6.9.2/lib/libQt6Qml.so.6
No symbol table info available.
#9  0x00007f21e2cb5ea0 in QQmlTypeLoader::setData(QQmlRefPointer<QQmlDataBlob> const&, QQmlDataBlob::SourceCodeData const&) ()
   from /nix/store/xbcqcnwkx07zvczimj194vdc22yazvvn-qtdeclarative-6.9.2/lib/libQt6Qml.so.6
No symbol table info available.
#10 0x00007f21e2cb6090 in QQmlTypeLoader::setData(QQmlRefPointer<QQmlDataBlob> const&, QByteArray const&) ()
   from /nix/store/xbcqcnwkx07zvczimj194vdc22yazvvn-qtdeclarative-6.9.2/lib/libQt6Qml.so.6
No symbol table info available.
#11 0x00007f21e2cb64a9 in QQmlTypeLoader::networkReplyFinished(QNetworkReply*) ()
   from /nix/store/xbcqcnwkx07zvczimj194vdc22yazvvn-qtdeclarative-6.9.2/lib/libQt6Qml.so.6
No symbol table info available.
#12 0x00007f21e2cc4b6c in QQmlThread::createMessageFromMethod<void (QQmlTypeLoaderThread::*)(QQmlRefPointer<QQmlDataBlob> const&), QQmlRefPointer<QQmlDataBlob> const&>(void (QQmlTypeLoaderThread::*&&)(QQmlRefPointer<QQmlDataBlob> const&), QQmlRefPointer<QQmlDataBlob> const&)::I::call(QQmlThread*) ()
   from /nix/store/xbcqcnwkx07zvczimj194vdc22yazvvn-qtdeclarative-6.9.2/lib/libQt6Qml.so.6
No symbol table info available.
#13 0x00007f21e2d5864d in QQmlThreadPrivate::threadEvent() () from /nix/store/xbcqcnwkx07zvczimj194vdc22yazvvn-qtdeclarative-6.9.2/lib/libQt6Qml.so.6
No symbol table info available.
#14 0x00007f21e2d5913d in QQmlThreadPrivate::event(QEvent*) () from /nix/store/xbcqcnwkx07zvczimj194vdc22yazvvn-qtdeclarative-6.9.2/lib/libQt6Qml.so.6
No symbol table info available.
#15 0x00007f21e1db76f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /nix/store/8bz54yy1s5mdvl941hrlhaarak9hqafm-qtbase-6.9.2/lib/libQt6Core.so.6
No symbol table info available.
#16 0x00007f21e1dbb5e8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
   from /nix/store/8bz54yy1s5mdvl941hrlhaarak9hqafm-qtbase-6.9.2/lib/libQt6Core.so.6
No symbol table info available.
#17 0x00007f21e20e64ff in postEventSourceDispatch(_GSource*, int (*)(void*), void*) ()
   from /nix/store/8bz54yy1s5mdvl941hrlhaarak9hqafm-qtbase-6.9.2/lib/libQt6Core.so.6
No symbol table info available.
#18 0x00007f21e1703f2d in g_main_context_dispatch_unlocked () from /nix/store/zqzyq9l84rfh3nv7cckh4q8ikl180h39-glib-2.84.4/lib/libglib-2.0.so.0
No symbol table info available.
#19 0x00007f21e1706278 in g_main_context_iterate_unlocked.isra () from /nix/store/zqzyq9l84rfh3nv7cckh4q8ikl180h39-glib-2.84.4/lib/libglib-2.0.so.0
No symbol table info available.
#20 0x00007f21e1706b0f in g_main_context_iteration () from /nix/store/zqzyq9l84rfh3nv7cckh4q8ikl180h39-glib-2.84.4/lib/libglib-2.0.so.0
No symbol table info available.
#21 0x00007f21e20e5b93 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /nix/store/8bz54yy1s5mdvl941hrlhaarak9hqafm-qtbase-6.9.2/lib/libQt6Core.so.6
No symbol table info available.
#22 0x00007f21e1dc649b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /nix/store/8bz54yy1s5mdvl941hrlhaarak9hqafm-qtbase-6.9.2/lib/libQt6Core.so.6
No symbol table info available.
#23 0x00007f21e1eef845 in QThread::exec() () from /nix/store/8bz54yy1s5mdvl941hrlhaarak9hqafm-qtbase-6.9.2/lib/libQt6Core.so.6
No symbol table info available.
#24 0x00007f21e1f98099 in QThreadPrivate::start(void*) () from /nix/store/8bz54yy1s5mdvl941hrlhaarak9hqafm-qtbase-6.9.2/lib/libQt6Core.so.6
No symbol table info available.
#25 0x00007f21e149a97a in start_thread () from /nix/store/qhw0sp183mqd04x5jp75981kwya64npv-glibc-2.40-66/lib/libc.so.6
No symbol table info available.
#26 0x00007f21e1522d2c in __clone3 () from /nix/store/qhw0sp183mqd04x5jp75981kwya64npv-glibc-2.40-66/lib/libc.so.6
No symbol table info available.

Executable

No response

miku4k avatar Oct 22 '25 09:10 miku4k