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

openldap segmentation fault unsig function ldap_mod_del



hi,

when i use ldap_mod_del function, my slapd deamon crashs.
when i run slapd in debugin mode, i can see a segmentation fault in the debug 
info...
i have a debian system with 2.40.20-686-smp kernel and testing dist...

i use slapd 2.0.23-6.3

do someone know this problem?


-----------------debug info-------------

daemon: activity on 1 descriptors
daemon: activity on: 9r
daemon: read activity on 9
connection_get(9)
connection_get(9): got connid=0
connection_read(9): checking for input on id=0
ber_get_next
ldap_read: want=1, got=1
  0000:  30                                                 0
ldap_read: want=1, got=1
  0000:  6e                                                 n
ldap_read: want=110, got=110
  0000:  02 01 04 66 69 04 4a 6d  61 69 6c 3d 74 65 73 74   ...fi.Jmail=test
  0010:  40 61 72 62 65 69 74 73  77 65 6c 74 2e 63 68 2c   @arbeitswelt.ch,
  0020:  20 6a 76 64 3d 61 72 62  65 69 74 73 77 65 6c 74    jvd=arbeitswelt
  0030:  2e 63 68 2c 20 6f 3d 68  6f 73 74 69 6e 67 2c 20   .ch, o=hosting,
  0040:  64 63 3d 61 62 73 6f 6c  75 74 65 2c 64 63 3d 63   dc=absolute,dc=c
  0050:  68 30 1b 30 19 0a 01 01  30 14 04 0d 76 61 63 61   h0.0....0...vaca
  0060:  74 69 6f 6e 53 74 61 72  74 31 03 04 01 6e         tionStart1...n
ber_get_next: tag 0x30 len 110 contents:
ber_dump: buf=0x080d3728 ptr=0x080d3728 end=0x080d3796 len=110
  0000:  02 01 04 66 69 04 4a 6d  61 69 6c 3d 74 65 73 74   ...fi.Jmail=test
  0010:  40 61 72 62 65 69 74 73  77 65 6c 74 2e 63 68 2c   @arbeitswelt.ch,
  0020:  20 6a 76 64 3d 61 72 62  65 69 74 73 77 65 6c 74    jvd=arbeitswelt
  0030:  2e 63 68 2c 20 6f 3d 68  6f 73 74 69 6e 67 2c 20   .ch, o=hosting,
  0040:  64 63 3d 61 62 73 6f 6c  75 74 65 2c 64 63 3d 63   dc=absolute,dc=c
  0050:  68 30 1b 30 19 0a 01 01  30 14 04 0d 76 61 63 61   h0.0....0...vaca
  0060:  74 69 6f 6e 53 74 61 72  74 31 03 04 01 6e         tionStart1...n
ber_get_next
ldap_read: want=1 error=Resource temporarily unavailable
ber_get_next on fd 9 failed errno=11 (Resource temporarily unavailable)
do_modify
ber_scanf fmt ({a) ber:
ber_dump: buf=0x080d3728 ptr=0x080d372b end=0x080d3796 len=107
  0000:  66 69 04 4a 6d 61 69 6c  3d 74 65 73 74 40 61 72   fi.Jmail=test@ar
  0010:  62 65 69 74 73 77 65 6c  74 2e 63 68 2c 20 6a 76   beitswelt.ch, jv
  0020:  64 3d 61 72 62 65 69 74  73 77 65 6c 74 2e 63 68   d=arbeitswelt.ch
  0030:  2c 20 6f 3d 68 6f 73 74  69 6e 67 2c 20 64 63 3d   , o=hosting, dc=
  0040:  61 62 73 6f 6c 75 74 65  2c 64 63 3d 63 68 30 1b   absolute,dc=ch0.
  0050:  30 19 0a 01 01 30 14 04  0d 76 61 63 61 74 69 6f   0....0...vacatio
  0060:  6e 53 74 61 72 74 31 03  04 01 6e                  nStart1...n
do_modify: dn (mail=test@arbeitswelt.ch, jvd=arbeitswelt.ch, o=hosting, 
dc=absolute,dc=ch)
ber_scanf fmt ({i{a[V]}}) ber:
ber_dump: buf=0x080d3728 ptr=0x080d377b end=0x080d3796 len=27
  0000:  30 19 0a 01 01 30 14 04  0d 76 61 63 61 74 69 6f   0....0...vacatio
  0010:  6e 53 74 61 72 74 31 03  04 01 6e                  nStart1...n
modifications:
        delete: vacationStart
conn=0 op=3 MOD dn="mail=test@arbeitswelt.ch, jvd=arbeitswelt.ch, o=hosting, 
dc=absolute,dc=ch"
dn2entry_r: 
dn: "MAIL=TEST@ARBEITSWELT.CH,JVD=ARBEITSWELT.CH,O=HOSTING,DC=ABSOLUTE,DC=CH"
=> dn2id
( "MAIL=TEST@ARBEITSWELT.CH,JVD=ARBEITSWELT.CH,O=HOSTING,DC=ABSOLUTE,DC=CH" )
====> cache_find_entry_dn2id
("MAIL=TEST@ARBEITSWELT.CH,JVD=ARBEITSWELT.CH,O=HOSTING,DC=ABSOLUTE,DC=CH"): 10 
(1 tries)
<= dn2id 10 (in cache)
=> id2entry_r( 10 )
====> cache_find_entry_id( 
10 ) "mail=test@arbeitswelt.ch,jvd=arbeitswelt.ch,o=hosting,dc=absolute,dc=ch" 
(found) (1 tries)
<= id2entry_r( 10 ) 0x80d3868 (cache)
====> cache_return_entry_r( 10 ): returned (0)
daemon: select: listen=6 active_threads=1 tvp=NULL
ldbm_back_modify:
dn2entry_w: 
dn: "MAIL=TEST@ARBEITSWELT.CH,JVD=ARBEITSWELT.CH,O=HOSTING,DC=ABSOLUTE,DC=CH"
=> dn2id
( "MAIL=TEST@ARBEITSWELT.CH,JVD=ARBEITSWELT.CH,O=HOSTING,DC=ABSOLUTE,DC=CH" )
====> cache_find_entry_dn2id
("MAIL=TEST@ARBEITSWELT.CH,JVD=ARBEITSWELT.CH,O=HOSTING,DC=ABSOLUTE,DC=CH"): 10 
(1 tries)
<= dn2id 10 (in cache)
=> id2entry_w( 10 )
====> cache_find_entry_id( 
10 ) "mail=test@arbeitswelt.ch,jvd=arbeitswelt.ch,o=hosting,dc=absolute,dc=ch" 
(found) (1 tries)
<= id2entry_w( 10 ) 0x80d3868 (cache)
ldbm_modify_internal: 
MAIL=TEST@ARBEITSWELT.CH,JVD=ARBEITSWELT.CH,O=HOSTING,DC=ABSOLUTE,DC=CH
<= acl_access_allowed: granted to database root
ldbm_modify_internal: delete
Segmentation fault


----------------- end debug -------------------------------------
___________________
enjoy soundz.ch music services
http://listen.soundz.ch

----- End forwarded message -----



___________________
enjoy soundz.ch music services
http://listen.soundz.ch