Menu

#2317 X leaks pixmaps on window switch

Bug
closed-fixed
nobody
5
2022-02-24
2022-02-19
No

GTK 3.24.24, Debian unstable (and stable)

It seems SciTE leaks X resources upon window switch - using the xrestop program, which tracks X resource usage, for SciTE 5.2.0 it report as bigger and bigger X resource usage when simply switching between two different windows of SciTE.

xrestop usage on 5.1.6:

6 - (Untitled) - SciTE ( PID:15422 ):
    res_base      : 0x8000000
    res_mask      : 0x1fffff
    windows       : 8
    GCs           : 3
    fonts         : 1
    pixmaps       : 8
    pictures      : 17
    glyphsets     : 2
    colormaps     : 0
    passive grabs : 0
    cursors       : 5
    unknowns      : 29
    pixmap bytes  : 313767
    other bytes   : ~2560
--

and on 5.2.0:

--
2 - (Untitled) - SciTE ( PID:16344 ):
    res_base      : 0x8400000
    res_mask      : 0x1fffff
    windows       : 8
    GCs           : 3
    fonts         : 1
    pixmaps       : 53
    pictures      : 62
    glyphsets     : 2
    colormaps     : 0
    passive grabs : 0
    cursors       : 5
    unknowns      : 29
    pixmap bytes  : 126548935
    other bytes   : ~3640
--

Notice the pixmap bytes.

This is reported downstream in Debian at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005965

and I can reproduce the behavior.

Discussion

  • Neil Hodgson

    Neil Hodgson - 2022-02-20
    • labels: --> scintilla, gtk
    • status: open --> open-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2022-02-20

    [8b16eb] should fix.

     

    Related

    Commit: [8b16eb]

  • Andreas Rönnquist

    Thank you - I can confirm that that fixes it.

     
  • Neil Hodgson

    Neil Hodgson - 2022-02-24
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.