Skip to content

Received unexpected nullPtr in "windowGet". #302

@Magicloud

Description

@Magicloud
This might be a bug in the introspection data, or perhaps a use-after-free bug.
If in doubt, please report it at
        https://github.com/haskell-gi/haskell-gi/issues
CallStack (from HasCallStack):
  checkUnexpectedReturnNULL, called at ./GI/Wnck/Objects/Window.hs:6230:5 in gi-wnck-3.0.8-975HXvshBOwJHSsSkhyvoF:GI.Wnck.Objects.Window
  windowGet, called at src/X11.hs:16:43 in clipper-0.1.0.0-JCPHnGWuHrDJyDFlArW9uN:X11

OS: ArchLinux

Some system packages versions:

libwnck3 3.36.0-1
gtk3 1:3.24.21-1

Source: https://github.com/Magicloud/clipper

Tried #getEffectiveToplevel before castTo X11Window. No luck

Also using traceShowId to see the XID passing to windowGet, it is a reasonable number, but nothing like the window ID reported by xprop tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions