----- "Howard Chu" <hyc(a)symas.com> wrote:
Howard Chu wrote:
> Tyler Gates wrote:
>> After applying the patches for ITS #6848 and ITS #6898 I still get
>> Here's the latest:
??? neither #6848 nor #6898 are relevant to pcache.
I figured probably not but thought it may be important to know in terms as this is not
just a straight 2.4.25 build...
I think you should try the RE24 branch at this point, as a number of
pcache-related fixes have been merged there.
Are you referring to OPENLDAP_REL_ENG_2_4 in the git tree?
I'm not sure if I'll have the time (work) to tackle that but I'll see what I
> Looks like a double-free. Can you reproduce this consistently? If
so, what are
> the steps? can you run slapd under valgrind and reproduce this?
I can reproduce it consistently in terms that it crashes reliably after 2 to 4 days with 1
to 2 Linux hosts connected via pam-ldap account sessions. Other than that I've not
been able to find a way to make it crash on demand. I do know it won't crash if it is
run in the foreground with -d -1.
I'm running it now under valgrind, any options you are looking for in particular?
I'll report back the next time it crashes and/or I can try RE24.
>> Program received signal SIGABRT, Aborted.
>> [Switching to Thread 0xae1edb70 (LWP 6121)]
>> 0xb76e2430 in __kernel_vsyscall ()
>> (gdb) bt
>> #0 0xb76e2430 in __kernel_vsyscall ()
>> #1 0xb71b4651 in *__GI_raise (sig=6) at
>> #2 0xb71b7a82 in *__GI_abort () at abort.c:92
>> #3 0xb71eb49d in __libc_message (do_abort=2, fmt=0xb72bff98 "***
>> detected *** %s: %s: 0x%s ***\n") at
>> #4 0xb71f5591 in malloc_printerr (action=<value optimized out>,
>> <Address 0x6 out of bounds>, ptr=0xb9584e80) at malloc.c:6266
>> #5 0xb71f6de8 in _int_free (av=<value optimized out>, p=<value
>> optimized out>) at malloc.c:4794
>> #6 0xb71f9ecd in *__GI___libc_free (mem=0xb9584e80) at
>> #7 0xb768ac20 in ber_memfree_x () from /usr/lib/liblber-2.4.so.2
>> #8 0xb768acaf in ber_bvarray_free_x () from
>> #9 0xb768acf5 in ber_bvarray_free () from
>> #10 0xb7743e5d in attr_clean (a=0xb6dcc06c) at
>> #11 0xb7743efb in attrs_free (a=0xb6dcc06c) at
>> #12 0xb6d84b7f in hdb_cache_modify (bdb=0xb9536e10, e=0xb94f1dac,
>> newAttrs=0xb6dd6884, txn=0xb2176970, lock=0xae1ec930) at
>> #13 0xb6d7008c in hdb_modify (op=0xae1eccfc, rs=0xae1ecad0) at
>> #14 0xb6d52e81 in remove_query_data (op=<value optimized out>,
>> query_uuid=<value optimized out>)
>> #15 0xb6d53d0b in consistency_check (ctx=0xae1ed1dc,
>> #16 0xb769d8b4 in ?? () from /usr/lib/libldap_r-2.4.so.2
>> #17 0xb72e996e in start_thread (arg=0xae1edb70) at
>> #18 0xb7257a4e in clone () at
>> (gdb) continue
>> [Thread 0xaddecb70 (LWP 6122) exited]
>> [Thread 0xae1edb70 (LWP 6121) exited]
>> [Thread 0xae7f0b70 (LWP 6120) exited]
>> [Thread 0xaedf3b70 (LWP 6119) exited]
>> [Thread 0xaf2f5b70 (LWP 6118) exited]
>> [Thread 0xaf7f7b70 (LWP 6117) exited]
>> [Thread 0xafbf8b70 (LWP 6116) exited]
>> [Thread 0xafff9b70 (LWP 6115) exited]
>> [Thread 0xb04fbb70 (LWP 6114) exited]
>> [Thread 0xb08fcb70 (LWP 6113) exited]
>> [Thread 0xb582ab70 (LWP 5868) exited]
>> [Thread 0xb5320b70 (LWP 5869) exited]
>> [Thread 0xb4e1eb70 (LWP 5870) exited]
>> [Thread 0xb4a1db70 (LWP 5871) exited]
>> [Thread 0xb461cb70 (LWP 5872) exited]
>> [Thread 0xb421bb70 (LWP 5873) exited]
>> [Thread 0xb5c2bb70 (LWP 5867) exited]
>> Program terminated with signal SIGABRT, Aborted.
>> The program no longer exists.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/