Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278377 - app-admin/conky-1.7.1.1: Bus error when starting
Summary: app-admin/conky-1.7.1.1: Bus error when starting
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: unaligned-access
  Show dependency tree
 
Reported: 2009-07-20 05:27 UTC by Yuan Ye
Modified: 2023-05-08 17:26 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 Yuan Ye 2009-07-20 05:27:37 UTC
bus error even under the default configuration
1.7.0_rc1 is OK
1.7.1.1 has this bug
1.7.1.1-r1 didn't fix it

Reproducible: Always

Steps to Reproduce:
1.start conky
2.
3.

Actual Results:  
Conky: desktop window (fc) is root window
Conky: window type - desktop
Conky: drawing to created window (0xc00001)
Conky: drawing to single buffer
Bus error


Expected Results:  
no "bus error", and the conky window shows up

root@acer-laptop:/home/yuanyelele# emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r2-x86_64-Genuine_Intel-R-_CPU_T1400_@_1.73GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 20 Jul 2009 01:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.mirror.web4u.cz/ http://mirror.gentoo.no/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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/layman/x11 /usr/local/portage/layman/lxde /usr/local/portage/layman/gentoo-china /usr/local/portage/layman/yuanyelele"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode evo fam fastcgi firefox flac gdbm gif gpm gstreamer gtk hal iconv isdnlog jpeg ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg openmp pam pcre pdf php png ppds pppd pulseaudio python qt3support quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vim-syntax vorbis xcb xml xorg xulrunner xv 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Yuan Ye 2009-07-20 05:29:53 UTC
# FEATURES="nostrip" CFLAGS="-march=core2 -pipe -ggdb" CXXFLAGS="${CFLAGS}" emerge =conky-1.7.1.1

(gdb) run
Starting program: /usr/bin/conky 
[Thread debugging using libthread_db enabled]
Conky: desktop window (fc) is root window
Conky: window type - desktop
Conky: drawing to created window (0xc00001)
Conky: drawing to single buffer
[New Thread 0x7f25a6d71730 (LWP 9795)]

Program received signal SIGBUS, Bus error.
[Switching to Thread 0x7f25a6d71730 (LWP 9795)]
0x000000000041c2f7 in main_loop () at conky.c:6864
6864	conky.c: No such file or directory.
	in conky.c
(gdb) bt
#0  0x000000000041c2f7 in main_loop () at conky.c:6864
#1  0x0000000000421743 in main (argc=1, argv=0x7fff7e421598) at conky.c:8739
Comment 2 Yuan Ye 2009-07-20 05:32:34 UTC
yuanyelele@acer-laptop:~$ conky -DD
DEBUG(0) [conky.c:8185]: reading contents from config file '/etc/conky/conky.conf'
DEBUG(0) [conky.c:3157]: no templates to replace
DEBUG(0) [conky.c:3157]: no templates to replace
DEBUG(1) [conky.c:1470]: Adding $cpu for CPU 0
DEBUG(1) [conky.c:1481]: Adding $cpubar for CPU 0
Conky: desktop window (fc) is root window
Conky: window type - desktop
Conky: drawing to created window (0xc00001)
Conky: drawing to single buffer
Bus error
Comment 4 Yuan Ye 2009-07-21 01:41:14 UTC
(In reply to comment #3)
> Try this patch:
> 
> http://git.omp.am/?p=conky.git;a=commit;h=ca340d26430091ef97c5eb9d9a11cf4efe4b0434
> 

Cool~ Problem solved!
Thank you. I love Gentoo.
Comment 5 Daniel Pielmeier gentoo-dev 2009-07-30 21:13:15 UTC
Fixed in conky-1.7.2_rc2.