when trying to start ksayit i get these errors and it wont start. QObject::connect: No such signal KTTSDLib::signalCallPreferences() QObject::connect: (sender name: 'KTTSD-Library') QObject::connect: (receiver name: 'MainWindow') MCOP StartupManager: adding a StartupClass after Dispatcher init will not work. *** glibc detected *** free(): invalid pointer: 0x0000000000775310 *** Alarm clock Reproducible: Always Steps to Reproduce: 1. emerge ksayit 2. run ksayit Actual Results: QObject::connect: No such signal KTTSDLib::signalCallPreferences() QObject::connect: (sender name: 'KTTSD-Library') QObject::connect: (receiver name: 'MainWindow') MCOP StartupManager: adding a StartupClass after Dispatcher init will not work. *** glibc detected *** free(): invalid pointer: 0x0000000000775310 *** Alarm clock
Which version of ksayit/kde? Please post your 'emerge info'
emerge info: Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r9 x86_64) ================================================================= System uname: 2.6.11-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.6.11 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~amd64 ~x86" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer" 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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.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="x86 3dnow X alsa apm arts avi berkdb bitmap-fonts bzlib cdparanoia cdr crypt cups curl directfb divx4linux dvd dvdr dvdread emboss encode esd fam ffmpeg flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java javadoc jikes jpeg junit kde kdeenablefinal kdexdeltas ldap libg++ libwww lm_sensors mad matroska mikmod mmx motif mp3 mpeg msn mysql nas ncurses nls nptl ogg oggvorbis openal opengl oss pam pdflib perl png postgres python qt quicktime readline samba sasl sdl slp spell ssl svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts usb v4l vcd videos vorbis xerces xine xinerama xml xml2 xmlrpc xmms xpm xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
btw.. im using kde-3.4 and ksayit-0.83 from kdeaccessibility-3.4
Maybe you mixed things compiled with gcc-3.3 and gcc3.4? Try doing 'revdep-rebuild -X --soname libstdc++.so.5'
I've seen this problem on a machine that had a borked gcc/glibc upgrade. You need to make sure all of the libraries are build against the newest glibc.
Created attachment 73694 [details, diff] ksayit-3.4.3-invalid_free.patch Proposed patch to work around glibc invalid pointer errors. Works without MALLOC_CHECK_ workarounds.
I have tested the patch and it also works well here, where before I had to use the glibc workaround. I have committed ksayit-3.4.3-r1 and kdeaccessibility-3.4.3-r1 to the tree. I would like to get these stabilised ASAP as the fix is quite simple and works here. Thanks to Chris for providing the patch.
Closing.