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

Re: (ITS#6821) ldap modify with ndb backend causes segfault



#0  0x000000000050cce9 in ndb_modify_internal (op=0x12daaf0, 
    NA=0x7fa45b342570, text=0x7fa45b343a30, 
    textbuf=0x7fa45b3425e0 "\340\345R\001", textlen=256) at
modify.cpp:397
397			if ( modai[nai]->na_flag & NDB_INFO_INDEX )
(gdb) bt
#0  0x000000000050cce9 in ndb_modify_internal (op=0x12daaf0, 
    NA=0x7fa45b342570, text=0x7fa45b343a30, 
    textbuf=0x7fa45b3425e0 "\340\345R\001", textlen=256) at
modify.cpp:397
#1  0x000000000050d769 in ndb_back_modify (op=0x12daaf0,
rs=0x7fa45b343a10)
    at modify.cpp:594
#2  0x0000000000466510 in fe_op_modify (op=0x12daaf0, rs=0x7fa45b343a10)
    at modify.c:303
#3  0x0000000000465d80 in do_modify (op=0x12daaf0, rs=0x7fa45b343a10)
    at modify.c:177
#4  0x00000000004452b8 in connection_operation (ctx=0x7fa45b343b50, 
    arg_v=0x12daaf0) at connection.c:1113
#5  0x0000000000445856 in connection_read_thread (ctx=0x7fa45b343b50,
argv=0xe)
    at connection.c:1249
#6  0x00007fa4602b9e09 in ldap_int_thread_pool_wrapper (xpool=0x11b83f0)
    at tpool.c:685
#7  0x00007fa45eab29ca in start_thread () from /lib/libpthread.so.0
#8  0x00007fa45d27a70d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

(gdb) print *ml
$1 = {sml_mod = {sm_desc = 0x154d6c0, sm_values = 0x15514c0, 
    sm_nvalues = 0x12daeb0, sm_numvals = 1, sm_op = 2, sm_flags = 0, 
    sm_type = {bv_len = 13, bv_val = 0x15513a6 "homedirectory"}}, 
  sml_next = 0x154d280}
(gdb) print *ml->sml_desc
There is no member named sml_desc.

(gdb)  print *ml->sml_mod.sm_desc
$2 = {ad_next = 0x0, ad_type = 0x1222de0, ad_cname = {bv_len = 13, 
    bv_val = 0x1222d00 "homeDirectory"}, ad_tags = {bv_len = 0, bv_val =
0x0}, 
  ad_flags = 0}