Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218257 - app-admin/conky-1.5.2_pre01107 crashes about font change in config file
Summary: app-admin/conky-1.5.2_pre01107 crashes about font change in config file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: David Shakaryan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-18 12:37 UTC by Dennis Winter
Modified: 2008-08-11 13:15 UTC (History)
2 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 Dennis Winter 2008-04-18 12:37:32 UTC
My .conkyrc looks like:

background yes
use_xft yes
xftfont HandleGotD:size=7
xftalpha 0.5
text_buffer_size 1024


TEXT
a
${font HandleGotD:size=8}
${font HandleGotD:size=9}

Reproducible: Always

Steps to Reproduce:
Just use the .conkyrc above and start conky

The output I get:

Conky: desktop window (180000d) found from __SWM_VROOT property
Conky: drawing to desktop window
Conky: drawing to single buffer
*** glibc detected *** conky: realloc(): invalid next size: 0x080b4c80 ***
======= Backtrace: =========
/lib/libc.so.6[0xb780d6e0]
/lib/libc.so.6[0xb7810b31]
/lib/libc.so.6(realloc+0xff)[0xb78114ff]
conky[0x804e033]
conky[0x80626de]
======= Memory map: ========
08048000-08077000 r-xp 00000000 08:03 9261393    /usr/bin/conky
08077000-08078000 r--p 0002e000 08:03 9261393    /usr/bin/conky
08078000-08079000 rw-p 0002f000 08:03 9261393    /usr/bin/conky
08079000-080e5000 rw-p 08079000 00:00 0          [heap]
b7400000-b7421000 rw-p b7400000 00:00 0 
b7421000-b7500000 ---p b7421000 00:00 0 
b757f000-b7588000 r-xp 00000000 08:03 12650209   /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b7588000-b7589000 r--p 00008000 08:03 12650209   /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b7589000-b758a000 rw-p 00009000 08:03 12650209   /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b75a9000-b75ba000 r--p 00000000 08:03 9109598    /usr/share/fonts/ttf-bitstream-vera/Vera.ttf
b75ba000-b75c0000 r--s 00000000 08:03 8701187    /var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-x86.cache-2
b75c0000-b75c2000 r--s 00000000 08:03 8700940    /var/cache/fontconfig/f55bbeb01d684dc5b5f7b2c347cc42d9-x86.cache-2
b75c2000-b75c4000 r--s 00000000 08:03 8700939    /var/cache/fontconfig/76fa4b957c916922374347f144bde9da-x86.cache-2
b75c4000-b75c9000 r--s 00000000 08:03 8700938    /var/cache/fontconfig/4460665c0f3e88acdd4c85aa2f409b99-x86.cache-2
b75c9000-b75cd000 r--s 00000000 08:03 8700937    /var/cache/fontconfig/6355034d6588d5dc08dee953d4caf3fd-x86.cache-2
b75cd000-b75db000 r--s 00000000 08:03 8701192    /var/cache/fontconfig/8d4af663993b81a124ee82e610bb31f9-x86.cache-2
b75db000-b75de000 r--s 00000000 08:03 8700931    /var/cache/fontconfig/f229987021d35643e031bb32719a07d5-x86.cache-2
b75de000-b75ea000 r--s 00000000 08:03 8700941    /var/cache/fontconfig/221fd1126b80b777db535aea535e87ba-x86.cache-2
b75ea000-b760c000 r--s 00000000 08:03 8701170    /var/cache/fontconfig/17090aa38d5c6f09fb8c5c354938f1d7-x86.cache-2
b760c000-b762e000 r--s 00000000 08:03 8700948    /var/cache/fontconfig/df311e82a1a24c41a75c2c930223552e-x86.cache-2
b762e000-b77a5000 r--p 00000000 08:03 4276254    /usr/lib/locale/locale-archive
b77a5000-b77a7000 rw-p b77a5000 00:00 0 
b77a7000-b78d5000 r-xp 00000000 08:03 9392680    /lib/libc-2.6.1.so
b78d5000-b78d7000 r--p 0012d000 08:03 9392680    /lib/libc-2.6.1.so
b78d7000-b78d8000 rw-p 0012f000 08:03 9392680    /lib/libc-2.6.1.so
b78d8000-b78db000 rw-p b78d8000 00:00 0 
b78db000-b7994000 r-xp 00000000 08:03 9322738    /usr/lib/libglib-2.0.so.0.1400.6
b7994000-b7995000 r--p 000b9000 08:03 9322738    /usr/lib/libglib-2.0.so.0.1400.6
b7995000-b7996000 rw-p 000ba000 08:03 9322738    /usr/lib/libglib-2.0.so.0.1400.6
b7996000-b7998000 r-xp 00000000 08:03 9392664    /lib/libdl-2.6.1.so
b7998000-b7999000 r--p 00001000 08:03 9392664    /lib/libdl-2.6.1.so
b7999000-b799a000 rw-p 00002000 08:03 9392664    /lib/libdl-2.6.1.so
b799a000-b799e000 r-xp 00000000 08:03 10194542   /usr/lib/libXdmcp.so.6.0.0
b799e000-b799f000 r--p 00003000 08:03 10194542   /usr/lib/libXdmcp.so.6.0.0
b799f000-b79a0000 rw-p 00004000 08:03 10194542   /usr/lib/libXdmcp.so.6.0.0
b79a0000-b79a2000 r-xp 00000000 08:03 10194014   /usr/lib/libXau.so.6.0.0
b79a2000-b79a3000 r--p 00001000 08:03 10194014   /usr/lib/libXau.so.6.0.0
b79a3000-b79a4000 rw-p 00002000 08:03 10194014   /usr/lib/libXau.so.6.0.0
b79a4000-b7a89000 r-xp 00000000 08:03 10227022   /usr/lib/libX11.so.6.2.0
b7a89000-b7a8a000 r--p 000e5000 08:03 10227022   /usr/lib/libX11.so.6.2.0
b7a8a000-b7a8d000 rw-p 000e6000 08:03 10227022   /usr/lib/libX11.so.6.2.0
b7a8d000-b7a8e000 rw-p b7a8d000 00:00 0 
b7a8e000-b7a9f000 r-xp 00000000 08:03 9356641    /lib/libz.so.1.2.3
b7a9f000-b7aa0000 r--p 00010000 08:03 9356641    /lib/libz.so.1.2.3
b7aa0000-b7aa1000 rw-p 00011000 08:03 9356641    /lib/libz.so.1.2.3
b7aa1000-b7b18000 r-xp 00000000 08:03 10044493   /usr/lib/libfreetype.so.6.3.16
b7b18000-b7b1b000 r--p 00077000 08:03 10044493   /usr/lib/libfreetype.so.6.3.16




When I remove one of the font-lines, everything works just fine.
Any other contens other than 2 font-commands works fine, too.
Also removing the line "text_buffer_size 1024" works fine, doesn't matter if there is one or more font-commands.

%%%%%%%%%%%%%%%%%%%%
# emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 i686)
=================================================================
System uname: 2.6.24-gentoo-r4 i686 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
Timestamp of tree: Thu, 17 Apr 2008 06:05:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/glftpd/etc /opt/glftpd/ftp-data /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/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=prescott -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL=""
LINGUAS="de en_US en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress --exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X accessibility acl acpi alsa apache2 bash-completion berkdb bzip2 caps cli cracklib crypt cups dbus dri exif firefox fortran ftp gdbm gif gphoto2 gpm gtk hal hardened hddtemp hvm iconv idn imlib isdnlog java jpeg jpeg2k midi mudflap mysql mysqli ncurses network-cron nls nptl nptlonly nsplugin opengl openmp pam pcre perl png pppd python qt-static qt3 readline real reflection ruby scanner session slang spell spl ssl svg svga tcpd threads tiff truetype type1 unicode userlocales vga vim-pager vim-syntax vim-with-x wifi x86 xine xinetd xorg xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en_US en_GB" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY

%%%%%%%%%%%%
# locale
LANG=en_US.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=
Comment 1 Dennis Winter 2008-04-18 14:06:26 UTC
(In reply to comment #0)
> My .conkyrc looks like:
> 
> background yes
> use_xft yes
> xftfont HandleGotD:size=7
> xftalpha 0.5
> text_buffer_size 1024
> 
> 
> TEXT
> a
> ${font HandleGotD:size=8}
> ${font HandleGotD:size=9}
> 


%%%%%%
Any value up to "text_buffer_size 276" works fine as well.
Comment 2 Brenden Matthews 2008-04-22 23:08:11 UTC
This should be fixed in conky-1.5.2_pre01114 (coming soon).
Comment 3 David Shakaryan (RETIRED) gentoo-dev 2008-08-11 13:15:31 UTC
According to brenden, this should be fixed, as we have versions newer than his stated 1.5.2_pre01114 in the tree. :)