Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 113219
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Black <dragonheart@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Nathan Sullivan <nathan@nightsys.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
conky-1.3.4.ebuild app-admin/conky-1.3.4.ebuild text/plain Philip Kovacs 2005-11-22 18:52 0000 2.38 KB Details
conky-1.3.4-posixsignals.patch app-admin/conky/files/conky-1.3.4-posixsignals.patch patch Philip Kovacs 2005-11-22 18:53 0000 786 bytes Details | Diff
conky-1.3.4-r1.ebuild app-admin/conky/conky-1.3.4-r1.ebuild text/plain Philip Kovacs 2005-11-22 19:02 0000 2.28 KB Details
conky-1.3.4-posixsignals.patch app-admin/conky/files/conky-1.3.4-posixsignals.patch patch Philip Kovacs 2005-11-22 20:41 0000 792 bytes Details | Diff
conky-1.3.4-r1.ebuild app-admin/conky/conky-1.3.4-r1.ebuild text/plain Philip Kovacs 2005-11-23 11:17 0000 2.27 KB Details
conky-1.3.4-syncsig.patch app-admin/conky/files/conky-1.3.4-syncsig.patch patch Philip Kovacs 2005-11-23 11:21 0000 2.03 KB Details | Diff
strace-conky.log strace output 1.3.4 text/plain Nathan Sullivan 2005-11-24 19:19 0000 67.05 KB Details
conky-1.3.4-r1.ebuild app-admin/conky/conky-1.3.4-r1.ebuild text/plain Philip Kovacs 2005-11-24 20:13 0000 2.27 KB Details
conky-1.3.4-miscbug.patch app-admin/conky/conky-1.3.4-miscbug.patch patch Philip Kovacs 2005-11-24 20:14 0000 2.76 KB Details | Diff
conky-1.3.4-r1.ebuild.patch app-admin/conky/conky-1.3.4-r1.ebuild.patch patch Philip Kovacs 2005-11-24 20:53 0000 564 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 113219 depends on: Show dependency tree
Bug 113219 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-11-21 17:58 0000
conky 1.3.4 gets glibc errors, most of the time double free errors, when you
start it from a term in X, then ctrl+c kill it. reproducible on amd64 so far.

Reproducible: Always
Steps to Reproduce:
1. emerge conky
2. start /usr/bin/conky from a terminal in X
3. ctrl+c kill conky

Actual Results:  
glibc errors, double free for myself and one other tester, invalid next size
(normal) for one other tester so far.

Expected Results:  
successfully die.

Portage 2.0.53_rc7 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.12-ck2 x86_64)
=================================================================
System uname: 2.6.12-ck2 x86_64 AMD Opteron(tm) Processor 148
Gentoo Base System version 1.12.0_pre10
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.isp.net.au/ftp/pub/gentoo
http://mirror.pacific.net.au/pub/Gentoo
http://public.planetmirror.com/pub/gentoo http://mirror.gentoo.gr.jp
ftp://gg3.net/pub/linux/gentoo http://ftp-mirror.internap.com/pub/gentoo
ftp://gentoo.agsn.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://172.17.0.1/gentoo-portage"
USE="X acpi aim alsa amd64 apache2 audiofile avi bash-completion berkdb
big-tables bitmap-fonts browserplugin bzip2 cairo cdr cli crypt cups curl dba
debug divx4linux dvd dvdr emboss encode ethereal exif expat extraengine fam
ffmpeg firefox flac foomaticdb fortran gd gdbm gif glut gpm gstreamer gtk gtk2
icq idn imap imlib innodb ipv6 jabber java jpeg kerberos lcms ldap lzw lzw-tiff
mad mhash mng mozsvg mp3 mpeg mppe-mppc mysql mysqli ncurses nls nptl nptlonly
nsplugin nvidia ogg openal opengl pam pcntl pcre pdflib pear perl php png posix
python quicktime readline real ruby samba sdl session slang soap sockets spell
sqlite ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb
userlocales utf8 vorbis wddx xine xinerama xml2 xmlrpc xmms xosd xpm xsl xv xvid
yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


nathan@nathan1 ~ $ conky
Conky: drawing to subwindow of root window (400004)
Conky: drawing to single buffer
Conky: received SIGINT or SIGTERM to terminate. bye!
*** glibc detected *** double free or corruption (!prev): 0x000000000054b810 ***
Aborted


nathan@nathan1 ~ $ gdb conky
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/conky 
[Thread debugging using libthread_db enabled]
[New Thread 46912516306224 (LWP 32582)]
Conky: drawing to subwindow of root window (400004)
Conky: drawing to single buffer

Program received signal SIGINT, Interrupt.
[Switching to Thread 46912516306224 (LWP 32582)]
0x00002aaaabb726e5 in __select_nocancel () from /lib/libc.so.6
(gdb) bt
#0  0x00002aaaabb726e5 in __select_nocancel () from /lib/libc.so.6
#1  0x0000000000416a2b in main (argc=1, argv=0x7fffff97c908) at conky.c:4092

------- Comment #1 From Alex Boag-Munroe 2005-11-21 18:00:47 0000 -------
Similar problem here: 
 
ninpo@the-beast ~ $ conky 
Conky: drawing to subwindow of root window (1a0000d) 
Conky: drawing to single buffer 
Conky: received SIGINT or SIGTERM to terminate. bye! 
*** glibc detected *** double free or corruption (!prev): 0x0000000000553fd0 
*** 
Aborted 
ninpo@the-beast ~ $ 
 
My emerge info: 
 
Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.6-r0, 
2.6.14-acid2 x86_64) 
================================================================= 
System uname: 2.6.14-acid2 x86_64 AMD Athlon(tm) 64 Processor 3500+ 
Gentoo Base System version 1.12.0_pre9 
dev-lang/python:     2.3.5, 2.4.2 
sys-apps/sandbox:    1.2.13 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse 
-msse2 -msse3" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse 
-msse2 -msse3" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://194.117.143.71 ftp://194.117.143.71/mirrors/gentoo 
http://194.117.143.69 http://194.117.143.70 
ftp://194.117.143.70/mirrors/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/portage" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="64bit X a52 aac aim alsa amarok amd64 atm audiofile avi berkdb 
bitmap-fonts bzip2 cdb cdr crypt cups curl dbus divx4linux dts dv dvb dvd dvdr 
dvdread eds emboss encode exif expat fam ffmpeg flac foomaticdb fortran geoip 
gif glibc-omitfp glut gmp gpm gstreamer gtk gtk2 hal howl idn imagemagick 
imlib jabber java jpeg junit kde kde-meta kdeenablefinal lame lcms ldap libwww 
lirc lzw lzw-tiff mad mhash mng mp3 mpeg msn musicbrainz mysql ncurses nls 
nptl nvidia ogg openal opengl oscar pam pcre pdflib perl pic png python qt 
quicktime readline real recode sdl spell sql sqlite ssl tcpd tiff truetype 
truetype-fonts type1-fonts udev usb userlocales v4l2 visualization vorbis xine 
xml2 xmms xpm xv xvid xvmc yahoo zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS 

------- Comment #2 From P Nienaber 2005-11-21 18:02:58 0000 -------
Same conky version here.

[0][phox@box ~ ]$ conky
Conky: drawing to root window
Conky: drawing to single buffer
Conky: received SIGINT or SIGTERM to terminate. bye!
*** glibc detected *** free(): invalid next size (normal): 0x0000000000550900 ***
Aborted


emerge info:

Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-ck1 x86_64)
=================================================================
System uname: 2.6.14-ck1 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib aim alsa apache2 audiofile avi berkdb bitmap-fonts bzip2
cddb cdr crypt cups curl dvd dvdr eds emboss encode ethereal exif expat fam
fbcon ffmpeg flac foomaticdb gdbm gif gimpprint glut gmp gpm gtk gtk2 idn
imagemagick imap imlib java javascript joystick jpeg junit kerberos krb4 lcms
lzw lzw-tiff mad mikmod mng mp3 mpeg ncurses nptl nptlonly nvidia objc ogg
oggvorbis opengl pam pcre pdflib perl png postgres ppds python quicktime
readline real samba sdl slang spell ssl tcltk tcpd threads tiff truetype
truetype-fonts type1-fonts udev usb userlocales v4l2 vorbis xine xml xml2 xmms
xpm xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #3 From Kyle Hall 2005-11-21 18:15:33 0000 -------
Similar happenings here as well.

aliens ~ # emerge info
Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r1,
2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre10
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://gentoo.chem.wisc.edu/gentoo/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acl acpi aim alsa apache2 apm audiofile avi bash-completion
berkdb bitmap-fonts bluetooth bzip2 cdb cdparanoia cdr crypt cups curl
curlwrappers dga directfb dri dvd dvdr dvdread eds emboss encode esd ethereal
exif expat fam fbcon ffmpeg flac foomaticdb fortran ftp gb gd gdbm gif glut gmp
gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl icq idn ieee1394
imagemagick imap imlib innodb ipv6 jabber jack java javascript joystick jpeg kde
lcms ldap libwww lm_sensors lzw lzw-tiff mad mailwrapper mikmod mng motif
mozilla mp3 mpeg msn mysqli ncurses nls nptl nptlonly nsplugin offensive ogg
oggvorbis openal opengl osc oscar oss pam pcre pda pdflib perl png python qt
quicktime readline ruby samba scanner sdl speex spell sqlite ssl symlink tcltk
tcpd theora threads tiff truetype truetype-fonts type1-fonts udev usb
userlocales vcd videos vorbis xine xinerama xml2 xmms xpm xv xvid yahoo zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

khall@aliens ~ $ conky
Conky: drawing to subwindow of root window (e00054)
Conky: drawing to single buffer
Conky: received SIGINT or SIGTERM to terminate. bye!
Segmentation fault

khall@aliens ~ $ gdb conky
..snip..
(gdb) run
Starting program: /usr/bin/conky
Conky: drawing to subwindow of root window (e00054)
Conky: drawing to single buffer

Program received signal SIGINT, Interrupt.
[Switching to Thread 46912516248880 (LWP 27386)]
0x00002aaaabb62c75 in select () from /lib/libc.so.6
(gdb) quit

------- Comment #4 From Tristan Ravitch 2005-11-21 18:23:47 0000 -------
Conky behaves as expected here in response to a CTRL+C, using GCC4 and  
glibc-2.3.6.  This glibc was NOT compiled with GCC4 (was with 3.4.4), but 
Conky _was_ compiled with GCC4 
  
Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r0,  
2.6.14-ck4 x86_64)  
=================================================================  
System uname: 2.6.14-ck4 x86_64 AMD Athlon(tm) 64 Processor 3500+  
Gentoo Base System version 1.12.0_pre10  
dev-lang/python:     2.3.5, 2.4.2  
sys-apps/sandbox:    1.2.13  
sys-devel/autoconf:  2.13, 2.59-r7  
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1  
sys-devel/binutils:  2.16.1  
sys-devel/libtool:   1.5.20-r1  
virtual/os-headers:  2.6.11-r2  
ACCEPT_KEYWORDS="amd64 ~amd64"  
AUTOCLEAN="yes"  
CBUILD="x86_64-pc-linux-gnu"  
CFLAGS="-O2 -march=k8"  
CHOST="x86_64-pc-linux-gnu"  
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"  
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"  
CXXFLAGS="-O2 -march=k8"  
DISTDIR="/usr/portage/distfiles"  
FEATURES="autoconfig distlocks sandbox sfperms strict"  
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo  
http://gentoo.ccccom.com http://ftp.heanet.ie/pub/gentoo/  
http://ftp.snt.utwente.nl/pub/os/linux/gentoo  
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/  
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://mir.zyrianes.net/gentoo/  
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.osuosl.org/  
http://194.117.143.72"  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/var/tmp"  
PORTDIR="/usr/portage"  
PORTDIR_OVERLAY="/usr/local/portage"  
SYNC="rsync://rsync.gentoo.org/gentoo-portage"  
USE="amd64 X aalib acl alsa audiofile avi berkdb bindist bitmap-fonts bzip2  
crypt cscope cups curl eds emboss encode exif expat fam ffmpeg flac foomaticdb  
fortran gdbm gif glut gmp gpm gstreamer gtk gtk2 guile hal idn imagemagick  
imlib ipv6 jpeg junit lcms libwww lzw lzw-tiff mad mikmod mng motif mp3 mpeg  
ncurses nls nptl ogg openal opengl pam pcre pdflib perl png python qt  
quicktime readline ruby samba sdl slang spell sqlite ssl tcpd tetex tiff  
truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis xine  
xinerama xml2 xpm xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"  
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS  
  

------- Comment #5 From Nathan Sullivan 2005-11-21 18:25:23 0000 -------
tested on ppc, glibc 2.3.5-r3 gcc 3.4.4-r1 works fine, no segv. seems isolated
to amd64 so far on pre-gcc4.

------- Comment #6 From Brenden Matthews 2005-11-22 06:31:02 0000 -------
Every person reporting problems here is running ~arch.  I run +arch, so the
problem must be with something masked.  I will try with glibc >=2.3.5-r3 and see
what I can turn up.

------- Comment #7 From Brenden Matthews 2005-11-22 17:20:31 0000 -------
It would be helpful if people would post their conkyrcs here, or come to #conky
on irc.freenode.net to help diagnose this.

------- Comment #8 From Philip Kovacs 2005-11-22 18:52:50 0000 -------
Created an attachment (id=73410) [details]
app-admin/conky-1.3.4.ebuild

please test this new ebuild with patch.  it switches conky over to posix signal
handling.

------- Comment #9 From Philip Kovacs 2005-11-22 18:53:40 0000 -------
Created an attachment (id=73411) [details]
app-admin/conky/files/conky-1.3.4-posixsignals.patch

------- Comment #10 From Philip Kovacs 2005-11-22 19:02:15 0000 -------
Created an attachment (id=73412) [details]
app-admin/conky/conky-1.3.4-r1.ebuild

added -r1 as needed.  

------- Comment #11 From Nathan Sullivan 2005-11-22 19:44:47 0000 -------
built with posixsignals patch, no change.

GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/conky 
[Thread debugging using libthread_db enabled]
[New Thread 46912516306224 (LWP 17147)]
Conky: drawing to subwindow of root window (400004)
Conky: drawing to single buffer

Program received signal SIGINT, Interrupt.
[Switching to Thread 46912516306224 (LWP 17147)]
0x00002aaaabb726e5 in __select_nocancel () from /lib/libc.so.6
(gdb) bt
#0  0x00002aaaabb726e5 in __select_nocancel () from /lib/libc.so.6
#1  0x0000000000416a0b in main (argc=1, argv=0x7fffffddd178) at conky.c:4092
(gdb)

------- Comment #12 From Philip Kovacs 2005-11-22 19:47:58 0000 -------
ok, thanks for testing.  are you using the ${texeci} var any chance?   that one
runs a user defined script in a separate thread?

------- Comment #13 From Philip Kovacs 2005-11-22 20:41:50 0000 -------
Created an attachment (id=73415) [details]
app-admin/conky/files/conky-1.3.4-posixsignals.patch

please try this patch -- same as before, without the SA_RESTART flag.

------- Comment #14 From Philip Kovacs 2005-11-23 10:45:23 0000 -------
(From update of attachment 73415 [details])
testing another patch.	dont use this one.

------- Comment #15 From Philip Kovacs 2005-11-23 11:17:45 0000 -------
Created an attachment (id=73448) [details]
app-admin/conky/conky-1.3.4-r1.ebuild

please test this new patch (syncsig).

------- Comment #16 From Philip Kovacs 2005-11-23 11:21:21 0000 -------
Created an attachment (id=73450) [details]
app-admin/conky/files/conky-1.3.4-syncsig.patch

patch which allows blocking system calls such as select() to finish without
interruption.

------- Comment #17 From Nathan Sullivan 2005-11-23 16:53:06 0000 -------
weird issue this time, still a segv but a little different. weird thing is when
you press ctrl+c it doesnt instantly kill now, it takes bout 5-10 seconds to die
with the glibc error/s.

details below:

nathan@nathan1 ~ $ conky
Conky: drawing to subwindow of root window (400004)
Conky: drawing to single buffer
Conky: received SIGINT or SIGTERM to terminate. bye!
*** glibc detected *** double free or corruption (!prev): 0x000000000054b810 ***
Aborted
nathan@nathan1 ~ $ gdb conky
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/conky 
[Thread debugging using libthread_db enabled]
[New Thread 46912516306224 (LWP 25536)]
Conky: drawing to subwindow of root window (400004)
Conky: drawing to single buffer

Program received signal SIGINT, Interrupt.
[Switching to Thread 46912516306224 (LWP 25536)]
0x00002aaaabaf0b13 in sigprocmask () from /lib/libc.so.6
(gdb) bt
#0  0x00002aaaabaf0b13 in sigprocmask () from /lib/libc.so.6
#1  0x0000000000416928 in main (argc=1, argv=0x7fffffe0fdb0) at conky.c:4307

------- Comment #18 From Nathan Sullivan 2005-11-23 16:55:06 0000 -------
also with regards to:

ok, thanks for testing.  are you using the ${texeci} var any chance?   that one
runs a user defined script in a separate thread?


------------

im just using the default config, i dont actually have a conkyrc in either /etc
or my home directory. pretty much just emerge conky then execute conky as non root.

I might try copying in a default config in a sec, as ~/.conkyrc see what it does.

------- Comment #19 From Nathan Sullivan 2005-11-23 16:58:05 0000 -------
ok...interesting result. no segv when i kill it now. i just dropped a copy of
the conkyrc.sample in as ~/.conkyrc and executed it, i still get the 5 or so
second delay after ctrl+c till it dies, but it doesnt segv.

------- Comment #20 From Philip Kovacs 2005-11-23 17:37:35 0000 -------
regarding the gdb session in comment #17:

you need to tell gdb to pass SIGINT to the program.  after you start gdb concky
and get the (gdb) prompt, enter this command before you issue run:

(gdb) handle SIGINT nostop noprint pass
(gdb) run

this tells gdb to pass the cntl-c to conky and will reveal more information.

thanks.

------- Comment #21 From Philip Kovacs 2005-11-23 17:46:02 0000 -------
also if there is someone kind enough to create a non-privileged account on an
amd64 box showing the problem, one that will allow me to forward X packets over
ssh back to my display, i might actually be able to get somewhere with this
problem. i just need gdb, strace and the customary build tools.

------- Comment #22 From Nathan Sullivan 2005-11-24 15:51:11 0000 -------
hmm yea sorry my box is firewalled off at work, cant forward ssh through here.
ill let you know if i find someone else that can.

------- Comment #23 From Philip Kovacs 2005-11-24 18:12:25 0000 -------
can you do the following:

delete your .conkyrc so we go back to the original situation in which you
observed the sigsegv.  make sure conky is compiled with -g and without
-fomit-frame-pointer.  I would like to see the output of these:

1) gdb conky
   (gdb) handle SIGINT nostop noprint pass
   (gdb) run
   <CNTL-C>

2) strace conky >strace-conky.log 2>&1

3) /lib/libc.so.6

------- Comment #24 From Philip Kovacs 2005-11-24 18:15:07 0000 -------
forgot to mention, please:

(gdb) bt

after sigsegv when you hit CNTL-C.  And please delete the previous patches and
go back to 1.3.4.  Please read previous comments.  Thanks.

------- Comment #25 From Nathan Sullivan 2005-11-24 19:18:10 0000 -------
results using baseline 1.3.4 in portage tree:

(gdb) handle SIGINT nostop noprint pass
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) y

Signal        Stop      Print   Pass to program Description
SIGINT        No        No      Yes             Interrupt
(gdb) run
Starting program: /usr/bin/conky 
[Thread debugging using libthread_db enabled]
[New Thread 46912516306224 (LWP 12433)]
Conky: drawing to subwindow of root window (400004)
Conky: drawing to single buffer
Conky: received SIGINT or SIGTERM to terminate. bye!
*** glibc detected *** double free or corruption (!prev): 0x000000000054b810 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread 46912516306224 (LWP 12433)]
0x00002aaaabaf0839 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00002aaaabaf0839 in raise () from /lib/libc.so.6
#1  0x00002aaaabaf1cde in abort () from /lib/libc.so.6
#2  0x00002aaaabb24990 in __libc_message () from /lib/libc.so.6
#3  0x00002aaaabb29b90 in malloc_printerr () from /lib/libc.so.6
#4  0x00002aaaabb2a6a6 in free () from /lib/libc.so.6
#5  0x000000000041685d in main (argc=1, argv=0x7fffff939b28) at conky.c:5253

------- Comment #26 From Nathan Sullivan 2005-11-24 19:19:48 0000 -------
Created an attachment (id=73541) [details]
strace output 1.3.4

strace output from conky with baseline 1.3.4 as above.

------- Comment #27 From Nathan Sullivan 2005-11-24 19:20:41 0000 -------
also as requested glibc output:

nathan@nathan1 ~ $ /lib/libc.so.6  
GNU C Library stable release version 2.3.5, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8).
Compiled on a Linux 2.6.11 system on 2005-10-30.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        Native POSIX Threads Library by Ulrich Drepper et al
        The C stubs add-on version 2.1.2.
        GNU Libidn by Simon Josefsson
        BIND-8.2.3-T5B
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

------- Comment #28 From Philip Kovacs 2005-11-24 20:13:24 0000 -------
Created an attachment (id=73543) [details]
app-admin/conky/conky-1.3.4-r1.ebuild

please try this ebuild with the miscbug patch that follows

------- Comment #29 From Philip Kovacs 2005-11-24 20:14:10 0000 -------
Created an attachment (id=73544) [details]
app-admin/conky/conky-1.3.4-miscbug.patch

------- Comment #30 From Brenden Matthews 2005-11-24 20:44:30 0000 -------
@ Daniel Black:  The most recent ebuild and patch have been confirmed as a fix.
 It's been added to Conky CVS, however I'm probably not going to do another
release just for this one bug fix.  So, if you could please add this patch into
portage with the 1.3.4-r1 ebuild, that would be greatly appreciated.

------- Comment #31 From Philip Kovacs 2005-11-24 20:53:00 0000 -------
Created an attachment (id=73545) [details]
app-admin/conky/conky-1.3.4-r1.ebuild.patch

patch so the dev can see what changed with the 1.3.4-r1 ebuild.

------- Comment #32 From Daniel Black 2005-11-25 00:03:31 0000 -------
Thanks Philip, Brenden and Nathan - will add shortly. 

------- Comment #33 From Daniel Black 2005-11-25 00:34:26 0000 -------
fixed - thanks Philip. 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug