yshui / picom

A lightweight compositor for X11 with animation support
https://picom.app/
Other
4.17k stars 588 forks source link

Memory issue #671

Closed nasserbinlaboun closed 1 year ago

nasserbinlaboun commented 3 years ago

Platform

Arch Linux amd64

GPU, drivers, and screen setup

Radeon RX 580, xf86-video-amdgpu 21.0.0-1, two monitors configured side-by-side with xrandr

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: Radeon RX 580 Series (POLARIS10, DRM 3.41.0, 5.13.7-arch1-1, LLVM 12.0.1) (0x67df)
    Version: 21.1.6
    Accelerated: yes
    Video memory: 8192MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 6848 MB, largest block: 6848 MB
    VBO free aux. memory - total: 7990 MB, largest block: 7990 MB
    Texture free memory - total: 6848 MB, largest block: 6848 MB
    Texture free aux. memory - total: 7990 MB, largest block: 7990 MB
    Renderbuffer free memory - total: 6848 MB, largest block: 6848 MB
    Renderbuffer free aux. memory - total: 7990 MB, largest block: 7990 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 8192 MB
    Total available memory: 16384 MB
    Currently available dedicated video memory: 6848 MB
OpenGL vendor string: AMD
OpenGL renderer string: Radeon RX 580 Series (POLARIS10, DRM 3.41.0, 5.13.7-arch1-1, LLVM 12.0.1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.1.6
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.1.6
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.1.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Environment

xfce 4.16

picom version

v8.2 and vgit-78e86

[ 08/10/21 13:51:14.455 get_cfg WARN ] Dual-kawase blur is not implemented by the legacy backends, you must use the `experimental-backends` option.
[ 08/10/21 13:51:14.535 init_render WARN ] Old backends only support blur method "kernel". Your blur setting will not be applied
**Version:** vgit-78e86

### Extensions:

* Shape: Yes
* XRandR: Yes
* Present: Present

### Misc:

* Use Overlay: No
  (Another compositor is already running)
* Config file used: /home/****/.config/picom/picom.conf

### Drivers (inaccurate):

AMDGPU, Radeon

### Backend: glx

* Driver vendors:
 * GLX: Mesa Project and SGI
 * GL: AMD
* GL renderer: Radeon RX 580 Series (POLARIS10, DRM 3.41.0, 5.13.7-arch1-1, LLVM 12.0.1)
* Accelerated: 1

Configuration:

Configuration file ``` ################################# # Corners # ################################# # requires: https://github.com/sdhand/compton corner-radius = 0.0; rounded-corners-exclude = [ #"window_type = 'normal'", "class_g = 'awesome'", "class_g = 'URxvt'", "class_g = 'XTerm'", "class_g = 'kitty'", "class_g = 'Alacritty'", "class_g = 'Polybar'", "class_g = 'code-oss'", "class_g = 'firefox'", "class_g = 'Thunderbird'", "class_g = 'xfce4-panel'" ]; round-borders = 1; round-borders-exclude = [ #"class_g = 'TelegramDesktop'", ]; # Specify a list of border width rules, in the format `PIXELS:PATTERN`, # Note we don't make any guarantee about possible conflicts with the # border_width set by the window manager. # # example: # round-borders-rule = [ "2:class_g = 'URxvt'" ]; # round-borders-rule = [ "3:class_g = 'XTerm'", "3:class_g = 'URxvt'", "10:class_g = 'Alacritty'", "15:class_g = 'Signal'" ]; ################################# # Shadows # ################################# # Enabled client-side shadows on windows. Note desktop windows # (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, # unless explicitly requested using the wintypes option. # # shadow = false shadow = true; # The blur radius for shadows, in pixels. (defaults to 12) # shadow-radius = 12 shadow-radius = 7; # The opacity of shadows. (0.0 - 1.0, defaults to 0.75) # shadow-opacity = .75 # The left offset for shadows, in pixels. (defaults to -15) # shadow-offset-x = -15 shadow-offset-x = -7; # The top offset for shadows, in pixels. (defaults to -15) # shadow-offset-y = -15 shadow-offset-y = -7; # Red color value of shadow (0.0 - 1.0, defaults to 0). # shadow-red = 0 # Green color value of shadow (0.0 - 1.0, defaults to 0). # shadow-green = 0 # Blue color value of shadow (0.0 - 1.0, defaults to 0). # shadow-blue = 0 # Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue) # shadow-color = "#000000" # Specify a list of conditions of windows that should have no shadow. # # examples: # shadow-exclude = "n:e:Notification"; # # shadow-exclude = [] shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'", "_GTK_FRAME_EXTENTS@:c" ]; # Specify a X geometry that describes the region in which shadow should not # be painted in, such as a dock window region. Use # shadow-exclude-reg = "x10+0+0" # for example, if the 10 pixels on the bottom of the screen should not have shadows painted on. # # shadow-exclude-reg = "" # Crop shadow of a window fully on a particular Xinerama screen to the screen. # xinerama-shadow-crop = false ################################# # Fading # ################################# # Fade windows in/out when opening/closing and when opacity changes, # unless no-fading-openclose is used. # fading = false fading = true; # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # fade-in-step = 0.028 fade-in-step = 0.026; # Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) # fade-out-step = 0.03 fade-out-step = 0.025; # The time between steps in fade step, in milliseconds. (> 0, defaults to 10) fade-delta = 2 # Specify a list of conditions of windows that should not be faded. # fade-exclude = [] # Do not fade on window open/close. # no-fading-openclose = false # Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. # no-fading-destroyed-argb = false ################################# # Transparency / Opacity # ################################# # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) # inactive-opacity = 1 inactive-opacity = 0.94; # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # frame-opacity = 1.0 frame-opacity = 0.94; # Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. # inactive-opacity-override = true inactive-opacity-override = false; # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) # active-opacity = 1.0 # Dim inactive windows. (0.0 - 1.0, defaults to 0.0) # inactive-dim = 0.0 # Specify a list of conditions of windows that should always be considered focused. # focus-exclude = [] focus-exclude = [ "class_g = 'Cairo-clock'"]; # Use fixed inactive dim value, instead of adjusting according to window opacity. # inactive-dim-fixed = 1.0 # Specify a list of opacity rules, in the format `PERCENT:PATTERN`, # like `50:name *= "Firefox"`. picom-trans is recommended over this. # Note we don't make any guarantee about possible conflicts with other # programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. # example: # opacity-rule = [ "80:class_g = 'URxvt'" ]; # # opacity-rule = [] ################################# # Background-Blurring # ################################# # Parameters for background blurring, see the *BLUR* section for more information. blur-method = "dual_kawase"; #blur-method = "kernel"; blur-size = 8 # #blur-deviation = false # #blur-strength = 100 # Blur background of semi-transparent / ARGB windows. # Bad in performance, with driver-dependent behavior. # The name of the switch may change without prior notifications. # #blur-background = true # Blur background of windows when the window frame is not opaque. # Implies: # blur-background # Bad in performance, with driver-dependent behavior. The name may change. # # blur-background-frame = false # Use fixed blur strength rather than adjusting according to window opacity. # blur-background-fixed = false # Specify the blur convolution kernel, with the following format: # example: # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; # # blur-kern = "" blur-kern = "3x3box"; # Exclude conditions for background blur. # blur-background-exclude = [] blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'", "_GTK_FRAME_EXTENTS@:c" ]; ################################# # General Settings # ################################# # Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers. # daemon = false # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. # `xrender` is the default one. # backend = "glx" #backend = "xrender"; # Enable/disable VSync. #vsync = false vsync = true; # Enable remote control via D-Bus. See the *D-BUS API* section below for more details. # dbus = false # Try to detect WM windows (a non-override-redirect window with no # child that has 'WM_STATE') and mark them as active. # # mark-wmwin-focused = false mark-wmwin-focused = true; # Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. # mark-ovredir-focused = false mark-ovredir-focused = true; # Try to detect windows with rounded corners and don't consider them # shaped windows. The accuracy is not very high, unfortunately. # # detect-rounded-corners = false detect-rounded-corners = true; # Detect '_NET_WM_OPACITY' on client windows, useful for window managers # not passing '_NET_WM_OPACITY' of client windows to frame windows. # # detect-client-opacity = false detect-client-opacity = true; # Specify refresh rate of the screen. If not specified or 0, picom will # try detecting this with X RandR extension. # # refresh-rate = 60 refresh-rate = 0; # Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, # rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, # provided that the WM supports it. # # use-ewmh-active-win = false # Unredirect all windows if a full-screen opaque window is detected, # to maximize performance for full-screen windows. Known to cause flickering # when redirecting/unredirecting windows. # unredir-if-possible = false # Delay before unredirecting the window, in milliseconds. Defaults to 0. # unredir-if-possible-delay = 0 # Conditions of windows that shouldn't be considered full-screen for unredirecting screen. # unredir-if-possible-exclude = [] # Use 'WM_TRANSIENT_FOR' to group windows, and consider windows # in the same group focused at the same time. # # detect-transient = false detect-transient = true; # Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same # group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if # detect-transient is enabled, too. # # detect-client-leader = false detect-client-leader = true; # Resize damaged region by a specific number of pixels. # A positive value enlarges it while a negative one shrinks it. # If the value is positive, those additional pixels will not be actually painted # to screen, only used in blur calculation, and such. (Due to technical limitations, # with use-damage, those pixels will still be incorrectly painted to screen.) # Primarily used to fix the line corruption issues of blur, # in which case you should use the blur radius value here # (e.g. with a 3x3 kernel, you should use `--resize-damage 1`, # with a 5x5 one you use `--resize-damage 2`, and so on). # May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly. # # resize-damage = 1 # Specify a list of conditions of windows that should be painted with inverted color. # Resource-hogging, and is not well tested. # # invert-color-include = [] # GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. # Might cause incorrect opacity when rendering transparent content (but never # practically happened) and may not work with blur-background. # My tests show a 15% performance boost. Recommended. # # glx-no-stencil = false # GLX backend: Avoid rebinding pixmap on window damage. # Probably could improve performance on rapid window content changes, # but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.). # Recommended if it works. # # glx-no-rebind-pixmap = false # Disable the use of damage information. # This cause the whole screen to be redrawn everytime, instead of the part of the screen # has actually changed. Potentially degrades the performance, but might fix some artifacts. # The opposing option is use-damage # # no-use-damage = false use-damage = true; # Use X Sync fence to sync clients' draw calls, to make sure all draw # calls are finished before picom starts drawing. Needed on nvidia-drivers # with GLX backend for some users. # # xrender-sync-fence = false # GLX backend: Use specified GLSL fragment shader for rendering window contents. # See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` # in the source tree for examples. # # glx-fshader-win = "" # Force all windows to be painted with blending. Useful if you # have a glx-fshader-win that could turn opaque pixels transparent. # # force-win-blend = false # Do not use EWMH to detect fullscreen windows. # Reverts to checking if a window is fullscreen based only on its size and coordinates. # # no-ewmh-fullscreen = false # Dimming bright windows so their brightness doesn't exceed this set value. # Brightness of a window is estimated by averaging all pixels in the window, # so this could comes with a performance hit. # Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0) # # max-brightness = 1.0 # Make transparent windows clip other windows like non-transparent windows do, # instead of blending on top of them. # # transparent-clipping = false # Set the log level. Possible values are: # "trace", "debug", "info", "warn", "error" # in increasing level of importance. Case doesn't matter. # If using the "TRACE" log level, it's better to log into a file # using *--log-file*, since it can generate a huge stream of logs. # # log-level = "debug" log-level = "warn"; # Set the log file. # If *--log-file* is never specified, logs will be written to stderr. # Otherwise, logs will to written to the given file, though some of the early # logs might still be written to the stderr. # When setting this option from the config file, it is recommended to use an absolute path. # # log-file = '/path/to/your/log/file' # Show all X errors (for debugging) # show-all-xerrors = false # Write process ID to a file. # write-pid-path = '/path/to/your/log/file' # Window type settings # # 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: # "unknown", "desktop", "dock", "toolbar", "menu", "utility", # "splash", "dialog", "normal", "dropdown_menu", "popup_menu", # "tooltip", "notification", "combo", and "dnd". # # Following per window-type options are available: :: # # fade, shadow::: # Controls window-type-specific shadow and fade settings. # # opacity::: # Controls default opacity of the window type. # # focus::: # Controls whether the window of this type is to be always considered focused. # (By default, all window types except "normal" and "dialog" has this on.) # # full-shadow::: # Controls whether shadow is drawn under the parts of the window that you # normally won't be able to see. Useful when the window has parts of it # transparent, and you want shadows in those areas. # # redir-ignore::: # Controls whether this type of windows should cause screen to become # redirected again after been unredirected. If you have unredir-if-possible # set, and doesn't want certain window to cause unnecessary screen redirection, # you can set this to `true`. # wintypes: { tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; dock = { shadow = false; } dnd = { shadow = false; } popup_menu = { opacity = 0.8; } dropdown_menu = { opacity = 0.8; } }; ```

Steps of reproduction

The memory usage growing overtime.

Expected behavior

picom-b

Current Behavior

picom-a picom-a-2

yshui commented 3 years ago

Can you build picom with address sanitizer enabled? When you run meson, run meson setup -Db_sanitize=address ...... That will tell you if picom has leaked memory.

nasserbinlaboun commented 3 years ago

picom version

vgit-e74fb

=================================================================
==223496==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 36 byte(s) in 1 object(s) allocated from:
    #0 0x7f49768ca3f9 in __interceptor_strdup /build/gcc/src/gcc/libsanitizer/asan/asan_interceptors.cpp:454
    #1 0x55b4f375376e  (/usr/bin/picom+0x7276e)
    #2 0x55b4f370a654  (/usr/bin/picom+0x29654)
    #3 0x7f497617bb24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24)

SUMMARY: AddressSanitizer: 36 byte(s) leaked in 1 allocation(s).
yshui commented 3 years ago

Can you build picom with debug symbols? This stack trace isn't very useful.

nasserbinlaboun commented 3 years ago

Can you explain how to build picom with debug symbols?

tryone144 commented 3 years ago

Can you explain how to build picom with debug symbols?

See https://github.com/yshui/picom/wiki/Reporting-issues#get-a-stack-trace:

Note, to get a stack trace with useful information, you have to build picom with debug information. You can do that by adding --buildtype=debug to meson configure.

nasserbinlaboun commented 3 years ago

Stack trace:

stack-trace ``` picom --log-level=trace -b --config ~/.config/picom/picom.conf --experimental-backends [ 10/28/21 19:27:23.857 atom_getter DEBUG ] Atom _NET_WM_WINDOW_OPACITY is 431 [ 10/28/21 19:27:23.857 atom_getter DEBUG ] Atom _NET_FRAME_EXTENTS is 323 [ 10/28/21 19:27:23.857 atom_getter DEBUG ] Atom WM_STATE is 368 [ 10/28/21 19:27:23.857 atom_getter DEBUG ] Atom _NET_WM_NAME is 329 [ 10/28/21 19:27:23.857 atom_getter DEBUG ] Atom _NET_WM_PID is 330 [ 10/28/21 19:27:23.857 atom_getter DEBUG ] Atom WM_NAME is 39 [ 10/28/21 19:27:23.857 atom_getter DEBUG ] Atom WM_CLASS is 67 [ 10/28/21 19:27:23.857 atom_getter DEBUG ] Atom WM_ICON_NAME is 37 [ 10/28/21 19:27:23.857 atom_getter DEBUG ] Atom WM_TRANSIENT_FOR is 68 [ 10/28/21 19:27:23.857 atom_getter DEBUG ] Atom WM_WINDOW_ROLE is 320 [ 10/28/21 19:27:23.857 atom_getter DEBUG ] Atom WM_CLIENT_LEADER is 315 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom WM_CLIENT_MACHINE is 36 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_ACTIVE_WINDOW is 321 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _COMPTON_SHADOW is 543 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_WINDOW_TYPE is 345 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_WINDOW_TYPE_DESKTOP is 367 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_WINDOW_TYPE_DOCK is 437 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_WINDOW_TYPE_TOOLBAR is 439 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_WINDOW_TYPE_MENU is 350 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_WINDOW_TYPE_UTILITY is 354 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_WINDOW_TYPE_SPLASH is 438 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_WINDOW_TYPE_DIALOG is 347 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_WINDOW_TYPE_NORMAL is 351 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_WINDOW_TYPE_DROPDOWN_MENU is 349 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_WINDOW_TYPE_POPUP_MENU is 352 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_WINDOW_TYPE_TOOLTIP is 353 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_WINDOW_TYPE_NOTIFICATION is 440 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_WINDOW_TYPE_COMBO is 346 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_WINDOW_TYPE_DND is 348 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_STATE is 332 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_STATE_FULLSCREEN is 335 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _NET_WM_BYPASS_COMPOSITOR is 425 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom UTF8_STRING is 314 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom C_STRING is 544 [ 10/28/21 19:27:23.858 atom_getter DEBUG ] Atom _GTK_FRAME_EXTENTS is 393 [ 10/28/21 19:27:23.859 atom_getter DEBUG ] Atom COMPTON_VERSION is 545 [ 10/28/21 19:27:23.859 atom_getter DEBUG ] Atom _NET_WM_CM_S0 is 325 [ 10/28/21 19:27:23.876 init_overlay DEBUG ] overlay = 0x00000072 [ 10/28/21 19:27:23.886 file_watch_init DEBUG ] Starting watching for file changes [ 10/28/21 19:27:23.887 file_watch_add DEBUG ] Adding "/home/*****/.config/picom/picom.conf" to watched files [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a005d6 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a0115f [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a012ea [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a0764a [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a1c034 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a3132b [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a318e7 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a2de25 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a27edc [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a33a78 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a3413e [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a34279 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a0140c [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a33db2 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a003a6 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a006a0 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a0066e [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a0063c [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a00373 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a000b5 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a000b4 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a000b3 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a000b2 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00400001 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a00001 [ 10/28/21 19:27:23.887 add_win DEBUG ] Adding window 0x00a000ac [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x00a000ae [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x00a000b9 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x00c00001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x00c00002 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x00c00003 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01000001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01200001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x00e00001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01600001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01800001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01c00001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01e00001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01a00001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x02000001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x00e00003 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x00a003a4 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x02200001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x02400001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x02800001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x02e00001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x03400001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x03200001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x02800002 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x03800001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x03a00001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x03200008 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x03800008 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x03e00001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x04000001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x04400001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x04200001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x04600001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x04800001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x04a00001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x04e00001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01000026 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01600019 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x04400008 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01a00008 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x04000008 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x02000008 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01800008 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x04600008 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x04a00008 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01e00008 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x04800008 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x04200008 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01c00008 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x03e0000d [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x04e00008 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01a00086 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x0520003a [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x0520003d [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200049 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x07000001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x02400008 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x02200003 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200526 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x0101c978 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x0101cb19 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200e6a [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200e6e [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200e72 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200e7a [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200e7e [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200e82 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200e8a [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200e8e [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200e92 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200e96 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200e9a [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200ff4 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x0103332f [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01200003 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01200016 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05201190 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05201405 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05201415 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200e66 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200ece [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x0120d6d9 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x0122669e [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05201c34 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01a00214 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05201cae [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x052013fb [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05201d5a [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200e76 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200e86 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x03e0001c [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x02a00001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x02a00003 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x03000001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x03600001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05201303 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200f82 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x01232b3b [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x012345b8 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x012345c8 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05201f25 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05201f2d [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05201f31 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05201f3b [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x0520108c [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200ea5 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05400001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x03c00001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05800001 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05800003 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x0123b685 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x0123baaa [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x0123ba15 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x0123bc44 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200ea9 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x0520114b [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05200ebe [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x05600004 [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x032001aa [ 10/28/21 19:27:23.888 add_win DEBUG ] Adding window 0x016010c6 [ 10/28/21 19:27:23.888 session_init DEBUG ] Initial stack: [ 10/28/21 19:27:23.888 session_init DEBUG ] 0x016010c6 [ 10/28/21 19:27:23.888 session_init DEBUG ] 0x032001aa [ 10/28/21 19:27:23.888 session_init DEBUG ] 0x05600004 [ 10/28/21 19:27:23.888 session_init DEBUG ] 0x05200ebe [ 10/28/21 19:27:23.888 session_init DEBUG ] 0x0520114b [ 10/28/21 19:27:23.888 session_init DEBUG ] 0x05200ea9 [ 10/28/21 19:27:23.888 session_init DEBUG ] 0x0123bc44 [ 10/28/21 19:27:23.888 session_init DEBUG ] 0x0123ba15 [ 10/28/21 19:27:23.888 session_init DEBUG ] 0x0123baaa [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x0123b685 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05800003 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05800001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x03c00001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05400001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200ea5 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x0520108c [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05201f3b [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05201f31 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05201f2d [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05201f25 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x012345c8 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x012345b8 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01232b3b [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200f82 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05201303 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x03600001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x03000001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x02a00003 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x02a00001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x03e0001c [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200e86 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200e76 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05201d5a [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x052013fb [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05201cae [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01a00214 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05201c34 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x0122669e [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x0120d6d9 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200ece [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200e66 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05201415 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05201405 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05201190 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01200016 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01200003 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x0103332f [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200ff4 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200e9a [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200e96 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200e92 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200e8e [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200e8a [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200e82 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200e7e [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200e7a [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200e72 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200e6e [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200e6a [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x0101cb19 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x0101c978 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200526 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x02200003 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x02400008 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x07000001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200049 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x0520003d [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x0520003a [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x05200001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01a00086 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x04e00008 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x03e0000d [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01c00008 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x04200008 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x04800008 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01e00008 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x04a00008 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x04600008 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01800008 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x02000008 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x04000008 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01a00008 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x04400008 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01600019 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01000026 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x04e00001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x04a00001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x04800001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x04600001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x04200001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x04400001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x04000001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x03e00001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x03800008 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x03200008 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x03a00001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x03800001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x02800002 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x03200001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x03400001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x02e00001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x02800001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x02400001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x02200001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a003a4 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00e00003 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x02000001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01a00001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01e00001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01c00001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01800001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01600001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00e00001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01200001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x01000001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00c00003 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00c00002 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00c00001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a000b9 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a000ae [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a000ac [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a00001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00400001 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a000b2 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a000b3 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a000b4 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a000b5 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a00373 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a0063c [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a0066e [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a006a0 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a003a6 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a33db2 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a0140c [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a34279 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a3413e [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a33a78 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a27edc [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a2de25 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a318e7 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a3132b [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a1c034 [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a0764a [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a012ea [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a0115f [ 10/28/21 19:27:23.889 session_init DEBUG ] 0x00a005d6 ================================================================= ==286956==ERROR: LeakSanitizer: detected memory leaks Direct leak of 36 byte(s) in 1 object(s) allocated from: #0 0x7f0b41d713f9 in __interceptor_strdup /build/gcc/src/gcc/libsanitizer/asan/asan_interceptors.cpp:454 #1 0x55c1c8235a8e (/usr/bin/picom+0x7fa8e) #2 0x55c1c81e8636 (/usr/bin/picom+0x32636) #3 0x7f0b41622b24 in __libc_start_main (/usr/lib/libc.so.6+0x27b24) SUMMARY: AddressSanitizer: 36 byte(s) leaked in 1 allocation(s). ```
tryone144 commented 3 years ago

Your stack-trace still does not have debug symbols. Are you sure are running the newly build executable with debug symbols and not the version provided by your distribution? If you have followed the readme, the freshly build executable should be ./build/src/picom.

yshui commented 3 years ago

Also, please keep picom running until the memory usage growth manifest, otherwise the leak won't be detected.

nasserbinlaboun commented 3 years ago

I'm a little bit confused I made multiple builds with the same options but it behaves differentially some of them working properly and others not the memory growing over time, I leave it running for multiple hours but the leak detector did not work.

Meson build

Meson build ``` The Meson build system Version: 0.60.0 Source dir: /home/*****/picomBuild/New Folder/picom Build dir: /home/*****/picomBuild/New Folder/picom/build Build type: native build Project name: picom Project version: 8 C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0") C linker for the host machine: cc ld.bfd 2.36.1 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program git found: YES (/usr/bin/git) Has header "stdc-predef.h" : YES Compiler for C supports arguments -Wall: YES meson.build:63: WARNING: Consider using the built-in warning_level option instead of using "-Wall". Compiler for C supports arguments -Wcast-function-type: YES Compiler for C supports arguments -Wignored-qualifiers: YES Compiler for C supports arguments -Wmissing-parameter-type: YES Compiler for C supports arguments -Wnonnull: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wno-type-limits: YES Compiler for C supports arguments -Wold-style-declaration: YES Compiler for C supports arguments -Woverride-init: YES Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Wtype-limits: YES Compiler for C supports arguments -Wuninitialized: YES Compiler for C supports arguments -Wshift-negative-value: YES Compiler for C supports arguments -Wunused-but-set-parameter: YES Compiler for C supports arguments -Wunused-parameter: YES Compiler for C supports arguments -Wimplicit-fallthrough: YES Compiler for C supports arguments -Wno-unknown-warning-option: NO Compiler for C supports arguments -Wno-missing-braces: YES Compiler for C supports arguments -Wconversion: YES Compiler for C supports arguments -Wempty-body: YES Executing subproject test.h test.h| Project name: test.h test.h| Project version: undefined test.h| C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0") test.h| C linker for the host machine: cc ld.bfd 2.36.1 test.h| Build targets in project: 0 test.h| Subproject test.h finished. Found pkg-config: /usr/bin/pkg-config (1.8.0) Found CMake: /usr/bin/cmake (3.21.4) Run-time dependency libev found: NO (tried pkgconfig and cmake) Library ev found: YES Library m found: YES Run-time dependency x11 found: YES 1.7.2 Run-time dependency x11-xcb found: YES 1.7.2 Run-time dependency xcb-renderutil found: YES 0.3.9 Run-time dependency xcb-image found: YES 0.4.0 Run-time dependency xext found: YES 1.3.4 Run-time dependency pixman-1 found: YES 0.40.0 Run-time dependency xcb-render found: YES 1.14 Run-time dependency xcb-damage found: YES 1.14 Run-time dependency xcb-randr found: YES 1.14 Run-time dependency xcb-sync found: YES 1.14 Run-time dependency xcb-composite found: YES 1.14 Run-time dependency xcb-shape found: YES 1.14 Run-time dependency xcb-xinerama found: YES 1.14 Run-time dependency xcb-xfixes found: YES 1.14 Run-time dependency xcb-present found: YES 1.14 Run-time dependency xcb-glx found: YES 1.14 Run-time dependency xcb found: YES 1.14 Has header "uthash.h" : YES Run-time dependency libconfig found: YES 1.7.3 Run-time dependency libpcre found: YES 8.45 Run-time dependency gl found: YES 1.2 Run-time dependency dbus-1 found: YES 1.12.20 Program meson/install.sh found: YES (/bin/sh /home/*****/picomBuild/New Folder/picom/meson/install.sh) Build targets in project: 1 picom 8 Subprojects test.h : YES User defined options buildtype : debug b_sanitize: address Found ninja-1.10.2 at /usr/bin/ninja ```
yshui commented 3 years ago

What do you mean by leak detector not working? Did it not report any leaks after you seeing the memory growing over time?

nasserbinlaboun commented 3 years ago

Yes, it did not report anything

nasserbinlaboun commented 3 years ago

previously, I was using this command to run picom:

picom --config ~/.config/picom/picom.conf --experimental-backends

And it did not report anything.

So, I tried to run picom without any options for around 12 hours:

picom

And it gave me these errors:

Output

Output ``` picom [ 10/31/21 22:54:02.901 get_cfg WARN ] Dual-kawase blur is not implemented by the legacy backends, you must use the `experimental-backends` option. [ 10/31/21 22:54:03.010 init_render WARN ] Old backends only support blur method "kernel". Your blur setting will not be applied [ 10/31/21 22:58:54.074 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x0540048b. [ 10/31/21 22:58:54.074 paint_one ERROR ] Failed to bind texture for window 0x0118b9a2. [ 10/31/21 22:58:54.074 paint_one ERROR ] Window 0x0118b9a2 is missing painting data. [ 10/31/21 22:58:54.086 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x0540048b. [ 10/31/21 22:58:54.086 paint_one ERROR ] Failed to bind texture for window 0x0118b9a2. [ 10/31/21 22:58:54.086 paint_one ERROR ] Window 0x0118b9a2 is missing painting data. [ 10/31/21 22:58:54.104 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x0540048b. [ 10/31/21 22:58:54.104 paint_one ERROR ] Failed to bind texture for window 0x0118b9a2. [ 10/31/21 22:58:54.104 paint_one ERROR ] Window 0x0118b9a2 is missing painting data. [ 10/31/21 22:58:54.137 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x0540048b. [ 10/31/21 22:58:54.137 paint_one ERROR ] Failed to bind texture for window 0x0118b9a2. [ 10/31/21 22:58:54.137 paint_one ERROR ] Window 0x0118b9a2 is missing painting data. [ 10/31/21 22:59:39.741 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x054004c5. [ 10/31/21 22:59:39.741 paint_one ERROR ] Failed to bind texture for window 0x0118bc0e. [ 10/31/21 22:59:39.741 paint_one ERROR ] Window 0x0118bc0e is missing painting data. [ 10/31/21 22:59:39.754 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x054004c5. [ 10/31/21 22:59:39.754 paint_one ERROR ] Failed to bind texture for window 0x0118bc0e. [ 10/31/21 22:59:39.754 paint_one ERROR ] Window 0x0118bc0e is missing painting data. [ 10/31/21 22:59:39.770 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x054004c5. [ 10/31/21 22:59:39.771 paint_one ERROR ] Failed to bind texture for window 0x0118bc0e. [ 10/31/21 22:59:39.771 paint_one ERROR ] Window 0x0118bc0e is missing painting data. [ 10/31/21 22:59:39.787 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x054004c5. [ 10/31/21 22:59:39.787 paint_one ERROR ] Failed to bind texture for window 0x0118bc0e. [ 10/31/21 22:59:39.787 paint_one ERROR ] Window 0x0118bc0e is missing painting data. [ 10/31/21 22:59:39.804 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x054004c5. [ 10/31/21 22:59:39.804 paint_one ERROR ] Failed to bind texture for window 0x0118bc0e. [ 10/31/21 22:59:39.804 paint_one ERROR ] Window 0x0118bc0e is missing painting data. [ 10/31/21 23:03:58.229 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x05400b7e. [ 10/31/21 23:03:58.229 paint_one ERROR ] Failed to bind texture for window 0x00a81b73. [ 10/31/21 23:03:58.229 paint_one ERROR ] Window 0x00a81b73 is missing painting data. [ 10/31/21 23:04:38.179 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x05400c57. [ 10/31/21 23:04:38.179 paint_one ERROR ] Failed to bind texture for window 0x00a85133. [ 10/31/21 23:04:38.179 paint_one ERROR ] Window 0x00a85133 is missing painting data. [ 10/31/21 23:04:47.121 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x05400ce3. [ 10/31/21 23:04:47.121 paint_one ERROR ] Failed to bind texture for window 0x00a85543. [ 10/31/21 23:04:47.121 paint_one ERROR ] Window 0x00a85543 is missing painting data. [ 11/01/21 14:52:43.447 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x054038d5. [ 11/01/21 14:52:43.447 paint_one ERROR ] Failed to bind texture for window 0x00a86424. [ 11/01/21 14:52:43.447 paint_one ERROR ] Window 0x00a86424 is missing painting data. [ 11/01/21 14:54:23.414 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x05403d17. [ 11/01/21 14:54:23.414 paint_one ERROR ] Failed to bind texture for window 0x05985949. [ 11/01/21 14:54:23.414 paint_one ERROR ] Window 0x05985949 is missing painting data. [ 11/01/21 14:54:23.422 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x05403d17. [ 11/01/21 14:54:23.422 paint_one ERROR ] Failed to bind texture for window 0x05985949. [ 11/01/21 14:54:23.422 paint_one ERROR ] Window 0x05985949 is missing painting data. [ 11/01/21 14:54:23.441 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x05403d17. [ 11/01/21 14:54:23.441 paint_one ERROR ] Failed to bind texture for window 0x05985949. [ 11/01/21 14:54:23.441 paint_one ERROR ] Window 0x05985949 is missing painting data. [ 11/01/21 14:54:23.456 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x05403d17. [ 11/01/21 14:54:23.456 paint_one ERROR ] Failed to bind texture for window 0x05985949. [ 11/01/21 14:54:23.456 paint_one ERROR ] Window 0x05985949 is missing painting data. [ 11/01/21 14:54:23.473 glx_bind_pixmap ERROR ] Failed to query info of pixmap 0x05403d17. [ 11/01/21 14:54:23.473 paint_one ERROR ] Failed to bind texture for window 0x05985949. [ 11/01/21 14:54:23.474 paint_one ERROR ] Window 0x05985949 is missing painting data. ```

I am not sure if this output is useful or not. Thank you for your time guys.

yshui commented 3 years ago

Did you observe memory usage growth in both cases?

nasserbinlaboun commented 3 years ago

Did you observe memory usage growth in both cases?

Yes.