Hi All:

I am running 3.23.39 and I compiled it using gcc 2.95.3.

I am having a very difficult time getting *ANY* of the client progs to work (mysql, 
mysqladmin etc) ... they immediately seg faults and core dumps without any message. 
mysqld is running fine ... with debug on it says waiting to connections (I can telenet 
to the port etc)

I found a similar problem listed in the archive (shown below) but there were no 
resolution posted. I need to get a resolution soon ... spending my second day on this 
and it is getting really frustrating. I'm about to ditch this but the application that 
we are installing requires mysql as its database so I am stuck.

Any help would be greatly appreciated.


regards
Imran
---------------------------------------------------------------------------------------------------

My environment is shown below:


>MySQL support: [none | licence | email support | extended email support ]
>Synopsis:      <synopsis of the problem (one line)>
>Severity:      <[ non-critical | serious | critical ] (one line)>
>Priority:      <[ low | medium | high ] (one line)>
>Category:      mysql
>Class:         <[ sw-bug | doc-bug | change-request | support ] (one line)>
>Release:       mysql-3.23.39 (Source distribution)

>Environment:
        <machine, os, target, libraries (multiple lines)>
System: SunOS radius2 5.5.1 Generic_103640-31 sun4m sparc SUNW,SPARCclassic
Architecture: sun4

Some paths:  /usr/local/bin/perl /usr/local/bin/make /usr/local/bin/gcc /usr/ucb/cc
GCC: Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.3/specs
gcc version 2.95.3 20010315 (release)
Compilation info: CC='gcc'  CFLAGS=''  CXX='c++'  CXXFLAGS=''  LDFLAGS=''
LIBC: 
-rw-r--r--   1 bin      bin      1159728 Dec 24  1999 /lib/libc.a
lrwxrwxrwx   1 root     root          11 Jun 11  1998 /lib/libc.so -> ./libc.so.1
-rwxr-xr-x   1 bin      bin       665816 Dec 24  1999 /lib/libc.so.1
-rw-r--r--   1 bin      bin      1159728 Dec 24  1999 /usr/lib/libc.a
lrwxrwxrwx   1 root     root          11 Jun 11  1998 /usr/lib/libc.so -> ./libc.so.1
-rwxr-xr-x   1 bin      bin       665816 Dec 24  1999 /usr/lib/libc.so.1
Configure command: ./configure  --prefix=/export/mysql --with-debug

# 

Date: Sun, 29 Aug 1999 14:11:27 -0600 


--------------------------------------------------------------------------------

Marcin Owsiany wrote:
> 
> Hello!
> I have created mysql 3.22.25 from a source package. After a few tries
> (fixing the system include files as described in documentation) it compiled
> and installed cleanly.
> I've ran mysql_create_db and safe_mysqld& - they didn't complain and the
> mysqld's log looked very good.
> However when i run mysql, it segfaults, dumps core and doesn't say
> anything.
> The same for mysqladmin, mysqlshow, mysqldump.... only mysqld runs OK..
> 
> I tried stracing them, but after a few attempts strace only says: "ERROR:
> tracer exists" and i do not know how to use it under Solaris :( (my native
> OS is Linux :)
> 

It seems to me that the stuff that segfaults are the stale binaries from
the old corrupted/incompatible distribution. Make sure everything is
what you've actually built from source.


-- 
Sasha Pachev


Reply via email to