mysqlhotcopy always worked fine with perl 5.6.1 (debian woody), but i had to upgrade to perl 5.8 and now it croaks and dies with a segfault.
the problem exists only with mysqlhotcopy; other db-connections with perl 5.8 and DBI/DBD::mysql are no problem. at http://volltext.net/mysql/strace.txt you find the full output of strace (71kB) snipped output of "perl -d mysqlhotcopy -n fwwb./UserDepot/ /var/tmp/" ------->8--------------------------------------------------------------------- [...] 921: my (%hash, $i, $h); DBI::_new_handle(/usr/local/www/perl/lib/site_perl/5.8.0/i686-linux-stdio/DBI. :922): 922: $i = tie %hash, $class, $attr; # ref to inner hash (for driver DBI::st::TIEHASH(/usr/local/www/perl/lib/site_perl/5.8.0/i686-linux-stdio/DBI. :932): 932: sub DBI::st::TIEHASH { bless $_[1] => $_[0] }; DBI::_new_handle(/usr/local/www/perl/lib/site_perl/5.8.0/i686-linux-stdio/DBI. :923): 923: $h = bless \%hash, $class; # ref to outer hash (for applic ion) DBI::_new_handle(/usr/local/www/perl/lib/site_perl/5.8.0/i686-linux-stdio/DBI. :926): 926: DBI::_setup_handle($h, $imp_class, $parent, $imp_data); DBI::_new_handle(/usr/local/www/perl/lib/site_perl/5.8.0/i686-linux-stdio/DBI. :928): 928: return $h unless wantarray; DBD::mysql::dr::connect(/usr/local/www/perl/lib/site_perl/5.8.0/i686-linux-std /DBD/mysql.pm:128): 128: DBD::mysql::db::_login($this, $dsn, $username, $password) 129: or $this = undef; [debugging output stops here] ------->8--------------------------------------------------------------------- >How-To-Repeat: replace /usr/bin/perl (version 5.6.1 as packaged with debian) with a selfcompiled perl 5.8 >Fix: point shebang in mysqlhotcopy script back to perl version 5.6.1 >Submitter-Id: <submitter ID> >Originator: root >Organization: >MySQL support: none >Synopsis: mysqlhotcopy segfaults with perl 5.8 >Severity: serious >Priority: medium >Category: mysql >Class: sw-bug >Release: mysql-3.23.52 (Source distribution) >Server: /usr/local/mysql/bin/mysqladmin Ver 8.23 Distrib 3.23.52, for pc-linux-gnu >on i686 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.52-log Protocol version 10 Connection Localhost via UNIX socket UNIX socket /tmp/mysql.sock Uptime: 1 day 15 hours 5 sec Threads: 7 Questions: 2173091 Slow queries: 5 Opens: 24719 Flush tables: 1 Open tables: 64 Queries per second avg: 15.477 >Environment: perl is 5.8 (compiled from source) DBI : 1.30 DBD::mysql : 2.1020 machine is a hp netserver lp2000r (dual pIII 1133MHz) opsys is debian woody System: Linux kaelte.wirtschaftsblatt.at 2.4.19 #3 SMP Wed Oct 2 14:10:50 CEST 2002 i686 unknown Architecture: i686 Some paths: /usr/local/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease) Compilation info: CC='gcc' CFLAGS='' CXX='g++' CXXFLAGS='' LDFLAGS='' LIBC: lrwxrwxrwx 1 root root 13 6. Nov 12:52 /lib/libc.so.6 -> libc-2.2.5.so -rwxr-xr-x 1 root root 1145456 18. Sep 04:50 /lib/libc-2.2.5.so -rw-r--r-- 1 root root 2376426 18. Sep 04:51 /usr/lib/libc.a -rw-r--r-- 1 root root 178 18. Sep 04:51 /usr/lib/libc.so Configure command: ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/data/mysql --with-mysql-user=mysql --with-gnu-ld --with-charset=german1 --enable-assembler --------------------------------------------------------------------- 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