Closed stephanebill closed 7 months ago
using Arch linux. Conky version 1.19.7
started crashing this morning since update and reboot.
made a gdb backtrace.
conky.config = {
alignment = 'top_left',
background = false,
border_width = 2,
double_buffer = true,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'DejaVu Sans Mono:size=3',
gap_x = 2567,
gap_y = 0,
minimum_width = 5, minimum_height = 5,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'normal',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false,
cpu_avg_samples = 2,
maximum_width = 258,
};
conky.text = [[
${font Monospace:size=12}${color green}Kernel: ${font DejaVu Sans:regular:size=11}${color}$alignr $kernel ${color green}
${font Monospace:size=12}${color green}Intel i9-9900k$color $alignr Skylake
${color green}CPU Speed MHz $color $alignr ${freq}
${color green}CPU Governor $alignr$color ${exec cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor}
${color green}CPU Fan $color $alignr ${exec sensors nct6798-isa-0290|grep 'fan1:'|tail -n1|awk '{print $2}'} RPM
${color green}CPU Temp $alignr $color ${exec sensors|grep 'Core 0:'|cut -f2 -d '+'|cut -f1 -d'.'}'C
${cpugraph cpu0 60,258 00ff00 ff0000 -t}
${color green}Vega 64 StriX $alignr (Asus)
${color green}GPU Temp $alignr $color ${exec sensors amdgpu-pci-0300 |grep junction|awk '{print $2}'}
${color green}GPU Fan Speed $alignr $color ${exec sensors amdgpu-pci-0300 |grep fan1|awk '{print $2}'} RPM
${color green}GPU Power $alignr $color ${exec sensors amdgpu-pci-0300 |grep 'PPT'|awk '{print $2}'|cut -c -2} Watt
${color green}GPU Load $alignr $color ${exec cat /tmp/amdgpu_pm_info |grep 'GPU Load' | awk '{print $3,$4}'}
${color green}Disk Free
${color green}Root $color ${fs_free /} ${fs_bar 10 /}
${color green}Home $color ${fs_free /home} ${fs_bar 10,90 /home}
${color green}Storage $color ${fs_free /run/media/storageEXT4} ${fs_bar 10 /run/media/storageEXT4}
${color green}tmp $color ${fs_free /tmp} ${fs_bar 10 /tmp}
${color green}swap $color ${swapfree} ${swapbar 10}
${color green}CPU $alignr CPU%
$color${top name 1} ${alignr}${top cpu 1}
${top name 2} ${alignr}${top cpu 2}
${top name 3} ${alignr}${top cpu 3}
${top name 4} ${alignr}${top cpu 4}
${top name 5} ${alignr}${top cpu 5}
${top name 6} ${alignr}${top cpu 6}
${top name 7} ${alignr}${top cpu 7}
${top name 8} ${alignr}${top cpu 8}
${color green}NETWORK ($color${addr eno1}${color green})
${color}${downspeedgraph eno1 80,258 00ff00 ff0000 10000000 -t}
${color green}Down: ${color white}${downspeed eno1}k/s
${color}${upspeedgraph eno1 80,258 00ff00 ff0000 2300000 -t}
${color green}Up: ${color white}${upspeed eno1}k/s
${color green}UPS Status: $color ${execi 15 upsc cyberpower@192.168.0.200 ups.status}
${color green}UPS Load: $color ${execi 15 upsc cyberpower@192.168.0.200 ups.load}%
]]
Want to try https://github.com/brndnmtthws/conky/pull/1745?
Exactly the same problem here right after updating via Arch Linux to this version. Before it worked normally.
@brndnmtthws no crash with the #1745 commit.
Crashing since 1.19.7-1 On Archlinux
xsession-errors :
buffer overflow detected : terminated
journalctl -f :
`systemd-coredump[17670]: [🡕] Process 1180 (conky) of user 1000 dumped core.
Stack trace of thread 1180:
#0 0x00007b487408632c n/a (libc.so.6 + 0x8d32c)
#1 0x00007b48740356c8 raise (libc.so.6 + 0x3c6c8)
#2 0x00007b487401d4b8 abort (libc.so.6 + 0x244b8)
#3 0x00007b487401e395 n/a (libc.so.6 + 0x25395)
#4 0x00007b487410d73b __fortify_fail (libc.so.6 + 0x11473b)
#5 0x00007b487410d0e6 __chk_fail (libc.so.6 + 0x1140e6)
#6 0x00007b487410e945 __snprintf_chk (libc.so.6 + 0x115945)
#7 0x0000592a0db70a68 n/a (conky + 0x84a68)
#8 0x00007b4874cde74c _XError (libX11.so.6 + 0x4474c)
#9 0x00007b4874cde858 n/a (libX11.so.6 + 0x44858)
#10 0x00007b4874ce04e1 _XReply (libX11.so.6 + 0x464e1)
#11 0x00007b4874cd5c3c XQueryTree (libX11.so.6 + 0x3bc3c)
#12 0x0000592a0db49402 n/a (conky + 0x5d402)
#13 0x0000592a0db148bf n/a (conky + 0x288bf)
#14 0x0000592a0db06034 main (conky + 0x1a034)
#15 0x00007b487401ecd0 n/a (libc.so.6 + 0x25cd0)
#16 0x00007b487401ed8a __libc_start_main (libc.so.6 + 0x25d8a)
#17 0x0000592a0db0b1b5 n/a (conky + 0x1f1b5)
ELF object binary architecture: AMD x86-64
fév 25 08:51:38 Cockpit systemd[1]: systemd-coredump@2-17642-0.service: Deactivated successfully. fév 25 08:51:38 Cockpit systemd-coredump[17668]: [🡕] Process 1181 (conky) of user 1000 dumped core.
Stack trace of thread 1181:
#0 0x00007d799e4ab32c n/a (libc.so.6 + 0x8d32c)
#1 0x00007d799e45a6c8 raise (libc.so.6 + 0x3c6c8)
#2 0x00007d799e4424b8 abort (libc.so.6 + 0x244b8)
#3 0x00007d799e443395 n/a (libc.so.6 + 0x25395)
#4 0x00007d799e53273b __fortify_fail (libc.so.6 + 0x11473b)
#5 0x00007d799e5320e6 __chk_fail (libc.so.6 + 0x1140e6)
#6 0x00007d799e533945 __snprintf_chk (libc.so.6 + 0x115945)
#7 0x0000648bcd3a2a68 n/a (conky + 0x84a68)
#8 0x00007d799f1df74c _XError (libX11.so.6 + 0x4474c)
#9 0x00007d799f1df858 n/a (libX11.so.6 + 0x44858)
#10 0x00007d799f1e14e1 _XReply (libX11.so.6 + 0x464e1)
#11 0x00007d799f1d6c3c XQueryTree (libX11.so.6 + 0x3bc3c)
#12 0x0000648bcd37b402 n/a (conky + 0x5d402)
#13 0x0000648bcd3468bf n/a (conky + 0x288bf)
#14 0x0000648bcd338034 main (conky + 0x1a034)
#15 0x00007d799e443cd0 n/a (libc.so.6 + 0x25cd0)
#16 0x00007d799e443d8a __libc_start_main (libc.so.6 + 0x25d8a)
#17 0x0000648bcd33d1b5 n/a (conky + 0x1f1b5)
ELF object binary architecture: AMD x86-64
fév 25 08:51:38 Cockpit systemd-coredump[17671]: [🡕] Process 1177 (conky) of user 1000 dumped core.
Stack trace of thread 1177:
#0 0x00007ef927eab32c n/a (libc.so.6 + 0x8d32c)
#1 0x00007ef927e5a6c8 raise (libc.so.6 + 0x3c6c8)
#2 0x00007ef927e424b8 abort (libc.so.6 + 0x244b8)
#3 0x00007ef927e43395 n/a (libc.so.6 + 0x25395)
#4 0x00007ef927f3273b __fortify_fail (libc.so.6 + 0x11473b)
#5 0x00007ef927f320e6 __chk_fail (libc.so.6 + 0x1140e6)
#6 0x00007ef927f33945 __snprintf_chk (libc.so.6 + 0x115945)
#7 0x00005e3dc0748a68 n/a (conky + 0x84a68)
#8 0x00007ef928b0274c _XError (libX11.so.6 + 0x4474c)
#9 0x00007ef928b02858 n/a (libX11.so.6 + 0x44858)
#10 0x00007ef928b044e1 _XReply (libX11.so.6 + 0x464e1)
#11 0x00007ef928af9c3c XQueryTree (libX11.so.6 + 0x3bc3c)
#12 0x00005e3dc0721402 n/a (conky + 0x5d402)
#13 0x00005e3dc06ec8bf n/a (conky + 0x288bf)
#14 0x00005e3dc06de034 main (conky + 0x1a034)
#15 0x00007ef927e43cd0 n/a (libc.so.6 + 0x25cd0)
#16 0x00007ef927e43d8a __libc_start_main (libc.so.6 + 0x25d8a)
#17 0x00005e3dc06e31b5 n/a (conky + 0x1f1b5)
Stack trace of thread 1184:
#0 0x00007ef927ea5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007ef927eb1470 n/a (libc.so.6 + 0x93470)
#2 0x00005e3dc0722f80 n/a (conky + 0x5ef80)
#3 0x00007ef9280e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007ef927ea955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007ef927f26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1188:
#0 0x00007ef927ea5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007ef927eb1470 n/a (libc.so.6 + 0x93470)
#2 0x00005e3dc0722f80 n/a (conky + 0x5ef80)
#3 0x00007ef9280e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007ef927ea955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007ef927f26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1186:
#0 0x00007ef927ea5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007ef927eb1470 n/a (libc.so.6 + 0x93470)
#2 0x00005e3dc0722f80 n/a (conky + 0x5ef80)
#3 0x00007ef9280e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007ef927ea955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007ef927f26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1187:
#0 0x00007ef927ea5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007ef927eb1470 n/a (libc.so.6 + 0x93470)
#2 0x00005e3dc0722f80 n/a (conky + 0x5ef80)
#3 0x00007ef9280e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007ef927ea955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007ef927f26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1185:
#0 0x00007ef927ea5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007ef927eb1470 n/a (libc.so.6 + 0x93470)
#2 0x00005e3dc0722f80 n/a (conky + 0x5ef80)
#3 0x00007ef9280e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007ef927ea955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007ef927f26a3c n/a (libc.so.6 + 0x108a3c)
ELF object binary architecture: AMD x86-64
fév 25 08:51:38 Cockpit systemd[1]: systemd-coredump@1-17645-0.service: Deactivated successfully. fév 25 08:51:38 Cockpit systemd-coredump[17652]: [🡕] Process 1178 (conky) of user 1000 dumped core.
Stack trace of thread 1178:
#0 0x00007663e5cab32c n/a (libc.so.6 + 0x8d32c)
#1 0x00007663e5c5a6c8 raise (libc.so.6 + 0x3c6c8)
#2 0x00007663e5c424b8 abort (libc.so.6 + 0x244b8)
#3 0x00007663e5c43395 n/a (libc.so.6 + 0x25395)
#4 0x00007663e5d3273b __fortify_fail (libc.so.6 + 0x11473b)
#5 0x00007663e5d320e6 __chk_fail (libc.so.6 + 0x1140e6)
#6 0x00007663e5d33945 __snprintf_chk (libc.so.6 + 0x115945)
#7 0x00005604898dea68 n/a (conky + 0x84a68)
#8 0x00007663e697e74c _XError (libX11.so.6 + 0x4474c)
#9 0x00007663e697e858 n/a (libX11.so.6 + 0x44858)
#10 0x00007663e69804e1 _XReply (libX11.so.6 + 0x464e1)
#11 0x00007663e6975c3c XQueryTree (libX11.so.6 + 0x3bc3c)
#12 0x00005604898b7402 n/a (conky + 0x5d402)
#13 0x00005604898828bf n/a (conky + 0x288bf)
#14 0x0000560489874034 main (conky + 0x1a034)
#15 0x00007663e5c43cd0 n/a (libc.so.6 + 0x25cd0)
#16 0x00007663e5c43d8a __libc_start_main (libc.so.6 + 0x25d8a)
#17 0x00005604898791b5 n/a (conky + 0x1f1b5)
Stack trace of thread 1182:
#0 0x00007663e5ca5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007663e5cb1470 n/a (libc.so.6 + 0x93470)
#2 0x00005604898b8f80 n/a (conky + 0x5ef80)
#3 0x00007663e5ee1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007663e5ca955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007663e5d26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1183:
#0 0x00007663e5ca5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007663e5cb1470 n/a (libc.so.6 + 0x93470)
#2 0x00005604898b8f80 n/a (conky + 0x5ef80)
#3 0x00007663e5ee1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007663e5ca955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007663e5d26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1191:
#0 0x00007663e5ca5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007663e5cb1470 n/a (libc.so.6 + 0x93470)
#2 0x00005604898b8f80 n/a (conky + 0x5ef80)
#3 0x00007663e5ee1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007663e5ca955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007663e5d26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1194:
#0 0x00007663e5ca5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007663e5cb1470 n/a (libc.so.6 + 0x93470)
#2 0x00005604898b8f80 n/a (conky + 0x5ef80)
#3 0x00007663e5ee1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007663e5ca955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007663e5d26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1197:
#0 0x00007663e5ca5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007663e5cb1470 n/a (libc.so.6 + 0x93470)
#2 0x00005604898b8f80 n/a (conky + 0x5ef80)
#3 0x00007663e5ee1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007663e5ca955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007663e5d26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1196:
#0 0x00007663e5ca5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007663e5cb1470 n/a (libc.so.6 + 0x93470)
#2 0x00005604898b8f80 n/a (conky + 0x5ef80)
#3 0x00007663e5ee1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007663e5ca955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007663e5d26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1192:
#0 0x00007663e5ca5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007663e5cb1470 n/a (libc.so.6 + 0x93470)
#2 0x00005604898b8f80 n/a (conky + 0x5ef80)
#3 0x00007663e5ee1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007663e5ca955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007663e5d26a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 1195:
#0 0x00007663e5ca5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007663e5cb1470 n/a (libc.so.6 + 0x93470)
#2 0x00005604898b8f80 n/a (conky + 0x5ef80)
#3 0x00007663e5ee1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007663e5ca955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007663e5d26a3c n/a (libc.so.6 + 0x108a3c)
ELF object binary architecture: AMD x86-64`
@starvald Sorry to bother you, but can you tell me which WM/DE you're on?
And it would be very helpful if you could test non-xcb-branch version of merged PR as well, just to make sure this issue is fixed.
xcb-util-errors
which means the official package and your previously tested local build might use different logic for error reporting if you have xcb-util-errors
installed, which was the cause of the crash. I think that's why the issue seemed fixed with the PR you tested.
xcb-util-errors
installed.The linked branch is supposed to report a bunch of errors when you run conky -DD
.
Your stack trace points to a different location than mine (non xcb error path) and arguments being passed around are a bit weird (as described at the end of the PR). I wasn't able to recreate your case, otherwise I wouldn't be asking - the error at hand should be fixed, but some other X11 error might cause the same crash in the future.
@Caellian Using Plasma 5 with wayland.
i'll test the other branch.
EDIT: moving the mouse around i see these errors (running conky -DD) but no segfault.
DEBUG(0) [/run/media/storageEXT4/arch-compiles/conky-xcb-debug/src/x11.cc:293]: X pixmap Error:
Display: 5a7438477ef0, XID: 0, Serial: 178599
error code: [major: 15, minor: 0]
Thanks. That last line was the cause of the crash. All error logging branches (in code) are tested then.
I think I have the same error… The error occurs for me when I move the mouse to another screen (sometimes also, when I only move the mouse on the same screen, but it definitely happens when I switch to another screen). I use ArchLinux, X11 with herbstluftwm, nvidia driver Version 545.29.06... conky Version 1.19.7-1 - installed 24.02.2024 (update date, same as nvidia driver). It seems also be the time when the error first occurred...
`Feb 26 04:52:55 archlinux conky[819]: buffer overflow detected : terminated Feb 26 04:52:55 archlinux systemd-coredump[1049]: [🡕] Process 819 (conky) of user 1000 dumped core.
Stack trace of thread 819:
#0 0x00007763bd4ab32c n/a (libc.so.6 + 0x8d32c)
#1 0x00007763bd45a6c8 raise (libc.so.6 + 0x3c6c8)
#2 0x00007763bd4424b8 abort (libc.so.6 + 0x244b8)
#3 0x00007763bd443395 n/a (libc.so.6 + 0x25395)
#4 0x00007763bd53273b __fortify_fail (libc.so.6 + 0x11473b)
#5 0x00007763bd5320e6 __chk_fail (libc.so.6 + 0x1140e6)
#6 0x00007763bd533945 __snprintf_chk (libc.so.6 + 0x115945)
#7 0x00005f691023fa68 n/a (conky + 0x84a68)
#8 0x00007763be12674c _XError (libX11.so.6 + 0x4474c)
#9 0x00007763be126858 n/a (libX11.so.6 + 0x44858)
#10 0x00007763be1284e1 _XReply (libX11.so.6 + 0x464e1)
#11 0x00007763be11dc3c XQueryTree (libX11.so.6 + 0x3bc3c)
#12 0x00005f6910218402 n/a (conky + 0x5d402)
#13 0x00005f69101e38bf n/a (conky + 0x288bf)
#14 0x00005f69101d5034 main (conky + 0x1a034)
#15 0x00007763bd443cd0 n/a (libc.so.6 + 0x25cd0)
#16 0x00007763bd443d8a __libc_start_main (libc.so.6 + 0x25d8a)
#17 0x00005f69101da1b5 n/a (conky + 0x1f1b5)
Stack trace of thread 821:
#0 0x00007763bd4a5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007763bd4b1470 n/a (libc.so.6 + 0x93470)
#2 0x00005f6910219f80 n/a (conky + 0x5ef80)
#3 0x00007763bd6e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007763bd4a955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007763bd526a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 822:
#0 0x00007763bd4a5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007763bd4b1470 n/a (libc.so.6 + 0x93470)
#2 0x00005f6910219f80 n/a (conky + 0x5ef80)
#3 0x00007763bd6e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007763bd4a955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007763bd526a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 823:
#0 0x00007763bd4a5ebe n/a (libc.so.6 + 0x87ebe)
#1 0x00007763bd4b1470 n/a (libc.so.6 + 0x93470)
#2 0x00005f6910219f80 n/a (conky + 0x5ef80)
#3 0x00007763bd6e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#4 0x00007763bd4a955a n/a (libc.so.6 + 0x8b55a)
#5 0x00007763bd526a3c n/a (libc.so.6 + 0x108a3c)
ELF object binary architecture: AMD x86-64
Feb 26 04:52:55 archlinux systemd[721]: conky-time.service: Main process exited, code=dumped, status=6/ABRT Feb 26 04:52:55 archlinux systemd[721]: conky-time.service: Failed with result 'core-dump'.`
What happened?
compiling my own RPM for Opensuse Leap 15.5 & recent Tumbleweed. On Tumbleweed, conky starts normally and runs until I move the mouse, printing ' buffer overflow detected ; terminated'. strace shows 'killed by SIGABRT', even with a minimal .conkyrc. 1.19.6 runs fine with any config 1.19.7 compiled for Leap 15.5 also runs fine. The tumbleweed computer is locked down with no gdb, I will try to setup another system and reproduce
Version
1.19.7
Which OS/distro are you seeing the problem on?
Linux (other)
Conky config
Stack trace
No response
Relevant log output
No response