MYSQL 5.1.35 Segmentation fault

MYSQL 5.1.35 Segmentation fault

am 16.07.2009 08:56:06 von TianJing

--000e0cd24508745011046ecd2a46
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

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*

i can not get any helpfull message in the file:mysqld.log

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?

thanks very much!

--
Tianjing

--000e0cd24508745011046ecd2a46--

Re: MYSQL 5.1.35 Segmentation fault

am 16.07.2009 09:14:03 von fire9

jing,
Please modify your my.cnf file.



ÔÚ 2009-7-16£¬ÏÂÎç2:56£¬ TianJing дµÀ£º

> 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*
>
> i can not get any helpfull message in the file:mysqld.log
>
> my configure command line is:
> ./configure --prefix=3D/export/data1/apps/local/mysql
> --bindir=3D/export/data1/apps/bin --sbindir=3D/export/data1/apps/sbin
> --sysconfdir=3D/export/data1/apps/etc/ --enable-local-infile
> --with-charset=3Dutf8 --with-mysqld-user=3Dmysql
> --with-named-curses-libs=3D/usr/lib64/libncursesw.so.5
>
> my linux platform is:
>
> uname -m =3D x86_64
> uname -r =3D 2.6.18-92.el5
> uname -s =3D Linux
> uname -v =3D #1 SMP Tue Jun 10 18:51:06 EDT 2008
>
> could anyone give some suggestions?
>
> thanks very much!
>
> --=20
> Tianjing


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgcdmg-mysql-2@m.gmane.o rg

Re: MYSQL 5.1.35 Segmentation fault

am 16.07.2009 09:15:53 von TianJing

--001636e0a64a429000046ecd715f
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

thanks,
my.cnf file is as follow:

[client]
#password =3D your_password
port =3D 3306
socket =3D /export/data1/apps/local/mysql/mysql.sock



# The MySQL server
[mysqld]
datadir=3D/export/data1/apps/local/mysql/data
socket =3D /export/data1/apps/local/mysql/mysql.sock
user=3Dmysql


[mysqld_safe]
log-error=3D/export/data1/apps/local/mysql/logs/mysqld.log
pid-file=3D/export/data1/apps/local/mysql/logs/mysqld.pid


2009/7/16 fire9

> jing,
> Please modify your my.cnf file.
>
>
>
> åœ=A8 2009-7-16,下å=882:56ï¼=8C TianJing =E5=
†™é“:
>
>
> 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*
>>
>> i can not get any helpfull message in the file:mysqld.log
>>
>> my configure command line is:
>> ./configure --prefix=3D/export/data1/apps/local/mysql
>> --bindir=3D/export/data1/apps/bin --sbindir=3D/export/data1/apps/sbin
>> --sysconfdir=3D/export/data1/apps/etc/ --enable-local-infile
>> --with-charset=3Dutf8 --with-mysqld-user=3Dmysql
>> --with-named-curses-libs=3D/usr/lib64/libncursesw.so.5
>>
>> my linux platform is:
>>
>> uname -m =3D x86_64
>> uname -r =3D 2.6.18-92.el5
>> uname -s =3D Linux
>> uname -v =3D #1 SMP Tue Jun 10 18:51:06 EDT 2008
>>
>> could anyone give some suggestions?
>>
>> thanks very much!
>>
>> --
>> Tianjing
>>
>
>


--=20
Tianjing

Bioinformatics Center,
Beijing Genomics Institute,Shenzhen
Tel:+86-755-25273851
MSN:tianjing217@hotmail.com

--001636e0a64a429000046ecd715f--

Re: MYSQL 5.1.35 Segmentation fault

am 16.07.2009 12:58:59 von Joerg Bruehe

Hi TianJing, all!


TianJing wrote:
> Hi all,
>=20
> i am trying to install mysql 5.1.35 in my linux platform, i do it f=
rom
> 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
>=20
> Segmentation fault*

=46rom 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 eithe=
r
11 or 139 (=3D 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" whet=
her
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.

>=20
> i can not get any helpfull message in the file:mysqld.log

Sure: The crash is happening with the client program, "mysql", and no=
t
with the server, "mysqld".

>=20
> my configure command line is:
> ./configure --prefix=3D/export/data1/apps/local/mysql
> --bindir=3D/export/data1/apps/bin --sbindir=3D/export/data1/apps/sb=
in
> --sysconfdir=3D/export/data1/apps/etc/ --enable-local-infile
> --with-charset=3Dutf8 --with-mysqld-user=3Dmysql
> --with-named-curses-libs=3D/usr/lib64/libncursesw.so.5
>=20
> my linux platform is:
>=20
> uname -m =3D x86_64
> uname -r =3D 2.6.18-92.el5
> uname -s =3D Linux
> uname -v =3D #1 SMP Tue Jun 10 18:51:06 EDT 2008
>=20
> 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 flag=
s
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 t=
hat
call.

>=20
> thanks very much!
>=20

HTH,
Jörg

--=20
Joerg Bruehe, MySQL Build Team, Joerg.Bruehe@Sun.COM
Sun Microsystems GmbH, Komturstraße 18a, D-12099 Berlin
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Haering Muenchen: HRB1610=
28


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgcdmg-mysql-2@m.gmane.o rg