I am running conky (with the ~x86 keyword) with fluxbox-1.1.1-r1. After upgrading from conky-1.7.1.1-r1 to conky-1.7.2_rc2, I noticed that conky no longer started with fluxbox. When I run conky after starting fluxbox, I get this message: "Conky: border_margin is deprecated, please use window.border_inner_margin instead". So I changed the line in my .conkyrc from "border_margin 4" to "border_inner_margin 4", which made this warning message go away. Either way, conky starts without a problem when I run it after starting fluxbox. However, conky still doesn't start with fluxbox, despite me telling to fluxbox to start conky in "~/.fluxbox/startup". Since I can no longer find conky-1.7.1.1-r1, I tried downgrading to conky-1.7.1.1-r2, changing the "border_inner_margin 4" line back to "border_margin 4". After downgrading, conky starts with fluxbox again. I've placed conky in debug mode and wrote the results to log files, which are shown below. Reproducible: Always Steps to Reproduce: 1. Install fluxbox-1.1.1-r1 and conky-1.7.1.1-r1 or conky-1.7.1.1-r2. 2. Configure fluxbox, through the fluxbox startup file to start conky. 3. Notice that conky starts with fluxbox. 4. Upgrade conky to conky-1.7.2_rc2. 5. Change any "border_margin" to "border_inner_margin" as needed in ~/.conkyrc . 6. Exit fluxbox if already running fluxbox. 7. Start fluxbox 8. Notice that conky no longer starts with fluxbox. I am running xorg-server-1.5.3-r6. My current ~/.fluxbox/startup file (with comments removed): fbsetbg -c ~/pictures/LetterEater.jpg nice conky -DD &> ~/conkylog exec /usr/bin/fluxbox (Note that I have tried removing the nice, adding an & to send it to the background, without the -DD flag, and without the "&> ~/conkylog"; these do not help solve the problem.) conky-1.7.2_rc2's debug output when fluxbox's startup file tries to start it (before changing the "border_margin 4" line to "border_inner_margin 4": Conky: border_margin is deprecated, please use window.border_inner_margin instead X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 20 (X_GetProperty) Atom id in failed request: 0x0 Serial number of failed request: 10 Current serial number in output stream: 10 conky-1.7.2_rc2's debug output on fluxbox startup after changing the "border_margin 4" line: X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 20 (X_GetProperty) Atom id in failed request: 0x0 Serial number of failed request: 10 Current serial number in output stream: 10 conky's debug output when started after fluxbox: DEBUG(0) [conky.c:8817]: reading contents from config file '/home/jimmy/.conkyrc' DEBUG(0) [conky.c:3402]: no templates to replace DEBUG(1) [conky.c:1599]: Adding $cpu for CPU 0 DEBUG(1) [conky.c:1611]: Adding $cpubar for CPU 0 DEBUG(1) [conky.c:1619]: Adding $cpugraph for CPU 0 Conky: forked to background, pid is 19744 Conky: desktop window (89) is root window Conky: drawing to desktop window Conky: drawing to double buffer DEBUG(1) [conky.c:4850]: jumping DEBUG(1) [conky.c:4850]: jumping DEBUG(1) [conky.c:4850]: jumping DEBUG(1) [conky.c:4850]: jumping (Note that the "DEBUG(1) [conky.c:4850]: jumping" repeats many more times.) My emerge --info: Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5-2009Jul31 i686) ================================================================= System uname: Linux-2.6.29-gentoo-r5-2009Jul31-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-glibc2.0 Timestamp of tree: Sun, 02 Aug 2009 15:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=pentium-m -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ http://gentoo.netnitco.net http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.mirrors.tds.net/gentoo ftp://mirror.datapipe.net/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en_US en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa bash-completion berkdb bluetooth bzip2 cairo caps cdparanoia cjk cli cracklib crypt cups dbus dell directfb divx dri dts dvb dvd eap-tls emacs encode exif fbcon ffmpeg flac fortran ftp gd gdbm gif gmedia gnutls gpm gstreamer gtk hal hardened iconv ipv6 isdnlog java javascript jpeg jpeg2k laptop libcaca logrotate lzo mad mailwrapper matroska mbrola mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly ogg openal opengl openmp pam pcmcia pcre pdf perl png ppds pppd prediction preview-latex python qt3support qt4 quicktime readline realmedia reflection samba scanner sdl session socks5 sound spell spl sse sse2 ssl svg sysfs tcpd theora threads tiff tk truetype unicode usb v4l v4l2 vcd vlm vorbis wifi win32codecs wmf wmp wxwindows x86 xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="intel8x0" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 199965 [details] ~/.conkyrc
I got a similar error after update: $ conky -DD DEBUG(0) [conky.c:8817]: reading contents from config file '/home/oliver/.conkyrc' DEBUG(0) [conky.c:3402]: no templates to replace DEBUG(1) [conky.c:1619]: Adding $cpugraph for CPU 1 DEBUG(1) [conky.c:1619]: Adding $cpugraph for CPU 2 DEBUG(1) [conky.c:1599]: Adding $cpu for CPU 1 DEBUG(1) [conky.c:1599]: Adding $cpu for CPU 2 Conky: diskio device 'normal' does not exist Conky: desktop window (1800330) is subwindow of root window (13c) Conky: window type - normal Conky: drawing to created window (0x3000001) Conky: drawing to double buffer Segmentation fault $ conky --version Conky 1.7.2_rc2 compiled Mon Aug 3 15:17:42 CEST 2009 for Linux 2.6.30-gentoo-r4 (i686) Compiled in features: System config file: /etc/conky/conky.conf Package library path: /usr/lib/conky X11: * Xdamage extension * XDBE (double buffer extension) * Xft Music detection: General: * hddtemp * portmon * nvidia * config-output * ALSA mixer support * iostats
(In reply to comment #2) Oliver, thanks for the information, but you appear to have a different bug (or at least a different error). Your error which prevents conky from starting appears to be a segmentation fault. On the other hand, my bug does not appear to be a segmentation fault; instead, it is this: X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 20 (X_GetProperty) Atom id in failed request: 0x0 Serial number of failed request: 10 Current serial number in output stream: 10 Perhaps try submitting a new bug report?
A workaround is to delay the start of conky. For example, instead of "nice conky", "(sleep 2; nice conky) &" can be used instead in the "~/.fluxbox/startup" file. I have tested this workaround, and it is able to start conky approximately one second after fluxbox finishes starting. If your fluxbox is slower, increasing the time given to sleep may help. Note that this workaround was also mentioned at <http://ubuntuforums.org/showthread.php?t=835659>, but that thread appears to be for an older version of conky and fluxbox, and the poster reported that the workaround does not work.
Reply to comment #3: Jimmy, you are right. I got segfaults if I use diskiograph, so it is a different bug.
I just upgraded to app-admin/conky-1.7.2_rc3 and the problem appears to have gone away. I don't know what fixed it (though it'd be nice to know). Thanks for the help.