https://bugs.kde.org/show_bug.cgi?id=370303

            Bug ID: 370303
           Summary: Infinite recursion leading to stack overflow under
                    XWayland
           Product: Spectacle
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: pe...@lekensteyn.nl

While testing Spectacle in Weston+XWayland on top of Plasma (X11), it
segfaulted.

A stack trace showed recursive calls to getWindowPixmap with the same window
argument:

QPixmap X11ImageGrabber::getWindowPixmap(xcb_window_t window, bool
blendPointer)
{
...
    if (xcbImage.isNull()) {
        return getWindowPixmap(QX11Info::appRootWindow(), blendPointer)
                .copy(geomReply->x, geomReply->y, geomReply->width,
geomReply->height);
    }


Reproducible: Always

Steps to Reproduce:
1. Install xorg-server-xwayland and configure weston as described at
https://wiki.archlinux.org/index.php/wayland#XWayland
2. Launch weston
3. Inside weston, launch Spectacle

Actual Results:  
Segfault (stack overflow)

Expected Results:  
A screenshot (or failing to do so, an error message explaining why).

xorg-server 1.18.4-1
plasma-workspace 5.8.0-1
spectacle 16.08.1-1 (happens on this version and on git)

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

Reply via email to