Hi TianJing, all!

TianJing wrote:
> 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)
   echo $?
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
> --with-named-curses-libs=/usr/lib64/libncursesw.so.5
> 
> 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?

Not off-hand.

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
call.

> 
> thanks very much!
> 

HTH,
Jörg

-- 
Joerg Bruehe,  MySQL Build Team,  joerg.bru...@sun.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
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to