Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Joerg Bruehe (Joerg.BrueheSun.COM)
Date: Thu Jul 16 2009 - 05:58:59 CDT
Hi TianJing, all!
> Hi all,
> i am trying to install mysql 5.1.35 in my linux platform, i do it from
> source distribution, but there is a serious problem when i login it,
> the error message is bellow:
> *shell> mysql -p -u root
> Enter password:
> Welcome to the MySQL monitor. Commands end with ; or \g.
> Your MySQL connection id is 4
> Server version: 5.1.35 Source distribution
> Segmentation fault*
From your text, it seems "mysql" (the command line client) crashed.
If it happens again, please type (as the next command)
to get the exit code. With a "segmentation fault", it should be either
11 or 139 (= 128 + 11).
If it is anything above 128, you got a core file - please use your
favorite debugger (on Linux, probably "gdb") to get a stack backtrace
and post it here.
If it is anything below 128, especially 11, check "man 7 signal" whether
it should have dumped a core. If so, but you didn't get one, then you
have some setting that prevents core dumps - please correct that.
> i can not get any helpfull message in the file:mysqld.log
Sure: The crash is happening with the client program, "mysql", and not
with the server, "mysqld".
> my configure command line is:
> ./configure --prefix=/export/data1/apps/local/mysql
> --bindir=/export/data1/apps/bin --sbindir=/export/data1/apps/sbin
> --sysconfdir=/export/data1/apps/etc/ --enable-local-infile
> --with-charset=utf8 --with-mysqld-user=mysql
> my linux platform is:
> uname -m = x86_64
> uname -r = 2.6.18-92.el5
> uname -s = Linux
> uname -v = #1 SMP Tue Jun 10 18:51:06 EDT 2008
> could anyone give some suggestions?
I am somewhat surprised that you explicitly give a 64 bit "curses"
library but do not give an option to build in 64 bit mode.
Do you have CFLAGS and/or CXXFLAGS set in the environment?
Also, those lines of the "configure" log that determine compiler flags
might be interesting.
As an alternative, publish those lines of your build log (from "make")
that show how "mysql" is linked, 10 lines before and 20 lines after that
> thanks very much!
Joerg Bruehe, MySQL Build Team, Joerg.BrueheSun.COM
Sun Microsystems GmbH, Komturstraße 18a, D-12099 Berlin
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Haering Muenchen: HRB161028
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql