Conky Segfaults

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
ajgringo619

Conky Segfaults

Post by ajgringo619 »

Not sure why, but Conky is segfaulting at random times - sometimes at startup, sometimes after running for hours/days. The config file I'm using hasn't changed in almost 10 days (added the WiFi section at the bottom):

Code: Select all

Jan 27 20:20:52 DSS-Mint19-XFCE kernel: [   88.203168] conky[2306]: segfault at 0 ip 0000555dc8bbfcc2 sp 00007ffea74c71e8 error 4 in conky[555dc8b67000+d0000]
Jan 27 20:25:26 DSS-Mint19-XFCE kernel: [  362.052920] conky[4391]: segfault at 0 ip 00005648451b9cc2 sp 00007ffc369921c8 error 4 in conky[564845161000+d0000]
Jan 27 20:30:44 DSS-Mint19-XFCE kernel: [  680.497040] conky[8532]: segfault at 0 ip 000055c01c6a7cc2 sp 00007ffc7bbbcbf8 error 4 in conky[55c01c64f000+d0000]
Jan 30 12:29:25 DSS-Mint19-XFCE kernel: [14609.474247] conky[5321]: segfault at 0 ip 0000557c2a27ac97 sp 00007ffc44b5ea48 error 4 in conky[557c2a222000+d0000]
My conky config (started with conky -d -c ~/conky/System):

Code: Select all

update_interval 2
net_avg_samples 1
cpu_avg_samples 1
if_up_strictness link
short_units
pad_percents 1

imlib_cache_size 0
double_buffer yes
no_buffers yes

#####################
# - Text settings - #
#####################
use_xft yes
xftfont Roboto:size=11
override_utf8_locale yes
text_buffer_size 2048
format_human_readable
top_name_width 20
top_cpu_separate no
max_text_width 60
#top_name_verbose yes

#############################
# - Window specifications - #
#############################
own_window_class Conky
own_window yes
own_window_type panel
own_window_argb_visual yes
own_window_argb_value 0
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

alignment mr
gap_x 15
gap_y 20
minimum_size 400 100
default_bar_size 100 8

draw_shades no

default_color cccccc

color0 darkgrey
color1 77507b
color2 white
color3 35805f
color4 4e4141
color5 yellow

TEXT
  ${color3}${font :BOLD: size=11}SYSTEM INFO ${hr 3}${color}
${goto 32}${font : size=9}${color0}Hostname: ${goto 120}${color2}${nodename}${color}${goto 300}Uptime:
${goto 32}${color0}Kernel: ${goto 120}${color2}${kernel}${color}${goto 300}${color2}${uptime}${color}
${goto 32}${color0}Distro:${goto 120}${color2}${execpi 3600 grep DESCRIPTION /etc/linuxmint/info | cut -c 13- | tr -d \"}

${goto 32}${color0}Desktop Environment:${goto 180}${color2}${execpi 3600 echo $XDG_CURRENT_DESKTOP}
${goto 32}${color0}Desktop Name:${goto 180}${color2}[${desktop}] ${desktop_name}

  ${color3}${font :BOLD: size=11}GPU ${hr 3}${color}
${goto 32}${font : size=9}${color0}Model:${color5}${goto 180}Nvidia ${execpi 3600 nvidia-smi --query-gpu="gpu_name" --format=csv | grep -v name}${color}
${goto 32}Driver version:${color2}${goto 180}${execpi 3600 nvidia-smi --query-gpu="driver_version" --format=csv | grep -v driver_version}${color}
${goto 32}Memory Usage:${color2}${goto 180}${exec nvidia-smi --query-gpu="memory.used" --format=noheader,csv,nounits}M [${execpi 3600 nvidia-smi --query-gpu="memory.total" --format=noheader,csv,nounits}M]${color}
${goto 32}Temperature: ${color2}${goto 180}${nvidia temp}℃${color red} (${nvidia threshold}℃)${color}
${goto 32}${font : size=9}GPU Frequency: ${color2}${goto 180}${nvidia gpufreq} Mhz${color}
${goto 32}MEM Frequency: ${color2}${goto 180}${nvidia memfreq} Mhz${color}

  ${color3}${font :BOLD: size=11}CPU/RAM ${hr 3}${color}${font}
${font : size=9}${goto 32}${color0}CPU Usage: ${color5}${cpu}%${goto 180}${color0}Freq: ${color5}${freq} Mhz${alignr}${color0}Temp: ${color5}${exec sensors k10temp-pci-00c3 | grep temp1 | cut -c 16-22 | tr -d "+"}${color}
${goto 60}${color0}Top Processes${alignr}CPU%
${goto 60}${color2}${top name 1}${alignr}${top cpu 1}
${goto 60}${top name 2}${alignr}${top cpu 2}
${goto 60}${top name 3}${alignr}${top cpu 3}
${goto 60}${top name 4}${alignr}${top cpu 4}
${goto 60}${top name 4}${alignr}${top cpu 5}
${goto 60}${top name 4}${alignr}${top cpu 6}
${goto 60}${top name 4}${alignr}${top cpu 7}
${goto 60}${top name 4}${alignr}${top cpu 8}
${goto 60}${top name 4}${alignr}${top cpu 9}
${goto 60}${color5}Load average (last 5 minutes)${alignr}${loadavg 2}

${goto 32}${color0}RAM Usage: ${color5}${mem}${color} [${memmax}]${alignr}${color0}Swap: ${color5}${swap}${color} [${swapmax}]
${goto 60}${color0}Top Processes${alignr}MEM
${goto 60}${color2}${top_mem name 1}${alignr}${top_mem mem_res 1}
${goto 60}${top_mem name 2}${alignr}${top_mem mem_res 2}
${goto 60}${top_mem name 3}${alignr}${top_mem mem_res 3}
${goto 60}${top_mem name 4}${alignr}${top_mem mem_res 4}
${goto 60}${top_mem name 4}${alignr}${top_mem mem_res 5}
${goto 60}${top_mem name 4}${alignr}${top_mem mem_res 6}
${goto 60}${top_mem name 4}${alignr}${top_mem mem_res 7}
${goto 60}${top_mem name 4}${alignr}${top_mem mem_res 8}
${goto 60}${top_mem name 5}${alignr}${top_mem mem_res 9}${color}
${goto 60}${color5}Total processes (sleeping and running)${alignr}${processes}

  ${color3}${font :BOLD: size=11}DISKS ${hr 3}${color}${font}
${font : size=9}${color white}${goto 32}Device${goto 120}Temp${goto 175}Read${goto 230}Write${color}
${goto 32}${color0}/dev/sda${goto 120}${color2}${exec hddtemp /dev/sda | cut -d: -f3 | tr -d " "}${goto 175}${diskio_read /dev/sda}${goto 230}${diskio_write /dev/sda}${color}
${if_mounted /media/Backup-Data}${goto 32}${color0}/dev/sdb${color2}${goto 175}${diskio_read /dev/sdb}${goto 230}${diskio_write /dev/sdb}${color}${endif}

  ${color3}${font :BOLD: size=11}DATA ${hr 3}${color}${font}
${font : size=9}${color white}${goto 120}Used${goto 200}Capacity${goto 280}Mount Point${color}
${goto 32}${color0}System: ${goto 120}${color yellow}${fs_used /}${goto 200}${color white}${fs_size /}${goto 280}/${color}
${goto 32}${color0}Data: ${goto 120}${color yellow}${fs_used /home}${goto 200}${color white}${fs_size /home}${goto 280}/home${color}
${goto 120}${color yellow}${fs_used /media/VM-testing}${goto 200}${color white}${fs_size /media/VM-testing}${goto 280}/media/VM-testing${color}
${goto 32}${color0}Timeshift: ${goto 120}${color yellow}${fs_used /media/snapshots}${goto 200}${color white}${fs_size /media/snapshots}${goto 280}/media/snapshots${color}
${goto 32}${color0}Backups: ${goto 120}${color yellow}${fs_used /media/Backup-Data}${goto 200}${color white}${fs_size /media/Backup-Data}${goto 280}/media/Backup-Data

  ${color3}${font :BOLD: size=11}NETWORK ${hr 3}${color}${font}
${font : size=9}${color white}${goto 32}${gw_iface}${goto 200}Current${goto 280}Today${color}
${goto 32}${color0}Upload: ${goto 200}${color yellow}${upspeed wlxbcec23100000}${goto 280}${color white}${exec vnstat -i wlxbcec23100000 | grep "today" | awk '{print $5 $6}'}${color}
${goto 32}${color0}Download: ${goto 200}${color yellow}${downspeed wlxbcec23100000}${goto 280}${color white}${exec vnstat -i wlxbcec23100000 | grep "today" | awk '{print $2 $3}'}${color}

${goto 32}${color0}ESSID:${goto 120}${color2}${wireless_essid}${color0}${goto 200}Bitrate:${goto 280}${color2}${wireless_bitrate wlxbcec23100000}
${goto 32}${color0}Frequency:${goto 120}${color2}${wireless_freq wlxbcec23100000}${color0}${goto 200}Channel:${goto 280}${color2}${wireless_channel wlxbcec23100000}
${goto 32}${color0}Link Quality:${goto 120}${color2}${wireless_link_qual_perc wlxbcec23100000}%${color0}${goto 200}Mode:${goto 280}${color2}${wireless_mode wlxbcec23100000}
I haven't had any luck building the latest Conky from source. I've already purged/reinstalled conky-all. There really hasn't been that many updates lately, so I don't know what could have changed or been corrupted. The only thing I can think of is I added a VPN connection right about the same time that this started happening. I have to shut off the VPN whenever I use my FanDuel account, then I turn it back on when I'm done.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Software & Applications”