hi, I've succesfully installed mysql on linux 2.4.x (TRUSTIX), I've
tried to move it on my chroot jail but after 10s it crashes with the
following message:
--- cut here----
040602 18:22:21 InnoDB: Started
/usr/local/mysql/libexec/mysqld: ready for connections.
Version: '4.0.20' socket: '/var/run/mysql/mysql.sock' port: 3306
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 =8388600
read_buffer_siz e=131072
max_used_connec tions=0
max_connections =100
threads_connect ed=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_si ze +
sort_buffer_siz e)*max_connecti ons = 225791
K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd=(nil)
Attempting backtrace. You can use the following information to find
out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0xbefff6c8, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x80fed8a
0x4003758d
0x40215d7f
0x8195348
0x8195901
0x40032245
0x4028bba7
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://www.mysql.com/doc/en/Using_stack_trace.html and
follow instru
ctions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please
do
resolve it
The manual page at http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is causing the crash.
------
it works if not chrooted
I've tried the binary distribution
I've tried the source distribution (static libs)
I've tried the source distribution (dynamic libs)
I've a copy of the proc filesystem in the jail
I think I have all the required libs, here they are:
ld-linux.so.2* libc.so.6* libcrypt.so.1* libdl.so.2*
libgcc_s.so.1* libintl.so.3* libm.so.6*
libncurses.so.5 *
libnsl.so.1* libnss_compat.s o.2* libnss_dns.so.2 *
libnss_files.so .2*
libpam.so* libpam.so.0* libpam_misc.so*
libpam_misc.so. 0*
libproc.so.3.1. 15* libpthread.so.0 * libresolv.so.2* librt.so.1*
libss.so.2* libstdc++.so.5* libtermcap.a*
libtermcap.so*
libtermcap.so.2 * libutil.so.1* libz.so.1*
the libs are good not outdated, nor corrupted.. other programs work
like a charm
what can make mysql so unstable?
Any clue?
Thanx