>Description: Mysqldump seg faults if compiled with openssl support. gdb output: Starting program: /usr/local/bin/mysqldump -cf anydb Program received signal SIGSEGV, Segmentation fault. 0xff24db6c in mysql_options () from /usr/local/lib/mysql/libmysqlclient.so.15 (gdb) bt #0 0xff24db6c in mysql_options () from /usr/local/lib/mysql/libmysqlclient.so.15 #1 0x0001ad1c in main ()
Tested OpenSSL version: OpenSSL 0.9.8e 23 Feb 2007 >How-To-Repeat: Compile mysql normally with openssl and try to run mysql: mysqldump -cf anydb >Fix: Either compile mysql without openssl or comment out the following lines from client/mysqldump.c: mysql_options(&mysql,MYSQL_OPT_SSL_VERIFY_SERVER_CERT, (char*)&opt_ssl_verify_server_cert); >Submitter-Id: <submitter ID> >Originator: Leena Heino >Organization: University of Tampere, Finland >MySQL support: none >Synopsis: mysqldump seg faults if compiled with openssl support >Severity: non-critical >Priority: low >Category: mysql >Class: sw-bug >Release: mysql-5.0.37 (Source distribution) >Release: mysql-5.0.33 (Source distribution) >Release: mysql-5.0.27 (Source distribution) >C compiler: gcc (GCC) 3.4.6 >C++ compiler: gcc (GCC) 3.4.6 >Environment: System: SunOS lipstikka 5.9 Generic_118558-38 sun4u sparc SUNW,Sun-Blade-1000 Architecture: sun4 Some paths: /bin/perl /usr/ccs/bin/make /usr/local/bin/gmake /usr/local/bin/gcc /usr/local/bin/cc GCC: Reading specs from /usr/local/bin/../lib/gcc/sparc-sun-solaris2.9/3.4.6/specs Configured with: ../configure --prefix=/usr/local --program-suffix=-3.4 --enable-languages=c,c++,objc,f77 --enable-shared=libstdc++ --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --with-libiconv-prefix=/usr --with-libintl-prefix=/usr Thread model: posix gcc version 3.4.6 Compilation info: CC='gcc' CFLAGS='-O3 -fno-omit-frame-pointer -mv8plus -mcpu=ultrasparc' CXX='gcc' CXXFLAGS='-felide-constructors -fno-exceptions -fno-rtti -O3 -fno-omit-frame-pointer -mv8plus -mcpu=ultrasparc' LDFLAGS='' ASFLAGS='' LIBC: -rw-r--r-- 1 root bin 1870728 Nov 27 18:56 /lib/libc.a lrwxrwxrwx 1 root root 11 May 15 2003 /lib/libc.so -> ./libc.so.1 -rwxr-xr-x 1 root bin 867796 Nov 27 18:56 /lib/libc.so.1 -rw-r--r-- 1 root bin 1870728 Nov 27 18:56 /usr/lib/libc.a lrwxrwxrwx 1 root root 11 May 15 2003 /usr/lib/libc.so -> ./libc.so.1 -rwxr-xr-x 1 root bin 867796 Nov 27 18:56 /usr/lib/libc.so.1 Configure command: ./configure '--prefix=/usr/local' '--sysconfdir=/etc' '--localstatedir=/var' '--without-server' '--without-embedded-server' '--with-openssl' '--with-openssl-includes=/usr/local/ssl/include' '--with-openssl-libs=/usr/local/ssl/lib' '--without-docs' '--without-bench' '--with-mysqld-user=mysql' '--with-low-memory' '--enable-thread-safe-client' '--enable-assembler' '--with-extra-charsets=complex' '--with-berkeley-db' 'CC=gcc' 'CFLAGS=-O3 -fno-omit-frame-pointer -mv8plus -mcpu=ultrasparc' 'CXXFLAGS=-felide-constructors -fno-exceptions -fno-rtti -O3 -fno-omit-frame-pointer -mv8plus -mcpu=ultrasparc' 'CXX=gcc' -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]