Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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:
Comment 2RHEL Program Management
2023-09-19 14:18:17 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.
Comment 3RHEL Program Management
2023-09-19 14:45:08 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.
Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.
To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:
"Bugzilla Bug" = 1234567
In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.
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: