[Pkg-openldap-devel] Segfault with 2.4.44+dfsg-1 from git

Ralf Mattes rm at mh-freiburg.de
Mon Oct 24 09:26:58 UTC 2016


(resent from the correct mail account)

Hello list,

I currently testing 2.4.44+dfsg-1 from the git repository (wich I urgently need),
but experience occasional segfaults:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f60dd7e1700 (LWP 32510)]
0x00007f60dd7e0aa0 in ?? ()
(gdb) bt
#0 0x00007f60dd7e0aa0 in ?? ()
#1 0x00007f61650bca41 in slap_writewait_play (op=0x7f60c8002550) at ../../../../servers/slapd/result.c:294
#2 send_ldap_ber (op=0x7f60c8002550, ber=0x7f60dd64f250) at ../../../../servers/slapd/result.c:367
#3 0x00007f61650bf651 in slap_send_search_entry (op=0x7f60c8002550, rs=0x7f60dd7e0aa0) at ../../../../servers/slapd/result.c:1430
#4 0x00007f616003590b in mdb_search (op=0x7f60c8002550, rs=0x7f60dd7e0aa0) at ../../../../../servers/slapd/back-mdb/search.c:1086
#5 0x00007f615f5f8cd6 in relay_back_op (op=0x7f60c8002550, rs=0x7f60dd7e0aa0, which=<optimized out>)
at ../../../../../servers/slapd/back-relay/op.c:210
#6 0x00007f616511aeea in overlay_op_walk (op=op at entry=0x7f60c8002550, rs=0x7f60dd7e0aa0, which=op_search, oi=0x7f6165d2c020, on=<optimized out>) at ../../../../servers/slapd/backover.c:677
#7 0x00007f616511b044 in over_op_func (op=0x7f60c8002550, rs=<optimized out>, which=<optimized out>)
at ../../../../servers/slapd/backover.c:730
#8 0x00007f61650af071 in fe_op_search (op=0x7f60c8002550, rs=0x7f60dd7e0aa0) at ../../../../servers/slapd/search.c:402
#9 0x00007f61650ae9ee in do_search (op=0x7f60c8002550, rs=0x7f60dd7e0aa0) at ../../../../servers/slapd/search.c:247
#10 0x00007f61650ac57c in connection_operation (ctx=0x7f60dd7e0c10, arg_v=0x7f60c8002550)
at ../../../../servers/slapd/connection.c:1158
#11 0x00007f61650ac867 in connection_read_thread (ctx=0x7f60c8002550, argv=0x7f60dd7df710)
at ../../../../servers/slapd/connection.c:1294
#12 0x00007f6164c0df22 in ldap_int_thread_pool_wrapper (xpool=0x7f6165c8ffa0) at ../../../../libraries/libldap_r/tpool.c:696
#13 0x00007f61631f20a4 in start_thread (arg=0x7f60dd7e1700) at pthread_create.c:309
#14 0x00007f6162f2762d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

It seems that queries that return large amounts of data (i.e. including jpegPhoto attributes) will trigger this segfault.

Cheers, Ralf Mattes




More information about the Pkg-openldap-devel mailing list