Subject: memory management fault - core dumps
To: None <current-users@netbsd.org>
From: netbsd alpha <netbsd_alpha@yahoo.com>
List: current-users
Date: 10/20/2000 16:43:37
here is the message again, it seems to have bounced.

> i'm on netbsd/alpha 1.5_alpha2. this server runs
> mysql
> 3.23.26-beta, apache 1.3.12, php 4.0.3pl1. when i
> load
> up a web page driven by php, and i click reload
> really
> fast about 30 or 40 times, mysql stops responding,
> then i check the log and see that it core dumped.
> here
> is the message from netbsd /var/log/messages:
> 
> Oct 20 13:08:23 ns01 /netbsd: fatal user trap:
> Oct 20 13:08:24 ns01 /netbsd:
> Oct 20 13:08:24 ns01 /netbsd:     trap entry = 0x2
> (memory management fault)
> Oct 20 13:08:24 ns01 /netbsd:     a0         =
> 0xa72f19
> Oct 20 13:08:27 ns01 /netbsd:     a1         = 0x1
> Oct 20 13:08:27 ns01 /netbsd:     a2         = 0x0
> Oct 20 13:08:27 ns01 /netbsd:     pc         =
> 0x120105860
> Oct 20 13:08:27 ns01 /netbsd:     ra         =
> 0x120105800
> Oct 20 13:08:27 ns01 /netbsd:     curproc    =
> 0xfffffc000b4eaf10
> Oct 20 13:08:27 ns01 /netbsd:         pid = 7934,
> comm
> = mysqld
> Oct 20 13:08:27 ns01 /netbsd:
> Oct 20 13:08:27 ns01 /netbsd: pid 7934 (mysqld), uid
> 0: exited on signal 11 (core dumped)
> Oct 20 17:18:55 ns01 /netbsd:
> Oct 20 17:18:55 ns01 /netbsd: fatal user trap:
> Oct 20 17:18:55 ns01 /netbsd:
> Oct 20 17:18:58 ns01 /netbsd:     trap entry = 0x2
> (memory management fault)
> Oct 20 17:19:02 ns01 /netbsd:     a0         =
> 0xcd482
> Oct 20 17:19:06 ns01 /netbsd:     a1         = 0x1
> Oct 20 17:19:10 ns01 /netbsd:     a2         = 0x0
> Oct 20 17:19:13 ns01 /netbsd:     pc         =
> 0x120105860
> Oct 20 17:19:13 ns01 /netbsd:     ra         =
> 0x120105800
> Oct 20 17:19:13 ns01 /netbsd:     curproc    =
> 0xfffffc000b4eaf10
> Oct 20 17:19:13 ns01 /netbsd:         pid = 24795,
> comm = mysqld
> Oct 20 17:19:13 ns01 /netbsd:
> Oct 20 17:19:13 ns01 /netbsd: pid 24795 (mysqld),
> uid
> 0: exited on signal 11 (core dumped)
> 
> here is gdb's results:
> 
> # gdb /usr/local/libexec/mysqld
> /var/mysql/mysqld.core
> GNU gdb 4.17
> 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 "alpha--netbsd"...
> Core was generated by `mysqld'.
> Program terminated with signal 11, Segmentation
> fault.
> Reading symbols from /usr/libexec/ld.elf_so...done.
> Reading symbols from /usr/lib/libz.so.0...done.
> Reading symbols from /usr/lib/libcrypt.so.0...done.
> Reading symbols from /usr/lib/libstdc++.so.2...done.
> Reading symbols from /usr/lib/libm.so.0...done.
> Reading symbols from /usr/lib/libc.so.12...done.
> #0  0x1202211e8 in machdep_sys_sigprocmask () at
> syscall-template.S:53
> syscall-template.S:53: No such file or directory.
> 
> (gdb) backtrace
> #0  0x1202211e8 in machdep_sys_sigprocmask () at
> syscall-template.S:53
> warning: Hit heuristic-fence-post without finding
> warning: enclosing function for address 0x124e349d0
> This warning occurs if you are debugging a function
> without any symbols
> (for example, in a stripped executable).  In that
> case, you may wish to
> increase the size of the search with the `set
> heuristic-fence-post' command.
> 
> Otherwise, you told GDB there was a function where
> there isn't one, or
> (more likely) you have encountered a bug in GDB.
> (gdb)(gdb) backtrace
> #0  0x1202211e8 in machdep_sys_sigprocmask () at
> syscall-template.S:53
> warning: Hit heuristic-fence-post without finding
> warning: enclosing function for address 0x124e349d0
> This warning occurs if you are debugging a function
> without any symbols
> (for example, in a stripped executable).  In that
> case, you may wish to
> increase the size of the search with the `set
> heuristic-fence-post' command.
> 
> Otherwise, you told GDB there was a function where
> there isn't one, or
> (more likely) you have encountered a bug in GDB.
> (gdb)
> 
> so it's missing syscall-template.S? from the source,
> it seem's like it's the MIT-pthreads included with
> mysql.
> 
> anyone suggest  a fix?


__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/