1 message in com.mysql.lists.bugsCoredump in mysql_errno, Perl modules...| From | Sent On | Attachments |
|---|---|---|
| md...@idg.nl | 04 May 2002 06:15 |
| Subject: | Coredump in mysql_errno, Perl modules make test![]() |
|---|---|
| From: | md...@idg.nl (md...@idg.nl) |
| Date: | 05/04/2002 06:15:23 AM |
| List: | com.mysql.lists.bugs |
Description: make test on latest DBD-mysql core dumps on admin tests. How-To-Repeat:
1. get latest distribution from CPAN (f.e. perl -MCPAN -e 'look DBD::mysql') 2. configure, using perl Makefile.PL --testuser=youruser --testhost=yourhost 3. make 4. make test Got output:
$ make test
PERL_DL_NONLAZY=1 /perl/bin/perl -Iblib/arch -Iblib/lib
-I/perl/lib/5.6.1/i386-bsdos -I/perl/lib/5.6.1 -e 'use Test::Harness
qw(&runtests
$verbose); $verbose=0; runtests @ARGV;' t/*.t
t/00base...........ok
t/10dsnlist........ok
t/20createdrop.....ok
t/30insertfetch....ok
t/40bindparam......ok
t/40blobs..........ok
t/40listfields.....ok
t/40nulls..........ok
t/40numrows........ok
t/50chopblanks.....ok
t/50commit.........ok
t/60leaks..........skipped test on this platform
t/ak-dbd...........ok
t/akmisc...........FAILED test 44
Failed 1/351 tests, 99.72% okay
t/dbdadmin.........dubious
Test returned status 0 (wstat 139, 0x8b)
test program seems to have generated a core
DIED. FAILED tests 5-20
Failed 16/20 tests, 20.00% okay
t/insertid.........ok
t/mysql............FAILED test 23
Failed 1/68 tests, 98.53% okay
t/mysql2...........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------------------------------------------------------------------------- t/akmisc.t 351 1 0.28% 44 t/dbdadmin.t 0 139 20 16 80.00% 5-20 t/mysql.t 68 1 1.47% 23 1 test skipped. Failed 3/18 test scripts, 83.33% okay. 18/758 subtests failed, 97.63% okay. make: *** [test_dynamic] Error 9
Backtrace:
gdb -exec /perl/bin/perl -core ./perl.core
GNU gdb
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-unknown-bsdi4.2".
Core was generated by `perl'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /perl/lib/5.6.1/i386-bsdos/CORE/libperl.so...done.
Reading symbols from /shlib/libdl.so...done.
Reading symbols from /shlib/libm.so.0.0...done.
Reading symbols from /shlib/libc.so.2...done.
Reading symbols from /weblib/local/lib/libiconv.so.2...done.
Reading symbols from /shlib/libgcc.so.1...done.
Reading symbols from /shlib/ld-bsdi.so...done.
Reading symbols from
/perl/lib/site_perl/5.6.1/i386-bsdos/auto/DBI/DBI.so...done.
Reading symbols from
/home/mdev/.cpan/build/DBD-mysql-2.1017/blib/arch/auto/DBD/mysql/mysql.so...done.
Reading symbols from /sql/lib/mysql/libmysqlclient.so.10...done.
Reading symbols from /usr/lib/libz.so.1...done.
---Type <return> to continue, or q <return> to quit---
#0 0x48305c1a in mysql_errno () from /sql/lib/mysql/libmysqlclient.so.10
(gdb) bt
#0 0x48305c1a in mysql_errno () from /sql/lib/mysql/libmysqlclient.so.10
#1 0x482f786a in XS_DBD__mysql__dr__admin_internal () from
/home/mdev/.cpan/build/DBD-mysql-2.1017/blib/arch/auto/DBD/mysql/mysql.so
#2 0x482e49a1 in XS_DBI_dispatch () from
/perl/lib/site_perl/5.6.1/i386-bsdos/auto/DBI/DBI.so
#3 0x480bd6b1 in Perl_pp_entersub () from
/perl/lib/5.6.1/i386-bsdos/CORE/libperl.so
#4 0x480b7471 in Perl_runops_standard () from
/perl/lib/5.6.1/i386-bsdos/CORE/libperl.so
#5 0x4807099c in Perl_call_sv () from
/perl/lib/5.6.1/i386-bsdos/CORE/libperl.so
#6 0x48070502 in Perl_call_sv () from
/perl/lib/5.6.1/i386-bsdos/CORE/libperl.so
#7 0x482e4a41 in XS_DBI_dispatch () from
/perl/lib/site_perl/5.6.1/i386-bsdos/auto/DBI/DBI.so
#8 0x480bd6b1 in Perl_pp_entersub () from
/perl/lib/5.6.1/i386-bsdos/CORE/libperl.so
#9 0x480b7471 in Perl_runops_standard () from
/perl/lib/5.6.1/i386-bsdos/CORE/libperl.so
#10 0x48070051 in perl_run () from /perl/lib/5.6.1/i386-bsdos/CORE/libperl.so
#11 0x4806fd4b in perl_run () from /perl/lib/5.6.1/i386-bsdos/CORE/libperl.so
#12 0x80493b4 in ?? ()
#13 0x804928e in ?? ()
(gdb) quit
Perl information:
$ /perl/bin/perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=bsdos, osvers=4.2, archname=i386-bsdos
uname='bsdos server6.idg.nl 4.2 bsdi bsdos 4.2 i386 unknown '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing',
optimize='-O2',
cppflags='-fno-strict-aliasing'
ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='ld', ldflags ='-L/weblib/local/lib -L/usr/X11/lib'
libpth=/shlib /usr/lib /weblib/local/lib /usr/X11/lib
libs=-lutil -ldl -lm -lc -liconv
perllibs=-lutil -ldl -lm -lc -liconv
libc=/shlib/libc.so, so=so, useshrplib=true, libperl=libperl.so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,//CORE'
cccdlflags='-fPIC', lddlflags='-shared -x -L/weblib/local/lib
-L/usr/X11/lib'
Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under bsdos Compiled at Nov 4 2001 21:52:51 @INC: /perl/lib/5.6.1/i386-bsdos /perl/lib/5.6.1 /perl/lib/site_perl/5.6.1/i386-bsdos /perl/lib/site_perl/5.6.1 /perl/lib/site_perl .
Fix:
Submitter-Id: <submitter ID> Originator: Melvyn Sopacua Organization: IDG.nl MySQL support: none Synopsis: Coredump in make test, for Perl DBD-mysql modules Severity: serious Priority: low Category: libmysqlclient Class: sw-bug Release: mysql-3.23.49 (Source distribution) Server: /sql/bin/mysqladmin Ver 8.23 Distrib 3.23.49, for pc-bsdi4.2 on i386
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-log Protocol version 10 Connection Localhost via UNIX socket UNIX socket /sql/tmp/mysql.sock Uptime: 16 days 21 hours 42 min 57 sec
Threads: 2 Questions: 3710604 Slow queries: 29 Opens: 755 Flush tables: 1
Open tables: 120 Queries per second avg: 2.541
Environment:
System: BSD/OS server6.idg.nl 4.2 BSDI BSD/OS 4.2 Kernel #0: Sat Nov 10 15:23:35
CET 2001 ro...@server6.idg.nl:/usr/src/sys/compile/GENTIME i386
Some paths: /perl/bin/perl /home/mdev/local/bin/make /home/mdev/local/bin/gmake
/usr/bin/gcc /usr/bin/cc
GCC: Using builtin specs.
gcc version 2.95.2 19991024 (release)
Compilation info: CC='gcc' CFLAGS='-O3 -mpentium' CXX='gcc' CXXFLAGS='-O3
-mpentium -felide-constructors -fno-exceptions -fno-rtti' LDFLAGS=''
LIBC:
-r--r--r-- 1 bin bin 1648744 Oct 8 2000 /usr/lib/libc.a
-r--r--r-- 1 bin bin 8561 Oct 8 2000 /usr/lib/libc.except
Configure command: ./configure --prefix=/sql --enable-assembler
--with-berkeley-db --without-docs --without-bench




