#48160 crash in uid uniqueness plugin
Closed: wontfix None Opened 8 years ago by mreynolds.

#0  0x00007f0b62309411 in search_one_berval (baseDN=0x2c94d60, attrNames=0x2c413b0, value=0x7f0ad009c6b0, requiredObjectClass=0x0, target=0x7f0ad012c420) at ../ds/ldap/servers/plugins/uiduniq/uid.c:685
685       for(;*entries;entries++)
Missing separate debuginfos, use: debuginfo-install 389-ds-base-1.3.3.8-1.fc21.x86_64

(gdb) p entries
$1 = (Slapi_Entry **) 0x0

(gdb) where
#0  0x00007f0b62309411 in search_one_berval (baseDN=0x2c94d60, attrNames=0x2c413b0, value=0x7f0ad009c6b0, requiredObjectClass=0x0, target=0x7f0ad012c420) at ../ds/ldap/servers/plugins/uiduniq/uid.c:685
#1  0x00007f0b6230918a in search (baseDN=0x2c94d60, attrNames=0x2c413b0, attr=0x7f0ad0077200, values=0x0, requiredObjectClass=0x0, target=0x7f0ad012c420) at ../ds/ldap/servers/plugins/uiduniq/uid.c:605
#2  0x00007f0b6230957e in searchAllSubtrees (subtrees=0x2c976a0, attrNames=0x2c413b0, attr=0x7f0ad0077200, values=0x0, requiredObjectClass=0x0, dn=0x7f0ad012c420, unique_in_all_subtrees=1) at ../ds/ldap/servers/plugins/uiduniq/uid.c:778
#3  0x00007f0b62309afc in preop_add (pb=0x7f0b3c7e7b50) at ../ds/ldap/servers/plugins/uiduniq/uid.c:1002
#4  0x00007f0b6ab978e1 in plugin_call_func (list=0x2843af0, operation=407, pb=0x7f0b3c7e7b50, call_one=0) at ../ds/ldap/servers/slapd/plugin.c:1949
#5  0x00007f0b6ab97742 in plugin_call_list (list=0x288a390, operation=407, pb=0x7f0b3c7e7b50) at ../ds/ldap/servers/slapd/plugin.c:1893
#6  0x00007f0b6ab945a9 in plugin_call_plugins (pb=0x7f0b3c7e7b50, whichfunction=407) at ../ds/ldap/servers/slapd/plugin.c:467
#7  0x00007f0b6ab28bb1 in op_shared_add (pb=0x7f0b3c7e7b50) at ../ds/ldap/servers/slapd/add.c:721
#8  0x00007f0b6ab27bc8 in do_add (pb=0x7f0b3c7e7b50) at ../ds/ldap/servers/slapd/add.c:258
#9  0x00000000004163ed in connection_dispatch_operation (conn=0x7f0b58459fa0, op=0x2d5ccd0, pb=0x7f0b3c7e7b50) at ../ds/ldap/servers/slapd/connection.c:645
#10 0x00000000004183bd in connection_threadmain () at ../ds/ldap/servers/slapd/connection.c:2534
#11 0x00007f0b68f66cab in _pt_root () from /lib64/libnspr4.so
#12 0x00007f0b6890752a in start_thread () from /lib64/libpthread.so.0
#13 0x00007f0b6864377d in clone () from /lib64/libc.so.6

This crash is triggered by testing dynamic plugins with the FreeIPA install. Currently unable to reproduce this outside of IPA, but the fix is obvious.


This crashed appears to be caused by ticket 48167 which does invalid writes and corrupts memory. Closing this ticket.

Metadata Update from @mreynolds:
- Issue assigned to mreynolds
- Issue set to the milestone: 1.3.3.10

7 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/1491

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Duplicate)

3 years ago

Login to comment on this ticket.

Metadata