>Description:
        
        Core dump of mysql client program with segmentation violation.

        Recently when upgrading php I had to have our sysadmin apply a patch
        to fix problems with weak symbols in gcc-3. Secifically, they related
        to problems with the variables _S_max_size and one other variable
        defined in g++-v3/bits/basic_string.h


        I also upgraded to gcc-3.0.4.

        When tried to upgrade to mysql-3.23.49 I ran into trouble.
        I managed to get mysqld compiled in a functional form. However,
        I have been unable to produce a functional version of the mysql client.

        I downgraded to gcc-3.0.3 and I tried mysql-3.23.48 to no avail.

        The symptoms are the following:

        When a command without a semicolon, such as "use mysql" is used it
        works. However, when I use a command that ends in a semicolon such
        as "use mysql;" I get a segmentation violation.

        To compile I had to do the following. After configuring I have
        to undefine HAVE_ALLOCA - I had to do this in previous (fully 
        functional compiles as well. Also, in clients and sql I had to
        add libsup++.a to LIBS in the Makefiles to get the programs to link.
        Otherwise the symbol __cxa_pure_virtual was undefined.
        
>How-To-Repeat:
        use mysql;
>Fix:
        None known
        However, I suspect the problem somehow is caused by the patch to the
        assembler.
>Submitter-Id:  <submitter ID>
>Originator:    Bernt Guldbrandtsen
>Organization: Danish Institute of Agricultural Sciences
  ------------------------------------------------------------------
  Bernt Guldbrandtsen
  [EMAIL PROTECTED]
  http://genetics.agrsci.dk/~bg
  
>
>MySQL support: none
>Synopsis:      Segmentation violation in mysql client under AIX
>Severity:      serious
>Priority:      
>Category:      mysql
>Class:         sw-bug
>Release:       mysql-3.23.48 (Source distribution)
>Server: mysqladmin  Ver 8.23 Distrib 3.23.48, for ibm-aix4.3.3.0 on rs6000
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version          3.23.49
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /tmp/mysql.sock
Uptime:                 2 days 4 hours 9 min 55 sec

Threads: 1  Questions: 57  Slow queries: 0  Opens: 10  Flush tables: 1  Open tables: 4 
Queries per second avg: 0.000
>Environment:
        
System: AIX node02 3 4 000082718100


Some paths:  /usr/local/bin/perl /usr/local/bin/make /usr/local/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.3.0/3.0.3/specs
Configured with: ../gcc-3.0.3/configure --disable-multilib --enable-threads=posix
Thread model: single
gcc version 3.0.3
Compilation info: CC='gcc -pipe -mcpu=power2 -Wa,-many'  CFLAGS=''  CXX='gcc -pipe 
-mcpu=power2 -Wa,-many'  CXXFLAGS='-felide-constructors -fno-exceptions -fno-rtti '  
LDFLAGS=''
LIBC: 
lrwxrwxrwx    1 bin      bin            19 Oct 26 13:33 /lib/libc.a -> 
/usr/ccs/lib/libc.a
lrwxrwxrwx    1 bin      bin            19 Oct 26 13:33 /usr/lib/libc.a -> 
/usr/ccs/lib/libc.a
Configure command: ./configure  --prefix=/usr/local/mysql --enable-thread-safe-client 
--enable-large-files --with-berkeley-db


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to