You are not logged in.

#1 2010-04-02 17:09:42

tuhyk
Member
From: Czech Rep.
Registered: 2010-01-12
Posts: 49
Website

conky 1.8.0-1 segmentation fault

Yesterday I upgraded conky to version 1.8.0-1 and since then I am troubled with segmentation faults.

My .conkyrc

#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window  yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager 

#borders
draw_borders no

#shades
draw_shades no

#position
gap_x 3
gap_y 3
alignment top_right

#behaviour
update_interval 1

#colour
default_color  808080
own_window_colour 333333

#font
use_xft yes
xftfont Droid Sans:pixelsize=11

#to prevent window from moving
use_spacer none
minimum_size 1440 0

TEXT
      UPTIME: ${color ffffff}$uptime ${color}      CPU: ${color ffffff}${cpu cpu0}% ${color}      TEMP: ${color ffffff}${i8k_cpu_temp}°C ${color}      RAM: ${color ffffff}$mem ${color}      SWAP: ${color ffffff}$swap ${color}      HDD: ${color ffffff}${fs_free /home/}${color}       BAT: ${color ffffff} ${battery_percent}% ${color}      DOWN: ${color ffffff} ${downspeed wlan0}${color bdc6b1}/  ${color ffffff}${totaldown wlan0} ${color}      UP: ${color ffffff} ${upspeed wlan0}${color bdc6b1}/  ${color ffffff}${totalup wlan0} ${color} ${alignr}DATE: ${color FFFFFF}${time %A, %d %B %Y}${color}     TIME: ${color FFFFFF}${time %H:%M:%S}${color}  ${texeci 3600 feh --bg-scale "`grep 'wallpaper=' ~/.kdemod4/share/config/plasma-desktop-appletsrc | tail -n1 | tail --bytes=+11`"}
${alignr} NOW PLAYING: ${color ffffff}${execi 10 ~/.conky/amarok artist}${color} - ${color ffffff}${execi 10 ~/.conky/amarok title} ${color}

Terminal output

Conky: /home/tuhyk/.conkyrc: 12: no such configuration: 'border_margin'                        
Conky: desktop window (1c00105) is subwindow of root window (1ad)                              
Conky: window type - normal                                                                    
Conky: drawing to created window (0x1e00001)                                                   
Conky: drawing to double buffer
Segmentation fault

I removed the mentioned line but no luck, conky keeps on quitting with a segmentation fault. Any ideas how to solve? Perhaps here is a change in the settings in the new version I am not aware of? Thanks guys

EDIT: the segmentation fault occurs after a couple of minutes, not immediately.

Last edited by tuhyk (2010-04-02 17:10:35)


All I really need to know I learned from watching Star Trek

Offline

#2 2010-04-02 20:55:54

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: conky 1.8.0-1 segmentation fault

Does it still segment fault without a .conkyrc?

Also FWIW, heres my conky settings:

# Use Xft?
use_xft yes
xftfont mono:size=9
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent no
own_window_type override
own_window_hints undecorated,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 1280 0

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
stippled_borders 0

# border margins
border_margin 0

# border width
border_width 0

# Default colors and also border colors
default_color white
color2 1994D1
default_shade_color black
default_outline_color 3c3c3c
own_window_colour 3c3c3c

# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 0
gap_y 3

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer right

TEXT

Offline

#3 2010-04-03 10:22:10

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: conky 1.8.0-1 segmentation fault

I have two conky config files, and the one which is actually conkyforecast gave the same error message after upgrade, but I haven't had the time yet to look into this. So if you find the solution, please post. smile
The other one which shows system info works fine.

Offline

#4 2010-04-03 11:23:53

tuhyk
Member
From: Czech Rep.
Registered: 2010-01-12
Posts: 49
Website

Re: conky 1.8.0-1 segmentation fault

I downgraded for the time being so problem temporarily solved. I suppose the issue must be connected with the settings in the file so I'm gonna build my .conkyrc from scratch when I have more time to spare.


All I really need to know I learned from watching Star Trek

Offline

#5 2010-04-14 21:18:05

orbisvicis
Member
Registered: 2009-08-10
Posts: 23

Re: conky 1.8.0-1 segmentation fault

I opened a possibly related bug report at:
http://sourceforge.net/tracker/?func=de … tid=757308

Offline

Board footer

Powered by FluxBB