Conky is not working any longer

Hi,
since 2 weeks, i think since the X11 update, but i can be wrong, conky is not working any longer on my Desktop and the Notebook.

Both machines throw the identical error:

vos@linux-t0qs:~> conkyconky: desktop window (2600013) is subwindow of root window (71d)
conky: window type - normal
conky: drawing to created window (0x3400002)
conky: drawing to double buffer
conky: forked to background, pid is 21122
vos@linux-t0qs:~> 
*** Error in `conky': free(): invalid size: 0x000055d9c2787870 ***
^C
vos@linux-t0qs:~> 

The script is already for the new convention and it is still running well on Ubuntu Focal.
Thx for reading.

Hi
What is the conky version in use?


zypper if conky

Thx for the answer.

 vos@linux-t0qs:~> zypper if conky
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...


Informationen zu Paket conky:
-----------------------------
Repository         : Packman Repository
Name               : conky
Version            : 1.12.1-pm152.8.11
Arch               : x86_64
Anbieter           : http://packman.links2linux.de
Installierte Größe : 1,5 MiB
Installiert        : Ja
Status             : aktuell
Quellpaket         : conky-1.12.1-pm152.8.11.src
Zusammenfassung    : A System Monitor
Beschreibung       :  
    Conky is an configurable system monitor.

vos@linux-t0qs:~>

Just a hint. When your system language is not English and you want to show things here, please precede your command wirh LANG=C. In this case:

LANG=C zypper if conky

Hi
Not sure, there was a bug from way back… *** Error in `conky': free(): invalid pointer: 0x000000000254ae50 *** · Issue #343 · brndnmtthws/conky · GitHub

It could be a build issue on the Packman version since I don’t see an issue with the package it’s linked to from server:monitoring.

My Leap 15.2 system is a no X system, command line conky works fine…


 conky
conky: drawing to single buffer
Fri Apr 02 10:44am
Linux 5.3.18-lp152.66-default  x86_64
Host:  t-kglh4
Uptime:  15d 22h 29m
CPU1: 4% ..........
CPU2: 4% ..........
Swap In use:0 B | 0 B (0%)
dump1090-fa       27283  0.00%  0.29%
cgps              26453  0.00%  0.09%
sh                26449  0.00%  0.08%
gpsd              26446  0.00%  0.10%
conky             15545  0.00%  0.47%

I’ve triggered a rebuild of the Packman version, keep an eye out for an updated version once completed…

Thx Henk for the hint, i´ll try to don´t forget about it.

I tried a few things too about the issue. I downloaded an other script from the internet. The content and the layout is wrong of course, but it is working without an error, hmm.

Script working:

conky.config = {    background = true,
    use_xft = true,
    font = 'Bitstream Vera Sans Mono:size=9',
    xftalpha = 0.8,
    update_interval = 1.0,
    total_run_times = 0,
    own_window = true,
    own_window_type = 'normal',
    own_window_transparent = true,
    own_window_colour = '#000000',
    own_window_hints = 'undecorated,skip_pager,skip_taskbar',
    double_buffer = true,
    minimum_width = 260, minimum_height = 5,
    draw_shades = false,
    draw_outline = false,
    draw_borders = false,
    draw_graph_borders = false,
    stippled_borders = 0,
    border_margin = '4',
    border_width = 0,
    default_color = 'white',
    default_shade_color = 'black',
    default_outline_color = 'black',
    alignment = 'top_right',
    gap_x = 12,
    gap_y = 142,
    no_buffers = true,
    uppercase = false,
    cpu_avg_samples = 1,
    net_avg_samples = 1,
    override_utf8_locale = false,
    use_spacer = 'yes',
    mpd_host = 'localhost',
    mpd_portport = '6060',
--mpd_password 


    own_window_argb_value = 0,
    own_window_argb_visual = false,
};


conky.text = 

Script with error:

conky.config = {-- check http://conky.sourceforge.net/config_settings.html for the list of settings
-- Check http://conky.sourceforge.net/variables.html for the list of variables


    background = true,


    font = '7x13',
-- Use Xft?
    use_xft = true,
    font = 'Bitstream Vera Sans Mono:size=9',
    xftalpha = 0.8,
    override_utf8_locale = true,
    short_units = true,


    update_interval = 5,
    total_run_times = 0,


    own_window = true,
    own_window_type = 'normal',
    own_window_transparent = true,
    own_window_class = 'Conky',
    own_window_argb_visual = true,
    own_window_colour = '#082103',
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',


    double_buffer = true,
    minimum_width = 320, minimum_height = 5,
--    maximum_width = 320,
--    max_text_width = 0,


    draw_shades = true,
    draw_outline = false,
    draw_borders = false,
    draw_graph_borders = true,
    stippled_borders = 5,
    border_inner_margin = 0,
    border_outer_margin = 0,
    border_width = 1,


    default_color = 'white',
    default_shade_color = 'black',
    default_outline_color = 'black',
    color0 = 'PaleGreen',
    color1 = 'DarkSeaGreen',
    color2 = 'SeaGreen',
    color3 = 'GreenYellow',
    color4 = 'red',
    color5 = 'white',
    color6 = 'DarkOliveGreen3',
    color7 = 'khaki1',
    color8 = 'white',
    color9 = 'ForestGreen',
    default_bar_width = 100, default_bar_height = 10,


    alignment = 'top_right',
    gap_x = 8,
    gap_y = 2,


    no_buffers = true,
    uppercase = false,
    cpu_avg_samples = 2,
    net_avg_samples = 2,
    use_spacer = 'none',


    top_name_width = 18,
    top_cpu_separate = false


};


conky.text = 

Puhh, that was a hard one, but first things first.

Thx for the help malcolmlewis, i appreciate it. Today a new version of conky arrived, but the error was still there.

After a really lot of try and error i found the culprit. It´s that line:

${color9}${cpugraph 3dba19 aecf4c -t -l}

If i comment it out the script is running. They must have changed something there 3-4 weeks ago.

Keep in mind, that the funcion is broken for Opensuse only, not for Ubuntu.