Bug 2229222
| Summary: | ns-slapd crash in concread::internals::hashmap::cursor::CursorReadOps::search | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Viktor Ashirov <vashirov> |
| Component: | 389-ds-base | Assignee: | LDAP Maintainers <idm-ds-dev-bugs> |
| Status: | NEW --- | QA Contact: | LDAP QA Team <idm-ds-qe-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9.3 | CC: | idm-ds-dev-bugs |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2209174 | ||
Description of problem: ns-slapd crashes during setup phase of tests/suites/plugins/accpol_test.py::test_lastlogin_history_size_zero: #0 concread::internals::hashmap::node::Meta::is_leaf () at /usr/src/debug/389-ds-base-2.3.4-3.el9.x86_64/vendor/concread/src/internals/hashmap/node.rs:487 #1 concread::internals::hashmap::node::Node<alloc::ffi::c_str::CString, concread::arcache::CacheItem<alloc::ffi::c_str::CString, alloc::ffi::c_str::CString>>::is_leaf<alloc::ffi::c_str::CString, concread::arcache::CacheItem<alloc::ffi::c_str::CString, alloc::ffi::c_str::CString>> () at /usr/src/debug/389-ds-base-2.3.4-3.el9.x86_64/vendor/concread/src/internals/hashmap/node.rs:265 #2 concread::internals::hashmap::cursor::CursorReadOps::search<concread::internals::hashmap::cursor::CursorRead<alloc::ffi::c_str::CString, concread::arcache::CacheItem<alloc::ffi::c_str::CString, alloc::ffi::c_str::CString>>, alloc::ffi::c_str::CString, concread::arcache::CacheItem<alloc::ffi::c_str::CString, alloc::ffi::c_str::CString>, alloc::ffi::c_str::CString> (self=<optimized out>, h=9912299523374171895, k=0x7ff56d3f7f78) at /usr/src/debug/389-ds-base-2.3.4-3.el9.x86_64/vendor/concread/src/internals/hashmap/cursor.rs:188 #3 0x00007ff60288591a in concread::hashmap::HashMapReadTxn<alloc::ffi::c_str::CString, concread::arcache::CacheItem<alloc::ffi::c_str::CString, alloc::ffi::c_str::CString>>::get_prehashed<alloc::ffi::c_str::CString, concread::arcache::CacheItem<alloc::ffi::c_str::CString, alloc::ffi::c_str::CString>, alloc::ffi::c_str::CString> (self=0x7ff568c17110, k=0x7ff56d3f7f78, k_hash=9912299523374171895) at /usr/src/debug/389-ds-base-2.3.4-3.el9.x86_64/vendor/concread/src/hashmap/impl.rs:252 #4 concread::arcache::{impl#12}::get::{closure#1}<alloc::ffi::c_str::CString, alloc::ffi::c_str::CString, alloc::ffi::c_str::CString> () at /usr/src/debug/389-ds-base-2.3.4-3.el9.x86_64/vendor/concread/src/arcache/mod.rs:1826 #5 core::option::Option<&alloc::ffi::c_str::CString>::or_else<&alloc::ffi::c_str::CString, concread::arcache::{impl#12}::get::{closure_env#1}<alloc::ffi::c_str::CString, alloc::ffi::c_str::CString, alloc::ffi::c_str::CString>> (self=<error reading variable: Cannot access memory at address 0x0>, f=...) at /builddir/build/BUILD/rustc-1.69.0-src/library/core/src/option.rs:1539 #6 concread::arcache::ARCacheReadTxn<alloc::ffi::c_str::CString, alloc::ffi::c_str::CString>::get<alloc::ffi::c_str::CString, alloc::ffi::c_str::CString, alloc::ffi::c_str::CString> (self=0x7ff568c170c0, k=0x7ff56d3f7f78) at /usr/src/debug/389-ds-base-2.3.4-3.el9.x86_64/vendor/concread/src/arcache/mod.rs:1804 #7 0x00007ff6027a62da in rslapd::cache::cache_char_read_get (read_txn=read_txn@entry=0x7ff568c170c0, key=key@entry=0x7ff568c1b490) at librslapd/src/cache.rs:111 #8 0x00007ff602706a5b in ndn_cache_lookup (rc=<synthetic pointer>, udn=0x7ff56d3f8020, ndn=0x7ff56d3f81c8, dn_len=<optimized out>, dn=0x7ff568c1b490 "cn=monitor") at ldap/servers/slapd/dn.c:2946 #9 slapi_dn_normalize_ext (src=0x7ff568c1b490 "cn=monitor", src_len=<optimized out>, src_len@entry=0, dest=dest@entry=0x7ff56d3f81c8, dest_len=dest_len@entry=0x7ff56d3f81d0) at ldap/servers/slapd/dn.c:546 #10 0x00007ff602709764 in slapi_sdn_get_dn (sdn=0x7ff56d3f8390) at ldap/servers/slapd/dn.c:2335 #11 slapi_sdn_get_dn (sdn=sdn@entry=0x7ff56d3f8390) at ldap/servers/slapd/dn.c:2321 #12 0x00007ff6027099a8 in slapi_sdn_get_ndn (sdn=0x7ff56d3f8390) at ldap/servers/slapd/dn.c:2369 #13 slapi_sdn_get_ndn (sdn=sdn@entry=0x7ff56d3f8390) at ldap/servers/slapd/dn.c:2360 #14 0x00007ff602709aa2 in slapi_sdn_issuffix (sdn=0x7ff566e00f60, suffixsdn=0x7ff56d3f8390) at ldap/servers/slapd/dn.c:2527 #15 0x00007ff60274f531 in op_shared_search (pb=pb@entry=0x7ff568c00000, send_result=send_result@entry=1) at ldap/servers/slapd/opshared.c:771 #16 0x000056237a1d34cc in do_search (pb=<optimized out>) at ldap/servers/slapd/search.c:410 #17 0x000056237a1c2398 in connection_dispatch_operation (pb=0x7ff568c00000, op=<optimized out>, conn=<optimized out>) at ldap/servers/slapd/connection.c:677 #18 connection_threadmain (arg=<optimized out>) at ldap/servers/slapd/connection.c:1805 #19 0x00007ff60244ac34 in _pt_root (arg=0x7ff5fd019140) at pthreads/../../../../nspr/pr/src/pthreads/ptthread.c:201 #20 0x00007ff60229f822 in start_thread (arg=<optimized out>) at pthread_create.c:443 #21 0x00007ff60223f450 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 Version-Release number of selected component (if applicable): 389-ds-base-2.3.4-3.el9.x86_64 How reproducible: always Steps to Reproduce: 1. Run tests/suites/plugins/accpol_test.py Actual results: ns-slapd crashes. Expected results: No crash. Additional info: