TimeRaider
14.09.06, 15:44
Hey,
seitdem ich bei gentoo gcc und glibc geupdatet hab lässt sich der mysql daemon trotz neu kompilieren nichtmehr starten. in der mysqld.err findet sich nur folgende fehlermeldung:
060914 16:38:32 bdb: Ignoring log file: /var/lib/mysql/log.0000000001: unsupported log version 7
060914 16:38:32 bdb: PANIC: Invalid argument
*** glibc detected *** /usr/sbin/mysqld: double free or corruption (!prev): 0x0841bf28 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7be7b3b]
/lib/libc.so.6(__libc_free+0x79)[0xb7be9077]
/usr/sbin/mysqld(__os_free+0x31)[0x81c2c5f]
/usr/sbin/mysqld(__db_mutex_free+0x43)[0x81c293a]
/usr/sbin/mysqld[0x81aabe6]
/usr/sbin/mysqld(__dbenv_close+0x4a)[0x81aaa8b]
/usr/sbin/mysqld(_Z13berkeley_initv+0x2a2)[0x8171b56]
======= Memory map: ========
08048000-083f5000 r-xp 00000000 07:05 1772931 /usr/sbin/mysqld
083f5000-0840a000 rw-p 003ac000 07:05 1772931 /usr/sbin/mysqld
0840a000-08435000 rw-p 0840a000 00:00 0 [heap]
b70e6000-b70e7000 rw-p b70e6000 00:00 0
b7a00000-b7a21000 rw-p b7a00000 00:00 0
b7a21000-b7b00000 ---p b7a21000 00:00 0
b7b69000-b7b71000 r-xp 00000000 07:05 1334519 /lib/libnss_files-2.4.so
b7b71000-b7b73000 rw-p 00007000 07:05 1334519 /lib/libnss_files-2.4.so
b7b73000-b7b7b000 r-xp 00000000 07:05 1334549 /lib/libnss_nis-2.4.so
b7b7b000-b7b7d000 rw-p 00007000 07:05 1334549 /lib/libnss_nis-2.4.so
b7b7d000-b7b83000 r-xp 00000000 07:05 1334551 /lib/libnss_compat-2.4.so
b7b83000-b7b85000 rw-p 00005000 07:05 1334551 /lib/libnss_compat-2.4.so
b7b85000-b7b87000 rw-p b7b85000 00:00 0
b7b87000-b7c96000 r-xp 00000000 07:05 1334568 /lib/libc-2.4.so
b7c96000-b7c98000 r--p 0010e000 07:05 1334568 /lib/libc-2.4.so
b7c98000-b7c9a000 rw-p 00110000 07:05 1334568 /lib/libc-2.4.so
b7c9a000-b7c9d000 rw-p b7c9a000 00:00 0
b7c9d000-b7ca6000 r-xp 00000000 07:05 5315689 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
b7ca6000-b7ca7000 rw-p 00008000 07:05 5315689 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
b7ca7000-b7cc9000 r-xp 00000000 07:05 1334198 /lib/libm-2.4.so
b7cc9000-b7ccb000 rw-p 00021000 07:05 1334198 /lib/libm-2.4.so
b7ccb000-b7ccc000 rw-p b7ccb000 00:00 0
b7ccc000-b7d9a000 r-xp 00000000 07:05 5315690 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8
b7d9a000-b7d9d000 r--p 000cd000 07:05 5315690 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8
b7d9d000-b7d9f000 rw-p 000d0000 07:05 5315690 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8
b7d9f000-b7da5000 rw-p b7d9f000 00:00 0
b7da5000-b7db5000 r-xp 00000000 07:05 1334546 /lib/libnsl-2.4.so
b7db5000-b7db7000 rw-p 0000f000 07:05 1334546 /lib/libnsl-2.4.so
b7db7000-b7db9000 rw-p b7db7000 00:00 0
b7db9000-b7dbe000 r-xp 00000000 07:05 1334515 /lib/libcrypt-2.4.so
b7dbe000-b7dc0000 rw-p 00004000 07:05 1334515 /lib/libcrypt-2.4.so
b7dc0000-b7de7000 rw-p b7dc0000 00:00 0
b7de7000-b7df7000 r-xp 00000000 07:05 5051490 /lib/libz.so.1.2.3
b7df7000-b7df8000 rw-p 0000f000 07:05 5051490 /lib/libz.so.1.2.3
b7df8000-b7e07000 r-xp 00000000 07:05 1334445 /lib/libpthread-2.4.so
b7e07000-b7e08000 r--p 0000e000 07:05 1334445 /lib/libpthread-2.4.so
b7e08000-b7e09000 rw-p 0000f000 07:05 1334445 /lib/libpthread-2.4.so
b7e09000-b7e0b000 rw-p b7e09000 00:00 0
b7e0b000-b7f27000 r-xp 00000000 07:05 5479444 /usr/lib/libcrypto.so.0.9.8
b7f27000-b7f3c000 rw-p 0011c000 07:05 5479444 /usr/lib/libcrypto.so.0.9.8
b7f3c000-b7f40000 rw-p b7f3c000 00:00 0
b7f40000-b7f78000 r-xp 00000000 07:05 5479447 /usr/lib/libssl.so.0.9.8
b7f78000-b7f7c000 rw-p 00037000 07:05 5479447 /usr/lib/libssl.so.0.9.8
b7f7c000-b7f7e000 r-xp 00000000 07:05 1334412 /lib/libdl-2.4.so
b7f7e000-b7f80000 rw-p 00001000 07:05 1334412 /lib/libdl-2.4.so
b7f80000-b7f86000 r-xp 00000000 07:05 4590104 /lib/libwrap.so.0.7.6
b7f86000-b7f88000 rw-p 00005000 07:05 4590104 /lib/libwrap.so.0.7.6
b7f88000-b7f8f000 r-xp 00000000 07:05 1334536 /lib/librt-2.4.so
b7f8f000-b7f91000 rw-p 00006000 07:05 1334536 /lib/librt-2.4.so
b7fac000-b7fad000 rw-p b7fac000 00:00 0
b7fad000-b7fc6000 r-xp 00000000 07:05 1334451 /lib/ld-2.4.so
b7fc6000-b7fc7000 r--p 00019000 07:05 1334451 /lib/ld-2.4.so
b7fc7000-b7fc8000 rw-p 0001a000 07:05 1334451 /lib/ld-2.4.so
bf8b1000-bf8c6000 rw-p bf8b1000 00:00 0 [stack]
ffffe000-fffff000 ---p 00000000 00:00 0 [vdso]
mysqld got signal 6;
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=16777216
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 = 233983 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd=0x8414638
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...
Bogus stack limit or frame pointer, fp=0xbf8c4138, stack_bottom=0x4030201, thread_stack=131072, aborting backtrace.
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x29 is invalid pointer
thd->thread_id=1683973485
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.
schonmal vielen dank für eure hilfe
gruss
jakob
seitdem ich bei gentoo gcc und glibc geupdatet hab lässt sich der mysql daemon trotz neu kompilieren nichtmehr starten. in der mysqld.err findet sich nur folgende fehlermeldung:
060914 16:38:32 bdb: Ignoring log file: /var/lib/mysql/log.0000000001: unsupported log version 7
060914 16:38:32 bdb: PANIC: Invalid argument
*** glibc detected *** /usr/sbin/mysqld: double free or corruption (!prev): 0x0841bf28 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7be7b3b]
/lib/libc.so.6(__libc_free+0x79)[0xb7be9077]
/usr/sbin/mysqld(__os_free+0x31)[0x81c2c5f]
/usr/sbin/mysqld(__db_mutex_free+0x43)[0x81c293a]
/usr/sbin/mysqld[0x81aabe6]
/usr/sbin/mysqld(__dbenv_close+0x4a)[0x81aaa8b]
/usr/sbin/mysqld(_Z13berkeley_initv+0x2a2)[0x8171b56]
======= Memory map: ========
08048000-083f5000 r-xp 00000000 07:05 1772931 /usr/sbin/mysqld
083f5000-0840a000 rw-p 003ac000 07:05 1772931 /usr/sbin/mysqld
0840a000-08435000 rw-p 0840a000 00:00 0 [heap]
b70e6000-b70e7000 rw-p b70e6000 00:00 0
b7a00000-b7a21000 rw-p b7a00000 00:00 0
b7a21000-b7b00000 ---p b7a21000 00:00 0
b7b69000-b7b71000 r-xp 00000000 07:05 1334519 /lib/libnss_files-2.4.so
b7b71000-b7b73000 rw-p 00007000 07:05 1334519 /lib/libnss_files-2.4.so
b7b73000-b7b7b000 r-xp 00000000 07:05 1334549 /lib/libnss_nis-2.4.so
b7b7b000-b7b7d000 rw-p 00007000 07:05 1334549 /lib/libnss_nis-2.4.so
b7b7d000-b7b83000 r-xp 00000000 07:05 1334551 /lib/libnss_compat-2.4.so
b7b83000-b7b85000 rw-p 00005000 07:05 1334551 /lib/libnss_compat-2.4.so
b7b85000-b7b87000 rw-p b7b85000 00:00 0
b7b87000-b7c96000 r-xp 00000000 07:05 1334568 /lib/libc-2.4.so
b7c96000-b7c98000 r--p 0010e000 07:05 1334568 /lib/libc-2.4.so
b7c98000-b7c9a000 rw-p 00110000 07:05 1334568 /lib/libc-2.4.so
b7c9a000-b7c9d000 rw-p b7c9a000 00:00 0
b7c9d000-b7ca6000 r-xp 00000000 07:05 5315689 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
b7ca6000-b7ca7000 rw-p 00008000 07:05 5315689 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
b7ca7000-b7cc9000 r-xp 00000000 07:05 1334198 /lib/libm-2.4.so
b7cc9000-b7ccb000 rw-p 00021000 07:05 1334198 /lib/libm-2.4.so
b7ccb000-b7ccc000 rw-p b7ccb000 00:00 0
b7ccc000-b7d9a000 r-xp 00000000 07:05 5315690 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8
b7d9a000-b7d9d000 r--p 000cd000 07:05 5315690 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8
b7d9d000-b7d9f000 rw-p 000d0000 07:05 5315690 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8
b7d9f000-b7da5000 rw-p b7d9f000 00:00 0
b7da5000-b7db5000 r-xp 00000000 07:05 1334546 /lib/libnsl-2.4.so
b7db5000-b7db7000 rw-p 0000f000 07:05 1334546 /lib/libnsl-2.4.so
b7db7000-b7db9000 rw-p b7db7000 00:00 0
b7db9000-b7dbe000 r-xp 00000000 07:05 1334515 /lib/libcrypt-2.4.so
b7dbe000-b7dc0000 rw-p 00004000 07:05 1334515 /lib/libcrypt-2.4.so
b7dc0000-b7de7000 rw-p b7dc0000 00:00 0
b7de7000-b7df7000 r-xp 00000000 07:05 5051490 /lib/libz.so.1.2.3
b7df7000-b7df8000 rw-p 0000f000 07:05 5051490 /lib/libz.so.1.2.3
b7df8000-b7e07000 r-xp 00000000 07:05 1334445 /lib/libpthread-2.4.so
b7e07000-b7e08000 r--p 0000e000 07:05 1334445 /lib/libpthread-2.4.so
b7e08000-b7e09000 rw-p 0000f000 07:05 1334445 /lib/libpthread-2.4.so
b7e09000-b7e0b000 rw-p b7e09000 00:00 0
b7e0b000-b7f27000 r-xp 00000000 07:05 5479444 /usr/lib/libcrypto.so.0.9.8
b7f27000-b7f3c000 rw-p 0011c000 07:05 5479444 /usr/lib/libcrypto.so.0.9.8
b7f3c000-b7f40000 rw-p b7f3c000 00:00 0
b7f40000-b7f78000 r-xp 00000000 07:05 5479447 /usr/lib/libssl.so.0.9.8
b7f78000-b7f7c000 rw-p 00037000 07:05 5479447 /usr/lib/libssl.so.0.9.8
b7f7c000-b7f7e000 r-xp 00000000 07:05 1334412 /lib/libdl-2.4.so
b7f7e000-b7f80000 rw-p 00001000 07:05 1334412 /lib/libdl-2.4.so
b7f80000-b7f86000 r-xp 00000000 07:05 4590104 /lib/libwrap.so.0.7.6
b7f86000-b7f88000 rw-p 00005000 07:05 4590104 /lib/libwrap.so.0.7.6
b7f88000-b7f8f000 r-xp 00000000 07:05 1334536 /lib/librt-2.4.so
b7f8f000-b7f91000 rw-p 00006000 07:05 1334536 /lib/librt-2.4.so
b7fac000-b7fad000 rw-p b7fac000 00:00 0
b7fad000-b7fc6000 r-xp 00000000 07:05 1334451 /lib/ld-2.4.so
b7fc6000-b7fc7000 r--p 00019000 07:05 1334451 /lib/ld-2.4.so
b7fc7000-b7fc8000 rw-p 0001a000 07:05 1334451 /lib/ld-2.4.so
bf8b1000-bf8c6000 rw-p bf8b1000 00:00 0 [stack]
ffffe000-fffff000 ---p 00000000 00:00 0 [vdso]
mysqld got signal 6;
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=16777216
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 = 233983 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd=0x8414638
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...
Bogus stack limit or frame pointer, fp=0xbf8c4138, stack_bottom=0x4030201, thread_stack=131072, aborting backtrace.
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x29 is invalid pointer
thd->thread_id=1683973485
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.
schonmal vielen dank für eure hilfe
gruss
jakob