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

(ITS#7088) slapo-accesslog makes OpenLDAP hang



Full_Name: Raphael Ouazana
Version: 2.4.26
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (213.41.232.151)


When using the following overlays:
- refint
- memberof
- ppolicy
- synprov
- accesslog

OpenLDAP hangs. Here is the backtrace:

(gdb) thread apply all bt

Thread 5 (Thread 0x3355bb70 (LWP 11959)):
#0  0xb7850424 in __kernel_vsyscall ()
#1  0xb7420c16 in epoll_wait () at ../sysdeps/unix/syscall-template.S:82
#2  0x080639fb in slapd_daemon_task (ptr=0x0) at daemon.c:2528
#3  0xb76aed31 in start_thread (arg=0x3355bb70) at pthread_create.c:304
#4  0xb74200ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0x3315ab70 (LWP 11960)):
#0  0xb7850424 in __kernel_vsyscall ()
#1  0xb76b2a5c in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x081b3fae in ldap_int_thread_pool_wrapper (xpool=0x98a1b60) at tpool.c:672
#3  0xb76aed31 in start_thread (arg=0x3315ab70) at pthread_create.c:304
#4  0xb74200ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0x32d59b70 (LWP 11961)):
#0  0xb7850424 in __kernel_vsyscall ()
#1  0xb76b2a5c in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x081b2a1c in ldap_pvt_thread_rmutex_lock (rmutex=0x992c0e0,
owner=852859760) at rmutex.c:129
#3  0x081629c6 in accesslog_op_mod (op=0x9997840, rs=0x32d590fc) at
accesslog.c:1889
#4  0x080d50e9 in overlay_op_walk (op=0x9997840, rs=0x32d590fc, which=op_add,
oi=0x992bdd0, on=0x992bfa8) at backover.c:661
#5  0x080d52d2 in over_op_func (op=0x9997840, rs=0x32d590fc, which=op_add) at
backover.c:723
#6  0x080702f6 in fe_op_add (op=0x9997840, rs=0x32d590fc) at add.c:334
#7  0x0807125f in do_add (op=0x9997840, rs=0x32d590fc) at add.c:194
#8  0x080692ee in connection_operation (ctx=0x32d591fc, arg_v=0x9997840) at
connection.c:1138
#9  0x08069c6a in connection_read_thread (ctx=0x32d591fc, argv=0x10) at
connection.c:1274
#10 0x081b3f56 in ldap_int_thread_pool_wrapper (xpool=0x98a1b60) at tpool.c:685
#11 0xb76aed31 in start_thread (arg=0x32d59b70) at pthread_create.c:304
#12 0xb74200ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0x31f55b70 (LWP 11996)):
#0  0xb7850424 in __kernel_vsyscall ()
#1  0xb76b2a5c in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x081b3fae in ldap_int_thread_pool_wrapper (xpool=0x98a1b60) at tpool.c:672
#3  0xb76aed31 in start_thread (arg=0x31f55b70) at pthread_create.c:304
#4  0xb74200ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb73326c0 (LWP 11954)):
#0  0xb7850424 in __kernel_vsyscall ()
#1  0xb76afe2c in pthread_join (threadid=861256560, thread_return=0x0) at
pthread_join.c:89
#2  0x080666de in slapd_daemon () at daemon.c:2922
#3  0x0804def9 in main (argc=7, argv=0xbfb125d4) at main.c:983

Regards,
Raphaêl Ouazana.