Re: core dumps with mysql-4.1.12 with UnixWare 7.1.4 and Legend.

Boyd Lynn Gerber <[email protected]> Fri, 27 May 2005 10:58:09 -0600
Newsgroups gmane.comp.db.mysql.bugs
Message-ID <[email protected]>
On Thu, 26 May 2005, Boyd Lynn Gerber wrote:
> C="cc" CFLAGS="-I/usr/local/include" CXX="CC" 
> CFLAGS="-I/usr/local/include" ./configure --prefix=/usr/local/mysql \
> --enable-thread-safe-client --with-berkeley-db=./bdb --with-innodb \
> --with-openssl --with-extra-charsets=complex --with-vio --with-readline
> 
> I found for the first time I was unable to run make test.
> 
> I then compiled with
> 
> CC="cc" CFLAGS="-I/usr/local/include" CXX="CC" 
> CFLAGS="-I/usr/local/include" ./configure --prefix=/usr/local/mysql \
> --enable-thread-safe-client --with-berkeley-db=./bdb --with-innodb \
> --with-openssl --with-extra-charsets=complex --with-vio --with-readline \
> --with-debug
> 
> and in running
> 
> ./mysql-test-run --debug
> 
> $ more master.err
> CURRENT_TEST: alias
> 050527  0:23:23 [Warning] setrlimit could not change the size of core 
> files to '
> infinity';  We may not be able to generate a core file on signals
> mysqld got signal 11;
> This could be because you hit a bug. It is also possible that this binary
> or one of the libraries it was linked against is corrupt, improperly 
> built,
> or misconfigured. This error can also be caused by malfunctioning 
> hardware.
> We will try our best to scrape up some info that will hopefully help 
> diagnose
> the problem, but since we have already crashed, something is definitely 
> wrong
> and this may fail.
> 
> key_buffer_size=0
> read_buffer_size=131072
> max_used_connections=0
> max_connections=100
> threads_connected=0
> It is possible that mysqld could use up to 
> key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 
> 38399 
> K
> bytes of memory
> Hope that's ok; if not, decrease some variables in the equation.
> 
> Writing a core file
> Segmentation Fault - core dumped
> 
> .......
> 
> T@1    : | | | | | | my: size: 8192  my_flags: 16
> T@1    : | | | | | | exit: ptr: 0x854e788
> T@1    : | | | | | <my_malloc
> T@1    : | | | | <init_dynamic_array
> T@1    : | | | | >init_alloc_root
> T@1    : | | | | | enter: root: 0x8548f50
> T@1    : | | | | | >my_malloc
> T@1    : | | | | | | my: size: 32784  my_flags: 0
> T@1    : | | | | | | exit: ptr: 0x8550790
> T@1    : | | | | | <my_malloc
> T@1    : | | | | <init_alloc_root
> T@1    : | | | <my_dir
> T@1    : | | | >my_dirend
> T@1    : | | | | >my_free
> T@1    : | | | | | my: ptr: 0x854e788
> T@1    : | | | | <my_free
> T@1    : | | | | >free_root
> T@1    : | | | | | enter: root: 0x8548f50  flags: 0
> T@1    : | | | | | >my_free
> T@1    : | | | | | | my: ptr: 0x8550790
> T@1    : | | | | | <my_free
> T@1    : | | | | <free_root
> T@1    : | | | | >my_free
> T@1    : | | | | | my: ptr: 0x8548f30
> T@1    : | | | | <my_free
> T@1    : | | | <my_dirend
> T@1    : | | <find_uniq_filename
> T@1    : | | >my_open
> T@1    : | | | my: Name: 
> '/home/mount/zensco/local/zenez/build/mysql-4.1.12/mysq
> l-test/var/log/master-bin.000001'  Flags: 265  MyFlags: 48
> T@1    : | | <my_open
> T@1    : | | >my_malloc
> T@1    : | | | my: size: 87  my_flags: 48
> T@1    : | | | exit: ptr: 0x854af80
> T@1    : | | <my_malloc
> T@1    : | | exit: fd: 7
> T@1    : | | >my_tell
> T@1    : | | | my: Fd: 7  MyFlags: 16
> T@1    : | | | exit: pos: 0
> T@1    : | | <my_tell
> T@1    : | | >init_io_cache
> T@1    : | | | enter: cache: 0x8443264  type: 1  pos: 0
> T@1    : | | | >my_malloc
> T@1    : | | | | my: size: 8192  my_flags: 52
> T@1    : | | | | exit: ptr: 0x854e788
> T@1    : | | | <my_malloc
> T@1    : | | | info: init_io_cache: cachesize = 8192
> T@1    : | | <init_io_cache
> T@1    : | | >fn_format
> T@1    : | | | enter: name: 
> /home/mount/zensco/local/zenez/build/mysql-4.1.12/my
> sql-test/var/log/master-bin  dir: .  extension: .index  flag: 6
> T@1    : | | | >dirname_part
> T@1    : | | | | enter: 
> '/home/mount/zensco/local/zenez/build/mysql-4.1.12/mysql
> -test/var/log/master-bin'
> T@1    : | | | <dirname_part
> T@1    : | | | >unpack_dirname
> T@1    : | | | | >dirname_part
> T@1    : | | | | | enter: 
> '/home/mount/zensco/local/zenez/build/mysql-4.1.12/mys
> ql-test/var/log/'
> T@1    : | | | | <dirname_part
> T@1    : | | | | >cleanup_dirname
> T@1    : | | | | | enter: from: 
> '/home/mount/zensco/local/zenez/build/mysql-4.1.
> 12/mysql-test/var/log/'
> T@1    : | | | | | exit: to: 
> '/home/mount/zensco/local/zenez/build/mysql-4.1.12/
> mysql-test/var/log/'
> T@1    : | | | | <cleanup_dirname
> T@1    : | | | <unpack_dirname
> T@1    : | | | >strlength
> T@1    : | | | <strlength
> T@1    : | | <fn_format
> T@1    : | | >my_open
> T@1    : | | | my: Name: 
> '/home/mount/zensco/local/zenez/build/mysql-4.1.12/mysq
> l-test/var/log/master-bin.index'  Flags: 258  MyFlags: 16
> T@1    : | | <my_open
> T@1    : | | >my_malloc
> T@1    : | | | my: size: 86  my_flags: 16
> T@1    : | | | exit: ptr: 0x854afe0
> T@1    : | | <my_malloc
> T@1    : | | exit: fd: 8
> T@1    : | | >my_sync
> T@1    : | | | my: Fd: 8  my_flags: 16
> T@1    : | | <my_sync
> T@1    : | | >my_seek
> T@1    : | | | my: Fd: 8  Hpos: 0  Pos: 0  Whence: 2  MyFlags: 0
> T@1    : | | <my_seek
> T@1    : | | >init_io_cache
> T@1    : | | | enter: cache: 0x8443350  type: 1  pos: 0
> T@1    : | | | >my_malloc
> T@1    : | | | | my: size: 8192  my_flags: 48
> T@1    : | | | | exit: ptr: 0x8550790
> T@1    : | | | <my_malloc
> T@1    : | | | info: init_io_cache: cachesize = 8192
> T@1    : | | <init_io_cache
> T@1    : | | >my_b_flush_io_cache
> T@1    : | | | >my_seek
> T@1    : | | | | my: Fd: 7  Hpos: 0  Pos: 0  Whence: 0  MyFlags: 0
> T@1    : | | | <my_seek
> T@1    : | | | >my_write
> T@1    : | | | | my: Fd: 7  Buffer: 0x854e788  Count: 79  MyFlags: 52
> T@1    : | | | <my_write
> T@1    : | | <my_b_flush_io_cache
> T@1    : | | >my_sync
> T@1    : | | | my: Fd: 7  my_flags: 16
> T@1    : | | <my_sync
> T@1    : | | >my_b_flush_io_cache
> T@1    : | | | >my_seek
> T@1    : | | | | my: Fd: 8  Hpos: 0  Pos: 0  Whence: 0  MyFlags: 0
> T@1    : | | | <my_seek
> T@1    : | | | >my_write
> T@1    : | | | | my: Fd: 8  Buffer: 0x8550790  Count: 87  MyFlags: 52
> T@1    : | | | <my_write
> T@1    : | | <my_b_flush_io_cache
> T@1    : | | >my_sync
> T@1    : | | | my: Fd: 8  my_flags: 16
> T@1    : | | <my_sync
> T@1    : | <MYSQL_LOG::open
> T@1    : | >berkeley_init
> T@1    : | | bdb: berkeley_home: 
> /home/mount/zensco/local/zenez/build/mysql-4.1.
> 12/mysql-test/var/master-data/

When running with debug I get...

/home/mount/zensco/local/zenez/build/mysql-4.1.12/sql/mysqld
New program mysqld (process p1) created
New thread 1 created (p1.1)
HALTED p1 [main in mysqld.cc]
2910:	  DEBUGGER_OFF;
050527  2:18:08 [Warning] Can't create test file 
/home/mount/zensco/local/zenez/local/mysql-4.1.11-unknown-sysv5UnixWare7.1.4-i686/var/ip177.lower-test
e/mount/zensco/local/zenez/build/mysql-4.1.12/sql/mysqld: Can't change dir 
to 
'/home/mount/zensco/local/zenez/local/mysql-4.1.11-unknown-sysv5UnixWare7.1.4-i686/var/' 
(Errcode: 2)
050527  2:18:08 [ERROR] Aborting

050527  2:18:08 [Note] 
/home/mount/zensco/local/zenez/build/mysql-4.1.12/sql/mysqld: Shutdown 
complete

Process p1 has exited
No more processes

-- 
Boyd Gerber <[email protected]>
ZENEZ	1042 East Fort Union #135, Midvale Utah  84047

-- 
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe:    http://lists.mysql.com/[email protected]