ID: 45066 Updated by: [EMAIL PROTECTED] Reported By: dirk at bean-it dot nl Status: Open Bug Type: MySQL related Operating System: Debian 4.0 / x86_64 PHP Version: 5.2.6 New Comment:
Dirk, I decided to look with Google for something similar and Bug#42625 appeared. The same problem, the same distro (Debian), the same version of MySQL (5.0.32). The reported said he updated to some higher version and the problem disappeared. Could this be the cause? Best, Andrey Previous Comments: ------------------------------------------------------------------------ [2008-07-17 08:10:14] dirk at bean-it dot nl Mailed the output! ------------------------------------------------------------------------ [2008-07-17 07:37:39] [EMAIL PROTECTED] Can you provide us with full strace output? Probably will be too long for the report, so you can send it to [EMAIL PROTECTED] . If Jani also needs it I will forward it to him. Thanks for helping nail down the issue! Andrey ------------------------------------------------------------------------ [2008-07-17 06:36:13] dirk at bean-it dot nl Hi, Yes, I can reproduce this on serveral machines. All of my Debian amd64 machines (8 of them) and some of the i686 machines. Cheers, Dirk ------------------------------------------------------------------------ [2008-07-17 00:53:29] [EMAIL PROTECTED] One last question: Are you able to reproduce this problem on any other machine? ------------------------------------------------------------------------ [2008-07-16 06:33:56] dirk at bean-it dot nl OK, here is the full valgrind output, minus the php output, to shorten things a little. Cheers, Dirk ==29926== Memcheck, a memory error detector. ==29926== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==29926== Using LibVEX rev 1658, a library for dynamic binary translation. ==29926== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==29926== Using valgrind-3.2.1-Debian, a dynamic binary instrumentation framework. ==29926== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==29926== For more details, rerun with: -v ==29926== ==29926== Conditional jump or move depends on uninitialised value(s) ==29926== at 0x4010AB3: (within /lib/ld-2.3.6.so) ==29926== by 0x4006CB6: (within /lib/ld-2.3.6.so) ==29926== by 0x572D230: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572CCC7: _dl_open (in /lib/libc-2.3.6.so) ==29926== by 0x572F467: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572F4B1: __libc_dlopen_mode (in /lib/libc-2.3.6.so) ==29926== by 0x570A426: __nss_lookup_function (in /lib/libc-2.3.6.so) ==29926== by 0x570A4D4: (within /lib/libc-2.3.6.so) ==29926== by 0x5710E82: getservbyname_r (in /lib/libc-2.3.6.so) ==29926== by 0x5710C43: getservbyname (in /lib/libc-2.3.6.so) ==29926== ==29926== Conditional jump or move depends on uninitialised value(s) ==29926== at 0x4010AC2: (within /lib/ld-2.3.6.so) ==29926== by 0x4006CB6: (within /lib/ld-2.3.6.so) ==29926== by 0x572D230: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572CCC7: _dl_open (in /lib/libc-2.3.6.so) ==29926== by 0x572F467: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572F4B1: __libc_dlopen_mode (in /lib/libc-2.3.6.so) ==29926== by 0x570A426: __nss_lookup_function (in /lib/libc-2.3.6.so) ==29926== by 0x570A4D4: (within /lib/libc-2.3.6.so) ==29926== by 0x5710E82: getservbyname_r (in /lib/libc-2.3.6.so) ==29926== by 0x5710C43: getservbyname (in /lib/libc-2.3.6.so) ==29926== ==29926== Conditional jump or move depends on uninitialised value(s) ==29926== at 0x4010AD1: (within /lib/ld-2.3.6.so) ==29926== by 0x4006CB6: (within /lib/ld-2.3.6.so) ==29926== by 0x572D230: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572CCC7: _dl_open (in /lib/libc-2.3.6.so) ==29926== by 0x572F467: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572F4B1: __libc_dlopen_mode (in /lib/libc-2.3.6.so) ==29926== by 0x570A426: __nss_lookup_function (in /lib/libc-2.3.6.so) ==29926== by 0x570A4D4: (within /lib/libc-2.3.6.so) ==29926== by 0x5710E82: getservbyname_r (in /lib/libc-2.3.6.so) ==29926== by 0x5710C43: getservbyname (in /lib/libc-2.3.6.so) ==29926== ==29926== Conditional jump or move depends on uninitialised value(s) ==29926== at 0x4010C47: (within /lib/ld-2.3.6.so) ==29926== by 0x4006E47: (within /lib/ld-2.3.6.so) ==29926== by 0x572D230: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572CCC7: _dl_open (in /lib/libc-2.3.6.so) ==29926== by 0x572F467: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572F4B1: __libc_dlopen_mode (in /lib/libc-2.3.6.so) ==29926== by 0x570A426: __nss_lookup_function (in /lib/libc-2.3.6.so) ==29926== by 0x570A4D4: (within /lib/libc-2.3.6.so) ==29926== by 0x5710E82: getservbyname_r (in /lib/libc-2.3.6.so) ==29926== by 0x5710C43: getservbyname (in /lib/libc-2.3.6.so) ==29926== ==29926== Conditional jump or move depends on uninitialised value(s) ==29926== at 0x4010C47: (within /lib/ld-2.3.6.so) ==29926== by 0x400B8A2: (within /lib/ld-2.3.6.so) ==29926== by 0x400733A: (within /lib/ld-2.3.6.so) ==29926== by 0x572D230: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572CCC7: _dl_open (in /lib/libc-2.3.6.so) ==29926== by 0x572F467: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572F4B1: __libc_dlopen_mode (in /lib/libc-2.3.6.so) ==29926== by 0x570A426: __nss_lookup_function (in /lib/libc-2.3.6.so) ==29926== by 0x570A4D4: (within /lib/libc-2.3.6.so) ==29926== by 0x5710E82: getservbyname_r (in /lib/libc-2.3.6.so) ==29926== ==29926== Conditional jump or move depends on uninitialised value(s) ==29926== at 0x4010C47: (within /lib/ld-2.3.6.so) ==29926== by 0x400B8A2: (within /lib/ld-2.3.6.so) ==29926== by 0x572CF2B: _dl_open (in /lib/libc-2.3.6.so) ==29926== by 0x572F467: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572F4B1: __libc_dlopen_mode (in /lib/libc-2.3.6.so) ==29926== by 0x570A426: __nss_lookup_function (in /lib/libc-2.3.6.so) ==29926== by 0x570A4D4: (within /lib/libc-2.3.6.so) ==29926== by 0x5710E82: getservbyname_r (in /lib/libc-2.3.6.so) ==29926== by 0x5710C43: getservbyname (in /lib/libc-2.3.6.so) ==29926== by 0x4EC3103: mysql_server_init (in /usr/lib/libmysqlclient_r.so.15.0.0) ==29926== by 0x44DD5B: zm_startup_mysqli (mysqli.c:498) ==29926== ==29926== Conditional jump or move depends on uninitialised value(s) ==29926== at 0x4010AEE: (within /lib/ld-2.3.6.so) ==29926== by 0x4006CB6: (within /lib/ld-2.3.6.so) ==29926== by 0x572D230: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572CCC7: _dl_open (in /lib/libc-2.3.6.so) ==29926== by 0x572F467: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572F4B1: __libc_dlopen_mode (in /lib/libc-2.3.6.so) ==29926== by 0x570A426: __nss_lookup_function (in /lib/libc-2.3.6.so) ==29926== by 0x570A4F2: (within /lib/libc-2.3.6.so) ==29926== by 0x5710E82: getservbyname_r (in /lib/libc-2.3.6.so) ==29926== by 0x5710C43: getservbyname (in /lib/libc-2.3.6.so) ==29926== ==29926== Conditional jump or move depends on uninitialised value(s) ==29926== at 0x4010AF9: (within /lib/ld-2.3.6.so) ==29926== by 0x4006CB6: (within /lib/ld-2.3.6.so) ==29926== by 0x572D230: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572CCC7: _dl_open (in /lib/libc-2.3.6.so) ==29926== by 0x572F467: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572F4B1: __libc_dlopen_mode (in /lib/libc-2.3.6.so) ==29926== by 0x570A426: __nss_lookup_function (in /lib/libc-2.3.6.so) ==29926== by 0x570A4F2: (within /lib/libc-2.3.6.so) ==29926== by 0x5710E82: getservbyname_r (in /lib/libc-2.3.6.so) ==29926== by 0x5710C43: getservbyname (in /lib/libc-2.3.6.so) ==29926== ==29926== Conditional jump or move depends on uninitialised value(s) ==29926== at 0x4010B04: (within /lib/ld-2.3.6.so) ==29926== by 0x4006CB6: (within /lib/ld-2.3.6.so) ==29926== by 0x572D230: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572CCC7: _dl_open (in /lib/libc-2.3.6.so) ==29926== by 0x572F467: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572F4B1: __libc_dlopen_mode (in /lib/libc-2.3.6.so) ==29926== by 0x570A426: __nss_lookup_function (in /lib/libc-2.3.6.so) ==29926== by 0x570A4F2: (within /lib/libc-2.3.6.so) ==29926== by 0x5710E82: getservbyname_r (in /lib/libc-2.3.6.so) ==29926== by 0x5710C43: getservbyname (in /lib/libc-2.3.6.so) ==29926== ==29926== Conditional jump or move depends on uninitialised value(s) ==29926== at 0x4010C61: (within /lib/ld-2.3.6.so) ==29926== by 0x4006E47: (within /lib/ld-2.3.6.so) ==29926== by 0x572D230: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572CCC7: _dl_open (in /lib/libc-2.3.6.so) ==29926== by 0x572F467: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572F4B1: __libc_dlopen_mode (in /lib/libc-2.3.6.so) ==29926== by 0x570A426: __nss_lookup_function (in /lib/libc-2.3.6.so) ==29926== by 0x570A4F2: (within /lib/libc-2.3.6.so) ==29926== by 0x5710E82: getservbyname_r (in /lib/libc-2.3.6.so) ==29926== by 0x5710C43: getservbyname (in /lib/libc-2.3.6.so) ==29926== ==29926== Invalid read of size 8 ==29926== at 0x4010C54: (within /lib/ld-2.3.6.so) ==29926== by 0x4008D38: (within /lib/ld-2.3.6.so) ==29926== by 0x4004CF2: (within /lib/ld-2.3.6.so) ==29926== by 0x4006D6C: (within /lib/ld-2.3.6.so) ==29926== by 0x572D230: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572CCC7: _dl_open (in /lib/libc-2.3.6.so) ==29926== by 0x572F467: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572F4B1: __libc_dlopen_mode (in /lib/libc-2.3.6.so) ==29926== by 0x570A426: __nss_lookup_function (in /lib/libc-2.3.6.so) ==29926== by 0x570A4F2: (within /lib/libc-2.3.6.so) ==29926== Address 0x596D160 is 16 bytes inside a block of size 23 alloc'd ==29926== at 0x4A1B858: malloc (vg_replace_malloc.c:149) ==29926== by 0x4007113: (within /lib/ld-2.3.6.so) ==29926== by 0x572D230: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572CCC7: _dl_open (in /lib/libc-2.3.6.so) ==29926== by 0x572F467: (within /lib/libc-2.3.6.so) ==29926== by 0x400B7D0: (within /lib/ld-2.3.6.so) ==29926== by 0x572F4B1: __libc_dlopen_mode (in /lib/libc-2.3.6.so) ==29926== by 0x570A426: __nss_lookup_function (in /lib/libc-2.3.6.so) ==29926== by 0x570A4F2: (within /lib/libc-2.3.6.so) ==29926== by 0x5710E82: getservbyname_r (in /lib/libc-2.3.6.so) ==29926== by 0x5710C43: getservbyname (in /lib/libc-2.3.6.so) ==29926== ==29926== ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 9 from 1) ==29926== malloc/free: in use at exit: 1,111,452 bytes in 7,522 blocks. ==29926== malloc/free: 9,367 allocs, 1,845 frees, 1,830,053 bytes allocated. ==29926== For counts of detected errors, rerun with: -v ==29926== searching for pointers to 7,522 not-freed blocks. ==29926== checked 1,347,432 bytes. ==29926== ==29926== LEAK SUMMARY: ==29926== definitely lost: 0 bytes in 0 blocks. ==29926== possibly lost: 0 bytes in 0 blocks. ==29926== still reachable: 1,111,452 bytes in 7,522 blocks. ==29926== suppressed: 0 bytes in 0 blocks. ==29926== Reachable blocks (those to which a pointer was found) are not shown. ==29926== To see them, rerun with: --show-reachable=yes ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/45066 -- Edit this bug report at http://bugs.php.net/?id=45066&edit=1