The packages are vernila Centos 8 stream packages.

java-1.8.0-openjdk-1.8.0.265.b01-4.el8.x86_64
slf4j-1.7.25-4.module_el8.3.0+454+67dccca4.noarch

On Tue, Oct 6, 2020 at 3:51 PM Alexander Scheel <ascheel@redhat.com> wrote:
(It helps).

That's.... different?

Check out this stack trace:

Stack: [0x00007f479ec47000,0x00007f479ed47000],
sp=0x00007f479ed425d0,  free space=1005k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x818313]
LinkResolver::runtime_resolve_virtual_method(CallInfo&, methodHandle,
KlassHandle, Handle, KlassHandle, bool, Thread*)+0x83
V  [libjvm.so+0x81e466]
LinkResolver::resolve_invokevirtual(CallInfo&, Handle,
constantPoolHandle, int, Thread*)+0x496
V  [libjvm.so+0x8213c8]  LinkResolver::resolve_invoke(CallInfo&,
Handle, constantPoolHandle, int, Bytecodes::Code, Thread*)+0x2a8
V  [libjvm.so+0xa09d18]
SharedRuntime::find_callee_info_helper(JavaThread*, vframeStream&,
Bytecodes::Code&, CallInfo&, Thread*)+0x318
V  [libjvm.so+0xa0a6e6]  SharedRuntime::find_callee_info(JavaThread*,
Bytecodes::Code&, CallInfo&, Thread*)+0x1f6
V  [libjvm.so+0xa0dd16]
SharedRuntime::resolve_sub_helper(JavaThread*, bool, bool,
Thread*)+0x1a6
V  [libjvm.so+0xa0e8ce]  SharedRuntime::resolve_helper(JavaThread*,
bool, bool, Thread*)+0x4e
V  [libjvm.so+0xa0f138]  SharedRuntime::resolve_virtual_call_C(JavaThread*)+0x48
v  ~RuntimeStub::resolve_virtual_call
J 59 C1 java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object;
(300 bytes) @ 0x00007f4788001b94 [0x00007f4788001600+0x594]
J 58 C1 java.util.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
(13 bytes) @ 0x00007f478800335c [0x00007f47880030e0+0x27c]
j  java.util.HashSet.add(Ljava/lang/Object;)Z+8
j  sun.misc.Launcher$BootClassPathHolder$1.run()[Ljava/net/URL;+56
j  sun.misc.Launcher$BootClassPathHolder$1.run()Ljava/lang/Object;+1
v  ~StubRoutines::call_stub
V  [libjvm.so+0x69f855]  JavaCalls::call_helper(JavaValue*,
methodHandle*, JavaCallArguments*, Thread*)+0xc55
V  [libjvm.so+0x74a607]  JVM_DoPrivileged+0x2c7
j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0
j  sun.misc.Launcher$BootClassPathHolder.<clinit>()V+13
v  ~StubRoutines::call_stub
V  [libjvm.so+0x69f855]  JavaCalls::call_helper(JavaValue*,
methodHandle*, JavaCallArguments*, Thread*)+0xc55
V  [libjvm.so+0x65278a]
InstanceKlass::call_class_initializer_impl(instanceKlassHandle,
Thread*)+0x11a
V  [libjvm.so+0x653cfd]
InstanceKlass::initialize_impl(instanceKlassHandle, Thread*)+0x47d
V  [libjvm.so+0x654022]  InstanceKlass::initialize(Thread*)+0x82
V  [libjvm.so+0x81650b]  LinkResolver::resolve_field(fieldDescriptor&,
KlassHandle, Symbol*, Symbol*, KlassHandle, Bytecodes::Code, bool,
bool, Thread*)+0x48b
V  [libjvm.so+0x816a28]
LinkResolver::resolve_field_access(fieldDescriptor&,
constantPoolHandle, int, Bytecodes::Code, Thread*)+0x168
V  [libjvm.so+0x6907c8]
InterpreterRuntime::resolve_get_put(JavaThread*,
Bytecodes::Code)+0x248
j  sun.misc.Launcher.getBootstrapClassPath()Lsun/misc/URLClassPath;+0
j  java.lang.ClassLoader.getBootstrapClassPath()Lsun/misc/URLClassPath;+0
j  java.lang.ClassLoader.getBootstrapResources(Ljava/lang/String;)Ljava/util/Enumeration;+0
j  java.lang.ClassLoader.getResources(Ljava/lang/String;)Ljava/util/Enumeration;+32
j  java.lang.ClassLoader.getResources(Ljava/lang/String;)Ljava/util/Enumeration;+22
j  org.slf4j.LoggerFactory.findPossibleStaticLoggerBinderPathSet()Ljava/util/Set;+32
j  org.slf4j.LoggerFactory.bind()V+8
j  org.slf4j.LoggerFactory.performInitialization()V+0
j  org.slf4j.LoggerFactory.getILoggerFactory()Lorg/slf4j/ILoggerFactory;+21
j  org.slf4j.LoggerFactory.getLogger(Ljava/lang/String;)Lorg/slf4j/Logger;+0
j  org.slf4j.LoggerFactory.getLogger(Ljava/lang/Class;)Lorg/slf4j/Logger;+4
j  com.netscape.cmstools.PKCS12Export.<clinit>()V+2
v  ~StubRoutines::call_stub
V  [libjvm.so+0x69f855]  JavaCalls::call_helper(JavaValue*,
methodHandle*, JavaCallArguments*, Thread*)+0xc55
V  [libjvm.so+0x65278a]
InstanceKlass::call_class_initializer_impl(instanceKlassHandle,
Thread*)+0x11a
V  [libjvm.so+0x653cfd]
InstanceKlass::initialize_impl(instanceKlassHandle, Thread*)+0x47d
V  [libjvm.so+0x654022]  InstanceKlass::initialize(Thread*)+0x82
V  [libjvm.so+0x7108ce]  get_method_id(JNIEnv_*, _jclass*, char
const*, char const*, bool, Thread*) [clone .constprop.184]+0xbe
V  [libjvm.so+0x710b86]  jni_GetStaticMethodID+0x96
C  [libjli.so+0x38c4]  JavaMain+0x424
C  [libpthread.so.0+0x814a]  start_thread+0xea


It seems to imply HashMap.put(...) crashed, which was called when loading slf4j.

I guess the next question is, what JVM/JDK packages do you have
installed and what slf4j version?

On Tue, Oct 6, 2020 at 3:29 PM Uzor Ide <ide4you@gmail.com> wrote:
>
> I will get the trace that you requested later. I however have a dump that the process created during the replica setup process.
> I don't know if it helps in anyway.
>
> _Uz
>
> On Tue, Oct 6, 2020 at 12:31 PM Alexander Scheel <ascheel@redhat.com> wrote:
>>
>> Hi,
>>
>> I've created a NSS DB on F32 and tested with recent Dogtag PKI / JSS
>> packages and can't reproduce.
>>
>> Could you rerun PKCS12Export under gdb (modify /usr/bin/PKCS12Export
>> and change the last execution (${JAVA} ${JAVA_OPTIONS} ...) to start
>> with `gdb --args`)? This should give us a better stacktrace (press
>> "run" then press "c" to continue past the mandatory initial
>> segmentation fault caused by the JVM) and then when the program
>> crashes again, type "backtrace" for a backtrace and copy/paste here?
>> That's the easiest way to get a usable stacktrace out of this that
>> doesn't require us being able to fully reproduce your environment.
>>
>>
>> -- Alex
>>
>> On Tue, Oct 6, 2020 at 2:15 PM Uzor Ide via FreeIPA-users
>> <freeipa-users@lists.fedorahosted.org> wrote:
>> >
>> > Hi All,
>> >
>> > I have a curious issue where ipa-replica-install fails or rather crashes just as it is about for complete.
>> > Both the master and the replica are Centos 8 Stream. I have also tested a replica on fedora 32 with the same result.
>> > Just after ipa-custodia setup is complete I get the following error
>> >
>> > ERROR CalledProcessError(Command ['/usr/bin/PKCS12Export', '-d', '/tmp/tmpdysxuo2a', '-p', '/tmp/tmpdysxuo2a/pwdfile.txt', '-w', '/tmp/tmpdysxuo2a/crtpwfile', '-o', '/tmp/tmpii01v5iyipa/cacert.p12'] returned non-zero exit status 134: '/usr/bin/PKCS12Export: line 94:  9156 Aborted                 (core dumped) ${JAVA} ${JAVA_OPTIONS} -cp "${PKI_LIB}/*" -Djava.util.logging.config.file=${PKI_LOGGING_CONFIG} com.netscape.cmstools.${COMMAND} "$@"\n')
>> > 2020-10-06T03:32:12Z ERROR The ipa-replica-install command
>> > failed. See /var/log/ipareplica-install.log for more information
>> >
>> > From replica-install-log, It appears that is trying to export some certificates
>> >
>> > 2020-10-06T03:32:09Z DEBUG Starting external process
>> > 2020-10-06T03:32:09Z DEBUG args=['/usr/bin/PKCS12Export', '-d', '/tmp/tmpdysxuo2a', '-p', '/tmp/tmpdysxuo2a/pwdfile.txt', '-w', '/tmp/tmpdysxuo2a/crtpwfile', '-o', '/tmp/tmpii01v5iyipa/cacert.p12']
>> > 2020-10-06T03:32:12Z DEBUG Process finished, return code=134
>> > 2020-10-06T03:32:12Z DEBUG stdout=#
>> > # A fatal error has been detected by the Java Runtime Environment:
>> > #
>> > #  SIGSEGV (0xb) at pc=0x00007f479d6ce313, pid=9156, tid=0x00007f479ed46700
>> > #
>> > # JRE version: OpenJDK Runtime Environment (8.0_265-b01) (build 1.8.0_265-b01)
>> > # Java VM: OpenJDK 64-Bit Server VM (25.265-b01 mixed mode linux-amd64 compressed oops)
>> > # Problematic frame:
>> > # V  [libjvm.so+0x818313]  LinkResolver::runtime_resolve_virtual_method(CallInfo&, methodHandle, KlassHandle, Handle, KlassHandle, bool, Thread*)+0x83
>> > #
>> > # Core dump written. Default location: /root/core or core.9156
>> > #
>> > # An error report file with more information is saved as:
>> > # /root/hs_err_pid9156.log
>> > #
>> > # If you would like to submit a bug report, please visit:
>> > #   http://bugreport.java.com/bugreport/crash.jsp
>> > #
>> >
>> > 2020-10-06T03:32:12Z DEBUG stderr=/usr/bin/PKCS12Export: line 94:  9156 Aborted                 (core dumped) ${JAVA} ${JAVA_OPTIONS} -cp "${PKI_LIB}/*" -Djava.util.logging.config.file=${PKI_LOGGING_CONFIG} com.netscape.cmstools.${COMMAND} "$@"
>> >
>> > 2020-10-06T03:32:12Z DEBUG   File "/usr/lib/python3.6/site-packages/ipapython/admintool.py", line 179, in execute
>> >     return_value = self.run()
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/cli.py", line 340, in run
>> >     return cfgr.run()
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 360, in run
>> >     return self.execute()
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 386, in execute
>> >     for rval in self._executor():
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 431, in __runner
>> >     exc_handler(exc_info)
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 460, in _handle_execute_exception
>> >     self._handle_exception(exc_info)
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 450, in _handle_exception
>> >     six.reraise(*exc_info)
>> >   File "/usr/lib/python3.6/site-packages/six.py", line 693, in reraise
>> >     raise value
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 421, in __runner
>> >     step()
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 418, in <lambda>
>> >     step = lambda: next(self.__gen)
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/util.py", line 81, in run_generator_with_yield_from
>> >     six.reraise(*exc_info)
>> >   File "/usr/lib/python3.6/site-packages/six.py", line 693, in reraise
>> >     raise value
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/util.py", line 59, in run_generator_with_yield_from
>> >     value = gen.send(prev_value)
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 655, in _configure
>> >     next(executor)
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 431, in __runner
>> >     exc_handler(exc_info)
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 460, in _handle_execute_exception
>> >     self._handle_exception(exc_info)
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 518, in _handle_exception
>> >     self.__parent._handle_exception(exc_info)
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 450, in _handle_exception
>> >     six.reraise(*exc_info)
>> >   File "/usr/lib/python3.6/site-packages/six.py", line 693, in reraise
>> >     raise value
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 515, in _handle_exception
>> >     super(ComponentBase, self)._handle_exception(exc_info)
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 450, in _handle_exception
>> >     six.reraise(*exc_info)
>> >   File "/usr/lib/python3.6/site-packages/six.py", line 693, in reraise
>> >     raise value
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 421, in __runner
>> >     step()
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/core.py", line 418, in <lambda>
>> >     step = lambda: next(self.__gen)
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/util.py", line 81, in run_generator_with_yield_from
>> >     six.reraise(*exc_info)
>> >   File "/usr/lib/python3.6/site-packages/six.py", line 693, in reraise
>> >     raise value
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/util.py", line 59, in run_generator_with_yield_from
>> >     value = gen.send(prev_value)
>> >   File "/usr/lib/python3.6/site-packages/ipapython/install/common.py", line 65, in _install
>> >     for unused in self._installer(self.parent):
>> >   File "/usr/lib/python3.6/site-packages/ipaserver/install/server/__init__.py", line 602, in main
>> >     replica_install(self)
>> >   File "/usr/lib/python3.6/site-packages/ipaserver/install/server/replicainstall.py", line 402, in decorated
>> >     func(installer)
>> >   File "/usr/lib/python3.6/site-packages/ipaserver/install/server/replicainstall.py", line 1318, in install
>> >     ca.install(False, config, options, custodia=custodia)
>> >   File "/usr/lib/python3.6/site-packages/ipaserver/install/ca.py", line 270, in install
>> >     install_step_0(standalone, replica_config, options, custodia=custodia)
>> >   File "/usr/lib/python3.6/site-packages/ipaserver/install/ca.py", line 308, in install_step_0
>> >     replica_config.dirman_password)
>> >   File "/usr/lib/python3.6/site-packages/ipaserver/install/custodiainstance.py", line 305, in get_ca_keys
>> >     self._get_keys(cacerts_file, cacerts_pwd, data)
>> >   File "/usr/lib/python3.6/site-packages/ipaserver/install/custodiainstance.py", line 295, in _get_keys
>> >     '-o', cacerts_file
>> >   File "/usr/lib/python3.6/site-packages/ipapython/ipautil.py", line 598, in run
>> >     p.returncode, arg_string, output_log, error_log
>> >
>> > 2020-10-06T03:32:12Z DEBUG The ipa-replica-install command failed, exception: CalledProcessError: CalledProcessError(Command ['/usr/bin/PKCS12Export', '-d', '/tmp/tmpdysxuo2a', '-p', '/tmp/tmpdysxuo2a/pwdfile.txt', '-w', '/tmp/tmpdysxuo2a/crtpwfile', '-o', '/tmp/tmpii01v5iyipa/cacert.p12'] returned non-zero exit status 134: '/usr/bin/PKCS12Export: line 94:  9156 Aborted                 (core dumped) ${JAVA} ${JAVA_OPTIONS} -cp "${PKI_LIB}/*" -Djava.util.logging.config.file=${PKI_LOGGING_CONFIG} com.netscape.cmstools.${COMMAND} "$@"\n')
>> >
>> > It also core dumps
>> >
>> > Master/Replica IPA Packages
>> > =================
>> > ipa-healthcheck-core-0.4-6.module_el8.3.0+482+9e103aab.noarch
>> > ipa-server-trust-ad-4.8.7-12.module_el8.3.0+511+8a502f20.x86_64
>> > libipa_hbac-2.3.0-9.el8.x86_64
>> > python3-ipalib-4.8.7-12.module_el8.3.0+511+8a502f20.noarch
>> > python3-ipaserver-4.8.7-12.module_el8.3.0+511+8a502f20.noarch
>> > ipa-client-common-4.8.7-12.module_el8.3.0+511+8a502f20.noarch
>> > ipa-selinux-4.8.7-12.module_el8.3.0+511+8a502f20.noarch
>> > ipa-client-4.8.7-12.module_el8.3.0+511+8a502f20.x86_64
>> > ipa-server-dns-4.8.7-12.module_el8.3.0+511+8a502f20.noarch
>> > ipa-common-4.8.7-12.module_el8.3.0+511+8a502f20.noarch
>> > ipa-server-common-4.8.7-12.module_el8.3.0+511+8a502f20.noarch
>> > python3-ipaclient-4.8.7-12.module_el8.3.0+511+8a502f20.noarch
>> > ipa-server-4.8.7-12.module_el8.3.0+511+8a502f20.x86_64
>> > python3-libipa_hbac-2.3.0-9.el8.x86_64.
>> >
>> >
>> > _______________________________________________
>> > FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
>> > To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org
>> > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>> > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>> > List Archives: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org
>>