Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash in uid uniqueness plugin #1491

Closed
389-ds-bot opened this issue Sep 12, 2020 · 2 comments
Closed

crash in uid uniqueness plugin #1491

389-ds-bot opened this issue Sep 12, 2020 · 2 comments
Labels
closed: duplicate Migration flag - Issue
Milestone

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/48160


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.

@389-ds-bot 389-ds-bot added the closed: duplicate Migration flag - Issue label Sep 12, 2020
@389-ds-bot 389-ds-bot added this to the 1.3.3.10 milestone Sep 12, 2020
@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2015-04-27 21:09:17

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

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2017-02-11 22:48:51

Metadata Update from @mreynolds389:

  • Issue assigned to mreynolds389
  • Issue set to the milestone: 1.3.3.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: duplicate Migration flag - Issue
Projects
None yet
Development

No branches or pull requests

1 participant