Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239545 - app-admin/conky-1.6.1 crashes shortly after X starts when started as a startup item in fluxbox
Summary: app-admin/conky-1.6.1 crashes shortly after X starts when started as a startu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: David Shakaryan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-04 15:02 UTC by John Shafer
Modified: 2008-12-08 05:05 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Shafer 2008-10-04 15:02:06 UTC
I start conky with the command:

conky -dc ~/.conky/conkyrc &

in my fluxbox startup file.  When starting X with the startx command, conky will briefly show on the desktop and then crash.  The following error messages are produced:

X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request: 161 (DAMAGE)
  Minor opcode of failed request: 1 (XDamageCreate)
  Resource id of failed request: 0x600001
  Serial number of failed request: 40
  Current serial number in output stream: 41

If I start conky with the same command after X has started, it starts fine.  This seems to be a new problem introduced with 1.6.1, as this setup worked fine with 1.5.1.

Reproducible: Sometimes

Steps to Reproduce:
1.  Add conky -dc /path/to/conkyrc to fluxbox startup file
2.  startx
3.  Conky crashes nearly every time.

Actual Results:  
Conky briefly showed on desktop, then apparently crashes.

Expected Results:  
Conky remains on active and visible on desktop.

Here is my conkyrc file:

# Conky config file

# Default font for conky
font -xos4-terminus-medium-r-normal--12-*-*-*-*-*-*-*

# How often conky updates in seconds
update_interval 1

# Create own window to draw?
own_window no
#own_window yes
#own_window_transparent yes
#own_window_type desktop

# Use Xdbe extension to reduce flicker (not needed in fluxbox)
double_buffer yes

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text?
draw_borders no

# Border stippling in pixels
stippled_borders 10

# Border margin in pixels
border_margin 4

# Border width in pixels
border_width 1

# Default colors
default_color white
default_shade_color white
default_outline_color white

# Alignment, can be top_left, top_right, bottom_left, bottom_right, middle_left, middle_right
alignment top_left

# Gap from top or bottom of screen
gap_y 30

# Subtract file system buffers from used memory
no_buffers yes

# Render text in uppercase
uppercase no

# Minimum window size
#minimum_size 250

# Text buffer size (default=128)
text_buffer_size 5120

TEXT
${execi 10 remind -q ~/.reminders}

${execi 10 remind -c+2 -w100 -q ~/.reminders}


The execi statements just run the command line calendar program remind.
Comment 1 John Shafer 2008-10-04 15:04:04 UTC
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Sat, 04 Oct 2008 08:11:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl alsa amd64 apic avi bash-completion berkdb branding bzip2 cairo cdparanoia cdr cli cracklib crypt cups dbus divx4linux dri dv dvd dvdr dvdread encode fame firefox flac fortran gdbm gif gimp gpm gtk hal iconv ieee1394 imagemagick imap ipv6 isdnlog jpeg lame latex lm_sensors midi mmx mmxext mp3 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pop ppds pppd python quicktime readline reflection ruby sasl scanner session spl sse sse2 ssl svg sysfs tcpd tiff tk truetype unicode usb vim-syntax vorbis xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb21
6 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Christopher Smith 2008-11-26 15:14:17 UTC
I can confirm this issue.  The same thing happens to me.  I on using 64-bit.  Conky used to work but now it segaults everytime I try to open it.
Comment 3 Christopher Smith 2008-11-26 15:32:36 UTC
I just realized that this was a configuration issue.  It was weird though because I didn't updgrade conky or change anything when it stopped working.
Comment 4 John Shafer 2008-11-26 23:59:55 UTC
(In reply to comment #3)
> I just realized that this was a configuration issue.  It was weird though
> because I didn't updgrade conky or change anything when it stopped working.
> 
What was the configuration variable that was causing the problem for you?
Comment 5 Brenden Matthews 2008-12-07 07:28:01 UTC
This has already been fixed upstream, and there should be a newer package soon.
Comment 6 David Shakaryan (RETIRED) gentoo-dev 2008-12-08 05:05:12 UTC
(In reply to comment #5)
> This has already been fixed upstream, and there should be a newer package soon.
> 

Closing bug FIXED.