Am Montag 20 Dezember 2010, 14:17:23 schrieb Dieter Kluenter:
Am Fri, 10 Dec 2010 09:46:06 +0100
[..]
I can reproduce this error on SLES-11 and SLES-11SP1. An excerpt of valgrind log:
BTW, I just filed ITS#6794 for this bug, which I was able to finally reproduce on stock 2.4.23 and current HEAD.
regards, Ralf
==9411== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright
[..]
==9411== Invalid write of size 1 ==9411== at 0x4C28259: memset (mc_replace_strmem.c:586) ==9411== by 0x1DE52A: bdb_tool_index_add (string3.h:86) ==9411== by 0x1DFB11: hdb_tool_entry_put (tools.c:653) ==9411== by 0x1B755B: glue_tool_entry_put (backglue.c:1176) ==9411== by 0x1BE20B: slapadd (slapadd.c:406) ==9411== by 0x131F44: main (main.c:661) ==9411== Address 0x75c7dc0 is 0 bytes after a block of size 80 alloc'd ==9411== at 0x4C26C3A: malloc (vg_replace_malloc.c:195) ==9411== by 0x508447B: ber_memalloc_x (memory.c:226) ==9411== by 0x169CFA: ch_malloc (ch_malloc.c:54) ==9411== by 0x1DF1D2: hdb_tool_entry_open (tools.c:139) ==9411== by 0x1B8FC1: glue_tool_entry_open (backglue.c:757) ==9411== by 0x1BD978: slapadd (slapadd.c:114) ==9411== by 0x131F44: main (main.c:661) ==9411== ==9411== Invalid write of size 1 ==9411== at 0x4C2823C: memset (mc_replace_strmem.c:586) ==9411== by 0x1DE52A: bdb_tool_index_add (string3.h:86) ==9411== by 0x1DFB11: hdb_tool_entry_put (tools.c:653) ==9411== by 0x1B755B: glue_tool_entry_put (backglue.c:1176) ==9411== by 0x1BE20B: slapadd (slapadd.c:406) ==9411== by 0x131F44: main (main.c:661) ==9411== Address 0x75c7dc1 is 1 bytes after a block of size 80 alloc'd ==9411== at 0x4C26C3A: malloc (vg_replace_malloc.c:195) ==9411== by 0x508447B: ber_memalloc_x (memory.c:226) ==9411== by 0x169CFA: ch_malloc (ch_malloc.c:54) ==9411== by 0x1DF1D2: hdb_tool_entry_open (tools.c:139) ==9411== by 0x1B8FC1: glue_tool_entry_open (backglue.c:757) ==9411== by 0x1BD978: slapadd (slapadd.c:114) ==9411== by 0x131F44: main (main.c:661) ==9411== ==9411== Invalid write of size 1 ==9411== at 0x4C28244: memset (mc_replace_strmem.c:586) ==9411== by 0x1DE52A: bdb_tool_index_add (string3.h:86) ==9411== by 0x1DFB11: hdb_tool_entry_put (tools.c:653) ==9411== by 0x1B755B: glue_tool_entry_put (backglue.c:1176) ==9411== by 0x1BE20B: slapadd (slapadd.c:406) ==9411== by 0x131F44: main (main.c:661) ==9411== Address 0x75c7dc2 is 2 bytes after a block of size 80 alloc'd ==9411== at 0x4C26C3A: malloc (vg_replace_malloc.c:195) ==9411== by 0x508447B: ber_memalloc_x (memory.c:226) ==9411== by 0x169CFA: ch_malloc (ch_malloc.c:54) ==9411== by 0x1DF1D2: hdb_tool_entry_open (tools.c:139) ==9411== by 0x1B8FC1: glue_tool_entry_open (backglue.c:757) ==9411== by 0x1BD978: slapadd (slapadd.c:114) ==9411== by 0x131F44: main (main.c:661) ==9411== ==9411== Invalid write of size 1 ==9411== at 0x4C28249: memset (mc_replace_strmem.c:586) ==9411== by 0x1DE52A: bdb_tool_index_add (string3.h:86) ==9411== by 0x1DFB11: hdb_tool_entry_put (tools.c:653) ==9411== by 0x1B755B: glue_tool_entry_put (backglue.c:1176) ==9411== by 0x1BE20B: slapadd (slapadd.c:406) ==9411== by 0x131F44: main (main.c:661) ==9411== Address 0x75c7dc3 is 3 bytes after a block of size 80 alloc'd ==9411== at 0x4C26C3A: malloc (vg_replace_malloc.c:195) ==9411== by 0x508447B: ber_memalloc_x (memory.c:226) ==9411== by 0x169CFA: ch_malloc (ch_malloc.c:54) ==9411== by 0x1DF1D2: hdb_tool_entry_open (tools.c:139) ==9411== by 0x1B8FC1: glue_tool_entry_open (backglue.c:757) ==9411== by 0x1BD978: slapadd (slapadd.c:114) ==9411== by 0x131F44: main (main.c:661)
[..]