Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
system borked
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
bin-doph
Guru
Guru


Joined: 23 May 2003
Posts: 302

PostPosted: Tue Feb 13, 2007 3:24 pm    Post subject: system borked Reply with quote

Hi,

I just updated my mysqldatabase to the latest release. The only thing I use it for is a board (phpbb) which unfortunatly doesnt support mysql5x yet (or at least the version I use). Anyway I downgraded to 4.1.x but from that point my board is dead. The only thing I get is a blank site and the following errors in my apache-log after a request to a board-site:

Code:
*** glibc detected *** malloc(): memory corruption: 0x087d99b8 ***
[Tue Feb 13 13:31:32 2007] [notice] child pid 9420 exit signal Aborted (6)
*** glibc detected *** malloc(): memory corruption: 0x087d99b8 ***
[Tue Feb 13 13:31:36 2007] [notice] child pid 9423 exit signal Aborted (6)
*** glibc detected *** malloc(): memory corruption: 0x087d9568 ***
[Tue Feb 13 13:31:41 2007] [notice] child pid 9422 exit signal Aborted (6)
*** glibc detected *** malloc(): memory corruption: 0x087d9568 ***
*** glibc detected *** malloc(): memory corruption: 0x087d9568 ***
[Tue Feb 13 13:31:45 2007] [notice] child pid 9419 exit signal Aborted (6)
[Tue Feb 13 13:31:45 2007] [notice] child pid 9421 exit signal Aborted (6)
*** glibc detected *** malloc(): memory corruption: 0x087d99b8 ***
[Tue Feb 13 13:31:55 2007] [notice] child pid 9436 exit signal Aborted (6)
*** glibc detected *** malloc(): memory corruption: 0x087d9a70 ***
*** glibc detected *** malloc(): memory corruption: 0x087d99b8 ***
[Tue Feb 13 13:33:00 2007] [notice] child pid 9438 exit signal Aborted (6)
[Tue Feb 13 13:33:00 2007] [notice] child pid 9439 exit signal Aborted (6)
*** glibc detected *** malloc(): memory corruption: 0x087d7878 ***
[Tue Feb 13 13:33:03 2007] [notice] child pid 9442 exit signal Aborted (6)


I got bored of this behaviour pretty fast, so I decided to undo everything. Back to my old version of mysql,apache,php (I updated apache & php too) I still have these errors and no more clues :(

thx for hints
-fe
_________________
perl -e '$_=q;4a75737420616e6f74686572205065726c204861636b65720as;;for(s;s;s;s;s;s;s;s;s;s;s;s){s;(..)s?;qq qprint chr 0x$1 and \161 ssq;excess;}'


Last edited by bin-doph on Wed Feb 14, 2007 10:22 am; edited 1 time in total
Back to top
View user's profile Send private message
bin-doph
Guru
Guru


Joined: 23 May 2003
Posts: 302

PostPosted: Wed Feb 14, 2007 10:22 am    Post subject: Reply with quote

Well the problem has spread around my system. My mail-/imap-server arent working anymore and I believe it has something to do with glibc/gcc


Code:
/usr/sbin/imaplogin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Code:
php: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory


I cant compile php anymore... I have readline enabled and installed. If I try to compile php it complains that readline isnt found, any versions. If I try to compile it without readline, it dies somewhere else (cant remember the exact error)
php-complie-error with readline wrote:
checking for tgetent in -ltermcap... no
checking for readline in -lreadline... no
configure: error: readline library not found

!!! ERROR: dev-lang/php-5.1.6-r6 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4897: Called src_compile
php-5.1.6-r6.ebuild, line 173: Called src_compile_normal
php-5.1.6-r6.ebuild, line 323: Called php5_1-sapi_src_compile
php5_1-sapi.eclass, line 576: Called die

!!! configure failed


readline is installed
Code:
*  sys-libs/readline
      Latest version available: 5.1_p4
      Latest version installed: 5.1_p4
      Size of files: 1,988 kB
      Homepage:      http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
      Description:   Another cute console display library
      License:       GPL-2

-rw-r--r-- 1 root root 275100 Feb 14 08:27 /usr/lib/libreadline.a
-rwxr-xr-x 1 root root    327 Feb 14 08:27 /usr/lib/libreadline.so



USE=-readline emerge php wrote:
/usr/lib/libaspell.so: undefined reference to `__cxa_rethrow@CXXABI_1.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned int)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::__throw_out_of_range(char const*)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `operator new(unsigned int)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `__cxa_end_catch@CXXABI_1.2'
/usr/lib/libaspell.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `__gxx_personality_v0@CXXABI_1.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::operator>><char, std::char_traits<char>, std::allocator<char> >(std::basic_istream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `operator delete[](void*)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::__throw_length_error(char const*)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `__cxa_bad_typeid@CXXABI_1.2'
/usr/lib/libaspell.so: undefined reference to `std::istrstream::istrstream(char const*)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned int) const@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned int)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `__cxa_begin_catch@CXXABI_1.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned int, char)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_leak_hard()@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `__dynamic_cast@CXXABI_1.2'
/usr/lib/libaspell.so: undefined reference to `operator new[](unsigned int)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned int, std::allocator<char> const&)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::istrstream::~istrstream()@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::replace(unsigned int, unsigned int, char const*, unsigned int)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char, unsigned int) const@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::allocator<char>::~allocator()@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)@GLIBCPP_3.2'
/usr/lib/libaspell.so: undefined reference to `operator delete(void*)@GLIBCPP_3.2'
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

!!! ERROR: dev-lang/php-5.1.6-r6 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4897: Called src_compile
php-5.1.6-r6.ebuild, line 173: Called src_compile_normal
php-5.1.6-r6.ebuild, line 323: Called php5_1-sapi_src_compile
php5_1-sapi.eclass, line 577: Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/dev-lang:php-5.1.6-r6:20070214-114855.log'.

zsh: exit 1 USE="-readline" emerge php



emerge info wrote:
Portage 2.1.2-r9 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.8-gentoo-r10 i686)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 14 Feb 2007 03:00:01 +0000
dev-java/java-config: 1.2.9
dev-lang/python: 2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LC_ALL="C"
LINGUAS="de en"
PKGDIR="/export/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/export/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="alsa apache2 apm berkdb bitmap-fonts cli cracklib crypt dedicated dlloader dri eds emacs emboss encode esd exiscan-acl foomaticdb fortran gd gdbm gif gpm gstreamer iconv imagemagick imap innodb ipv6 isdnlog jpeg libg++ libwww mad maildir midi mikmod motif mp3 mysql ncurses nls nptl ogg pam pcre perl png postgres pppd python qt3 qt4 readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts vorbis x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

_________________
perl -e '$_=q;4a75737420616e6f74686572205065726c204861636b65720as;;for(s;s;s;s;s;s;s;s;s;s;s;s){s;(..)s?;qq qprint chr 0x$1 and \161 ssq;excess;}'
Back to top
View user's profile Send private message
bin-doph
Guru
Guru


Joined: 23 May 2003
Posts: 302

PostPosted: Wed Feb 14, 2007 4:18 pm    Post subject: Reply with quote

well, Im pretty sure upgrading to glibc-2.5 was a big mistake, since I cant downgrade to my last version

Code:
 * Sanity check to keep you from breaking your system:
 *  Downgrading glibc is not supported and a sure way to destruction


Im fucked... great -.-
_________________
perl -e '$_=q;4a75737420616e6f74686572205065726c204861636b65720as;;for(s;s;s;s;s;s;s;s;s;s;s;s){s;(..)s?;qq qprint chr 0x$1 and \161 ssq;excess;}'
Back to top
View user's profile Send private message
madisonicus
Veteran
Veteran


Joined: 20 Sep 2006
Posts: 1130

PostPosted: Wed Feb 14, 2007 9:40 pm    Post subject: Reply with quote

Code:
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
That is probably a recipe for problems, especially with a pretty old kernel and the latest glibc. I'm not sure what cpu you have, but any celeron will at least be a pentium2 and need the i686 CHOST. Check the Safe CFLAGS Gentoo-Wiki page for more info there.

As far as how to salvage things... No, downgrading glibc is not an option. Among other things, you will need to change your CFLAGS and your CHOST. For that make sure you follow the official guide. Your problems may be coming from a CHOST that is too old for glibc-2.5 which requires nptl and may not be possible with i586.

So, I would start with the guide for upgrading CHOST.

There's also a guide for doing the mysql upgrade, but I wouldn't worry about it until you have a functional system again. =)

HTH,
m
_________________
Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum