Bug 1790984

Summary: Crash on startup: Bus error in __env_faultmem.isra.1.part.2
Product: Red Hat Enterprise Linux 8 Reporter: mreynolds
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: urgent Docs Contact:
Priority: medium    
Version: 8.2CC: ds-qe-bugs, lkrispen, minfrin, nkinder, pasik, spichugi, tbordaz, vashirov
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.4.2.4-7.module+el8.2.0+5670+0b8b1c2e Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1790982 Environment:
Last Closed: 2020-04-28 16:01:40 UTC 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: 1787921, 1790982    
Bug Blocks:    

Comment 2 Viktor Ashirov 2020-01-22 21:32:11 UTC
Build 389-ds-base-1.4.2.4-6 fails with 

==6974==WARNING: AddressSanitizer failed to allocate 0x3040000ecdd08 bytes
==6974==AddressSanitizer's allocator is terminating the process instead of returning 0
==6974==If you don't like this behavior set allocator_may_return_null=1
==6974==AddressSanitizer CHECK failed: ../../../../libsanitizer/sanitizer_common/sanitizer_allocator.cc:216 "((0)) != (0)" (0x0, 0x0)
    #0 0x7f139130f1f6  (/lib64/libasan.so.5+0xfb1f6)
    #1 0x7f139132c55d in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/lib64/libasan.so.5+0x11855d)
    #2 0x7f13913152fc  (/lib64/libasan.so.5+0x1012fc)
    #3 0x7f1391315347  (/lib64/libasan.so.5+0x101347)
    #4 0x7f139123d575  (/lib64/libasan.so.5+0x29575)
    #5 0x7f139123bf6a  (/lib64/libasan.so.5+0x27f6a)
    #6 0x7f1391303b3e in __interceptor_malloc (/lib64/libasan.so.5+0xefb3e)
    #7 0x7f138d8049bf in __glob_lstat_compat (/lib64/libc.so.6+0x1659bf)
    #8 0x7f13912750b1 in glob (/lib64/libasan.so.5+0x610b1)
    #9 0x7f137e85ea8e in bdb_start (/usr/lib64/dirsrv/plugins/libback-ldbm.so+0x140a8e)
    #10 0x7f137e82bf6b in ldbm_back_start (/usr/lib64/dirsrv/plugins/libback-ldbm.so+0x10df6b)
    #11 0x7f1390e5e983  (/usr/lib64/dirsrv/libslapd.so.0+0x1bb983)
    #12 0x7f1390e65563 in plugin_startall (/usr/lib64/dirsrv/libslapd.so.0+0x1c2563)
    #13 0x55bac4637d8e  (/usr/sbin/ns-slapd+0x2dd8e)
    #14 0x7f138d6c26a2 in __libc_start_main (/lib64/libc.so.6+0x236a2)
    #15 0x55bac463a06d  (/usr/sbin/ns-slapd+0x3006d)

Looks like the build is missing https://pagure.io/389-ds-base/c/cf849cc

Moving to ASSIGNED.

Comment 3 Viktor Ashirov 2020-02-07 11:14:55 UTC
Fix is pushed upstream https://pagure.io/389-ds-base/c/b747be067caf79615ecf5fa62dae2fc58be4e5cd?branch=389-ds-base-1.4.2
Moving to POST.

Comment 5 Viktor Ashirov 2020-02-24 12:31:11 UTC
Build tested: 389-ds-base-1.4.2.4-7.module+el8.2.0+5670+0b8b1c2e (rebuild with ASAN)

Server doesn't crash, no ASAN error is produced. Marking as VERIFIED.

Comment 6 Viktor Ashirov 2020-03-03 11:56:45 UTC
*** Bug 1790982 has been marked as a duplicate of this bug. ***

Comment 8 errata-xmlrpc 2020-04-28 16:01:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1703