https://bugs.kde.org/show_bug.cgi?id=460446
--- Comment #7 from k...@hurrikhan.eu ---
(In reply to Vlad Zahorodnii from comment #1)
> > The code that creates the window is pretty basic.
> 
> Do you have a demo that you could attach to this bug report? It would make
> fixing this crash a lot easier.

Alas an upgrade earlier fixed the issue. I'll see if I can roll-back the
upgrades and make a "minimal" example when I have a bit more time.
kwin_x11 wasn't upgraded though : only the kernel and a bunch kde-related
packages (nothing xcb-related)

(In reply to Vlad Zahorodnii from comment #2)
> >         frameGeometry = {xp = 448, yp = 183, w = 1024, h = -4294966499}
> 
> The height is weird

(editer after your previous reply)

The random hints content has to be the initial trigger. It's interesting to see
the -4294966499 is actually -797, as in 0x100000000 - 0xfffffce3 = 797
        frameGeometry = {xp = 448, yp = 183, w = 1024, h = -4294966499}
        oldBufferGeometry = {xp = 448, yp = 183, w = 1024, h = 797}
        oldFrameGeometry = {xp = 448, yp = 183, w = 1024, h = 797}
        oldClientGeometry = {xp = 448, yp = 212, w = 1024, h = 768}

I presume the reason the issue happens during/around the expose is because it's
at that moment that the header is added.

IMHO, wherever the original fault is, getting a negative dimension should
probably be checked, sanitised, and trigger some warning.

The first crash seems to happen because moveResizeOutput returns a NULL that is
used directly with a call to the uuid() method of an Output object.

The subsequent crashes seem to happen calling the geometry() method on a NULL
Output object:
 #7  0x00007fb6ad3ad132 in KWin::Output::geometry() const (this=0x0) at
/usr/src/debug/kwin/kwin-5.26.0/src/core/output.cpp:169
#9  0x00007fb6ad4ed29e in KWin::Workspace::clientArea(KWin::clientAreaOption,
KWin::Window const*, KWin::Output const*) const
    (this=this@entry=0x55feded8d290, opt=opt@entry=KWin::FullScreenArea,
window=window@entry=0x55fedee1f830, output=0x0) at
/usr/src/debug/kwin/kwin-5.26.0/src/workspace.cpp:2523
Because in WorkSpace::clientArea(clientAreaOption opt, const Window *window),
the call to window->output() returns a NULL.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to