[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4588) ./scripts/test007-replication failed (exit 49)



This is a multi-part message in MIME format.
--------------040900000301070907010508
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Running under valgrind 3.0.0 produces the log files attached.

It seems the failed bind is not reached anymore.

$ ./run test007
Cleaning up test run directory leftover from previous run.
Running ./scripts/test007-replication...
running defines.sh
Starting master slapd on TCP/IP port 9011...
Starting slave slapd on TCP/IP port 9012...
Using ldapsearch to check that master slapd is running...
Using ldapsearch to check that slave slapd is running...
Starting slurpd...
Using ldapadd to populate the master directory...
ldapadd failed (68)!

Ciao, Michael.


--------------040900000301070907010508
Content-Type: text/plain;
 name="slapd.1.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="slapd.1.log"

==10520== Memcheck, a memory error detector.
==10520== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==10520== Using LibVEX rev 1313, a library for dynamic binary translation.
==10520== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==10520== Using valgrind-3.0.1.SVN, a dynamic binary instrumentation framework.
==10520== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
--10520-- Valgrind library directory: /usr/lib/valgrind
--10520-- Command line
--10520--    /bin/sh
--10520--    ../servers/slapd/slapd
--10520--    -s0
--10520--    -f
--10520--    ./testrun/slapd.1.conf
--10520--    -h
--10520--    ldap://localhost:9011/
--10520--    -d
--10520--    261
--10520-- Startup, with flags:
--10520--    -v
--10520--    --tool=memcheck
--10520--    --trace-children=yes
--10520--    --num-callers=10
--10520--    --leak-check=yes
--10520--    --show-reachable=yes
--10520-- Contents of /proc/version:
--10520--   Linux version 2.6.13-15.10-default (geeko@buildhost) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #1 Fri May 12 16:27:12 UTC 2006
--10520-- Reading syms from /bin/bash (0x8048000)
--10520--    object doesn't have a symbol table
--10520-- Reading syms from /lib/ld-2.3.5.so (0x1B8E4000)
--10520-- Reading syms from /usr/lib/valgrind/stage2 (0xB0000000)
--10520--    object doesn't have a symbol table
--10520-- Reading suppressions file: /usr/lib/valgrind/default.supp
==10520== 
--10520-- Reading syms from /usr/lib/valgrind/vg_preload_core.so (0x1B8FB000)
--10520--    object doesn't have a symbol table
--10520-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck.so (0x1B8FE000)
--10520--    object doesn't have a symbol table
--10520-- REDIR: 0x1B8F5440 (index) redirected to 0x1B9011F0 (index)
--10520-- REDIR: 0x1B8F55E0 (strlen) redirected to 0x1B9012A0 (strlen)
--10520-- Reading syms from /lib/libreadline.so.5.0 (0x1B91F000)
--10520--    object doesn't have a symbol table
--10520-- Reading syms from /lib/libhistory.so.5.0 (0x1B94D000)
--10520--    object doesn't have a symbol table
--10520-- Reading syms from /lib/libncurses.so.5.4 (0x1B954000)
--10520--    object doesn't have a symbol table
--10520-- Reading syms from /lib/libdl-2.3.5.so (0x1B99C000)
--10520-- Reading syms from /lib/tls/libc-2.3.5.so (0x1B9A0000)
--10520-- REDIR: 0x1BA0A220 (rindex) redirected to 0x1B9010D0 (rindex)
--10520-- REDIR: 0x1B8E47A0 (_dl_sysinfo_int80) redirected to 0xB002303B (???)
--10520-- REDIR: 0x1BA09810 (strcmp) redirected to 0x1B901350 (strcmp)
--10520-- REDIR: 0x1BA09D90 (strlen) redirected to 0x1B901280 (strlen)
--10520-- REDIR: 0x1BA09FB0 (strncmp) redirected to 0x1B9012E0 (strncmp)
--10520-- REDIR: 0x1BA096A0 (index) redirected to 0x1B9011C0 (index)
--10520-- REDIR: 0x1BA0BF80 (strchrnul) redirected to 0x1B901640 (strchrnul)
--10520-- REDIR: 0x1BA05E20 (malloc) redirected to 0x1B8FF827 (malloc)
--10520-- REDIR: 0x1BA0B570 (memcpy) redirected to 0x1B901690 (memcpy)
--10520-- REDIR: 0x1BA04170 (free) redirected to 0x1B900346 (free)
==10520== 
==10520== Process terminating with default action of signal 1 (SIGHUP)
==10520==    at 0x1BA4F2D3: __open_nocancel (in /lib/tls/libc-2.3.5.so)
==10520==    by 0x1B9BF24A: _nl_load_locale_from_archive (in /lib/tls/libc-2.3.5.so)
==10520==    by 0x1B9BE6E7: _nl_find_locale (in /lib/tls/libc-2.3.5.so)
==10520==    by 0x1B9BDFF5: setlocale (in /lib/tls/libc-2.3.5.so)
==10520==    by 0x808CCAB: set_default_locale (in /bin/bash)
==10520==    by 0x8058DE1: main (in /bin/bash)
--10520-- REDIR: 0x1BA0B0A0 (memset) redirected to 0x1B9015B0 (memset)
==10520== 
==10520== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 25 from 5)
--10520-- 
--10520-- supp:    3 index-not-intercepted-early-enough-HACK-1
--10520-- supp:    1 strlen-not-intercepted-early-enough-HACK-5
--10520-- supp:    1 strlen-not-intercepted-early-enough-HACK-4
--10520-- supp:    1 strlen-not-intercepted-early-enough-HACK-3
--10520-- supp:   19 dl_relocate_object
==10520== malloc/free: in use at exit: 0 bytes in 0 blocks.
==10520== malloc/free: 1 allocs, 1 frees, 5 bytes allocated.
==10520== 
==10520== No malloc'd blocks -- no leaks are possible.
--10520--  memcheck: sanity checks: 2 cheap, 1 expensive
--10520--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--10520--  memcheck: auxmaps: 0 searches, 0 comparisons
--10520--  memcheck: secondaries: 14 issued (896k, 0M)
--10520--  memcheck: secondaries: 28 accessible and distinguished (1792k, 1M)
--10520--     tt/tc: 3616 tt lookups requiring 3663 probes
--10520--     tt/tc: 3616 fast-cache updates, 4 flushes
--10520-- translate: new        1701 (36246 -> 585824; ratio 161:10) [0 scs]
--10520-- translate: dumped     0 (0 -> ??)
--10520-- translate: discarded  10 (287 -> ??)
--10520-- scheduler: 113097 jumps (bb entries).
--10520-- scheduler: 2/2034 major/minor sched events.
--10520--    sanity: 3 cheap, 1 expensive checks.
--10520--    exectx: 4999 lists, 13 contexts (avg 0 per list)
--10520--    exectx: 27 searches, 14 full compares (518 per 1000)
--10520--    exectx: 0 cmp2, 83 cmp4, 0 cmpAll

--------------040900000301070907010508
Content-Type: text/plain;
 name="slapd.2.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="slapd.2.log"

==10522== Memcheck, a memory error detector.
==10522== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==10522== Using LibVEX rev 1313, a library for dynamic binary translation.
==10522== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==10522== Using valgrind-3.0.1.SVN, a dynamic binary instrumentation framework.
==10522== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
--10522-- Valgrind library directory: /usr/lib/valgrind
--10522-- Command line
--10522--    /bin/sh
--10522--    ../servers/slapd/slapd
--10522--    -s0
--10522--    -f
--10522--    ./testrun/slapd.2.conf
--10522--    -h
--10522--    ldap://localhost:9012/
--10522--    -d
--10522--    261
--10522-- Startup, with flags:
--10522--    -v
--10522--    --tool=memcheck
--10522--    --trace-children=yes
--10522--    --num-callers=10
--10522--    --leak-check=yes
--10522--    --show-reachable=yes
--10522-- Contents of /proc/version:
--10522--   Linux version 2.6.13-15.10-default (geeko@buildhost) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #1 Fri May 12 16:27:12 UTC 2006
--10522-- Reading syms from /bin/bash (0x8048000)
--10522--    object doesn't have a symbol table
--10522-- Reading syms from /lib/ld-2.3.5.so (0x1B8E4000)
--10522-- Reading syms from /usr/lib/valgrind/stage2 (0xB0000000)
--10522--    object doesn't have a symbol table
--10522-- Reading suppressions file: /usr/lib/valgrind/default.supp
==10522== 
--10522-- Reading syms from /usr/lib/valgrind/vg_preload_core.so (0x1B8FB000)
--10522--    object doesn't have a symbol table
--10522-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck.so (0x1B8FE000)
--10522--    object doesn't have a symbol table
--10522-- REDIR: 0x1B8F5440 (index) redirected to 0x1B9011F0 (index)
--10522-- REDIR: 0x1B8F55E0 (strlen) redirected to 0x1B9012A0 (strlen)
--10522-- Reading syms from /lib/libreadline.so.5.0 (0x1B91F000)
--10522--    object doesn't have a symbol table
--10522-- Reading syms from /lib/libhistory.so.5.0 (0x1B94D000)
--10522--    object doesn't have a symbol table
--10522-- Reading syms from /lib/libncurses.so.5.4 (0x1B954000)
--10522--    object doesn't have a symbol table
--10522-- Reading syms from /lib/libdl-2.3.5.so (0x1B99C000)
--10522-- Reading syms from /lib/tls/libc-2.3.5.so (0x1B9A0000)
--10522-- REDIR: 0x1BA0A220 (rindex) redirected to 0x1B9010D0 (rindex)
--10522-- REDIR: 0x1B8E47A0 (_dl_sysinfo_int80) redirected to 0xB002303B (???)
--10522-- REDIR: 0x1BA09810 (strcmp) redirected to 0x1B901350 (strcmp)
--10522-- REDIR: 0x1BA09D90 (strlen) redirected to 0x1B901280 (strlen)
--10522-- REDIR: 0x1BA09FB0 (strncmp) redirected to 0x1B9012E0 (strncmp)
--10522-- REDIR: 0x1BA096A0 (index) redirected to 0x1B9011C0 (index)
--10522-- REDIR: 0x1BA0BF80 (strchrnul) redirected to 0x1B901640 (strchrnul)
--10522-- REDIR: 0x1BA05E20 (malloc) redirected to 0x1B8FF827 (malloc)
--10522-- REDIR: 0x1BA0B570 (memcpy) redirected to 0x1B901690 (memcpy)
--10522-- REDIR: 0x1BA04170 (free) redirected to 0x1B900346 (free)
==10522== 
==10522== Process terminating with default action of signal 1 (SIGHUP)
==10522==    at 0x1BA4F2D3: __open_nocancel (in /lib/tls/libc-2.3.5.so)
==10522==    by 0x1B9BF24A: _nl_load_locale_from_archive (in /lib/tls/libc-2.3.5.so)
==10522==    by 0x1B9BE6E7: _nl_find_locale (in /lib/tls/libc-2.3.5.so)
==10522==    by 0x1B9BDFF5: setlocale (in /lib/tls/libc-2.3.5.so)
==10522==    by 0x808CCAB: set_default_locale (in /bin/bash)
==10522==    by 0x8058DE1: main (in /bin/bash)
--10522-- REDIR: 0x1BA0B0A0 (memset) redirected to 0x1B9015B0 (memset)
==10522== 
==10522== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 25 from 5)
--10522-- 
--10522-- supp:    3 index-not-intercepted-early-enough-HACK-1
--10522-- supp:    1 strlen-not-intercepted-early-enough-HACK-5
--10522-- supp:    1 strlen-not-intercepted-early-enough-HACK-4
--10522-- supp:    1 strlen-not-intercepted-early-enough-HACK-3
--10522-- supp:   19 dl_relocate_object
==10522== malloc/free: in use at exit: 0 bytes in 0 blocks.
==10522== malloc/free: 1 allocs, 1 frees, 5 bytes allocated.
==10522== 
==10522== No malloc'd blocks -- no leaks are possible.
--10522--  memcheck: sanity checks: 2 cheap, 1 expensive
--10522--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--10522--  memcheck: auxmaps: 0 searches, 0 comparisons
--10522--  memcheck: secondaries: 14 issued (896k, 0M)
--10522--  memcheck: secondaries: 28 accessible and distinguished (1792k, 1M)
--10522--     tt/tc: 3616 tt lookups requiring 3663 probes
--10522--     tt/tc: 3616 fast-cache updates, 4 flushes
--10522-- translate: new        1701 (36246 -> 585824; ratio 161:10) [0 scs]
--10522-- translate: dumped     0 (0 -> ??)
--10522-- translate: discarded  10 (287 -> ??)
--10522-- scheduler: 113097 jumps (bb entries).
--10522-- scheduler: 2/2034 major/minor sched events.
--10522--    sanity: 3 cheap, 1 expensive checks.
--10522--    exectx: 4999 lists, 13 contexts (avg 0 per list)
--10522--    exectx: 27 searches, 14 full compares (518 per 1000)
--10522--    exectx: 0 cmp2, 83 cmp4, 0 cmpAll

--------------040900000301070907010508--