Skip to content

Crash when switching between monitors using mouse #292

@EpicLiem

Description

@EpicLiem

General crash information

General information
===== Build Information =====
Git Revision: 6eb12551baf924f8fdecdd04113863a754259c34
Buildtime Qt Version: 6.9.2
Build Type: RelWithDebInfo
Compiler: GNU (15.2.1)
Complie Flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/liem/.cache/yay/quickshell-git/src=/usr/src/debug/quickshell-git -flto=auto

Build configuration:
  Distributor: AUR (package: quickshell-git)
  Distributor provided debuginfo: NO
  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: 95136
Run ID: 4912zujs3t
Shell ID: 16ee85225c9ea7a19fa3635391847b72
Config Path: /etc/xdg/quickshell/caelestia/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

I'm using https://github.com/caelestia-dots/caelestia, and I added

misc {
    vrr = 0
}

monitor = DP-4,[email protected],0x0,1
monitor = DP-5,3840x2160@60,2560x0,1.5

to my hyprland config.

Quickshell crashes anytime I move my mouse between monitors, but not if I use hotkeys.

Minidump

minidump.dmp.log

Log file

log.qslog.log

Configuration

As mentioned before, I'm using https://github.com/caelestia-dots/caelestia, and I added

misc {
    vrr = 0
}

monitor = DP-4,[email protected],0x0,1
monitor = DP-5,3840x2160@60,2560x0,1.5

to my hyprland config.

Backtrace

Different instance of the crash:

bt -full (code block not working, sorry) (gdb) bt -full #0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 tid = ret = 0 pd = old_mask = {__val = {7}} ret = #1 0x00007fbefda98a13 in __pthread_kill_internal (threadid=, signo=6) at pthread_kill.c:89 No locals.<``` t=..., message=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qlogging.cpp:2160 ctx = { = {static CurrentVersion = 2, version = 3, line = 0, file = 0x0, function = 0x0, category = 0x562e887c1094 "default"}, static DefaultBacktraceDepth = 32, backtrace = std::optional [no contained value]} #7 0x00007fbefe301908 in QDebug::~QDebug (this=, this=) at /usr/src/debug/qt6-base/qtbase/src/corelib/io/qdebug.cpp:163 ctxt = { = {static CurrentVersion = 2, version = 3, line = 0, file = 0x0, function = 0x0, category = 0x562e887c1094 "default"}, static DefaultBacktraceDepth = 32, backtrace = std::optional [no contained value]} ctxt = #8 0x0000562e8851f8fb in qs::wayland::buffer::dmabuf::WlDmaBuffer::createQsgTexture (this=, window=0x7fbeb551d050) at /usr/src/debug/quickshell-git/quickshell/src/wayland/buffer/dmabuf.cpp:641 context = qEglContext = display = 0x7fbeba364800 attribs = Python Exception : value has been optimized out
    eglImage = <optimized out>
    glTexture = 32702
    qsgTexture = <optimized out>
    tex = <optimized out>
    glEGLImageTargetTexture2DOES = 0x7fbeffb31ee0 <glEGLImageTargetTexture2DOES>
    attribNames = {_M_elems = {{fd = 12914, offset = 12915, pitch = 12916, modlo = 13379, modhi = 13380}, {fd = 12917, 
          offset = 12918, pitch = 12919, modlo = 13381, modhi = 13382}, {fd = 12920, offset = 12921, pitch = 12922, 
          modlo = 13383, modhi = 13384}, {fd = 13376, offset = 13377, pitch = 13378, modlo = 13385, modhi = 13386}}}

#9 0x0000562e88697b49 in qs::wayland::buffer::WlBufferQSGDisplayNode::syncSwapchain (this=0x7fbe35c2fc00, swapchain=...)
at /usr/src/debug/quickshell-git/quickshell/src/wayland/buffer/manager.cpp:140
buffer =
texture = {first = 0x7fbed2c8ce80, second = std::unique_ptrqs::wayland::buffer::WlBufferQSGTexture = {
get() = 0x0}}
#10 qs::wayland::screencopy::ScreencopyView::updatePaintNode (this=0x7fbef9b75240, oldNode=)
at /usr/src/debug/quickshell-git/quickshell/src/wayland/screencopy/view.cpp:168
node = 0x7fbe35c2fc00
swapchain =
#11 0x00007fbeffe80804 in QQuickWindowPrivate::updateDirtyNode (this=0x7fbeb552f800, item=0x7fbef9b75240)
at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:2291
itemPriv = 0x7fbeba385840
dirty =
clipEffectivelyChanged =
effectRefCount =
effectRefEffectivelyChanged =
#12 0x00007fbeffe8109d in QQuickWindowPrivate::updateDirtyNodes (this=this@entry=0x7fbeb552f800)
at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:2033
item = 0x7fbef9b75240
itemPriv =
updateList = 0x0
#13 0x00007fbeffe81c29 in QQuickWindowPrivate::syncSceneGraph (this=)
at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/items/qquickwindow.cpp:562
q =
wasRtDirty = false
cb =
#14 0x00007fbf000ac9e3 in QSGRenderThread::sync (this=, inExpose=false)
at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:564
d = 0x7fbeb552f800
hadRenderer =
canSync = true
#15 QSGRenderThread::syncAndRender (this=)
at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:733
profileFrames = false
threadTimer = {t1 = -9223372036854775808, t2 = -9223372036854775808}
syncTime = 0
renderTime = 0
d = 0x7fbeb552f800
syncRequested = true
exposeRequested = false
cd = 0x7fbeb552f800
rhiSupport =
hasValidSwapChain =
canRender =
lastCompletedGpuTime =
#16 QSGRenderThread::run (this=0x7fbe6416d0e0)
at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:992
No locals.
#17 0x00007fbefe520e92 in operator() (__closure=)
at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:434
thr =
data =
#18 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...)
at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:366
No locals.
#19 QThreadPrivate::start (arg=0x7fbe6416d0e0) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:394
__clframe = {__cancel_routine = , __cancel_arg = 0x7fbe6416d0e0, __do_it = 1,
__cancel_type = }
thr = 0x7fbe6416d0e0
data =
#20 0x00007fbefda969cb in start_thread (arg=) at pthread_create.c:448
ret =
pd =
out =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140454945355456, -8779366724766785413, 140454945355456,
140733057426992, 11, 140733057427255, -8779366724674510725, -8779493593925803909}, mask_was_saved = 0}},
priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call =
#21 0x00007fbefdb1aa0c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
No locals.

Executable

GitHub won't let me upload it as a .txt or compressed file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcrash

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions