<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">Thank you for the tip.</div>
<div class=""><br class="">
</div>
<div class="">I replaced the Debian 1.1.1d with 1.1.1.k built from source using ./config -d</div>
<div class="">Using file on the libcrypto.so.1.1 library now shows "<span style="caret-color: rgb(88, 86, 214); color: rgb(88, 86, 214);" class="">with debug_info, not stripped</span>".</div>
<font color="#5856d6" class=""><span style="caret-color: rgb(88, 86, 214);" class="">ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=29204b7f7a988f750cdc94e14be6ad9526c563ef, with debug_info, not stripped<br class="">
</span></font><br class="">
<div class="">Also I recompiled the libscep library with my changes to include the debug symbols as well and installed it into the lib directory.<font color="#5856d6" class=""><span style="caret-color: rgb(88, 86, 214);" class=""><br class="">
</span></font>
<div class="">I rebuilt the library cache using ldconfig and rebooted the OS just to be sure.</div>
<div class=""><br class="">
</div>
<div class="">There is no difference in the trace output. Maybe because this is because it is reported by the kernel in the kern.log not the code which made it happen?</div>
<div class=""><br class="">
</div>
<div class="">However I managed to crash one of the libscep tests in very similiar way. I am not sure if its 100% the same problem but it could be.</div>
<div class="">Here is a trace obtained via coredumpctl:</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""></div>
</div>
<blockquote type="cite" class="">
<div class="">
<div class="">  PID: 3450 (test_message)</div>
<div class="">           UID: 0 (root)</div>
<div class="">           GID: 0 (root)</div>
<div class="">        Signal: 11 (SEGV)</div>
<div class="">     Timestamp: Thu 2021-04-15 15:40:28 CEST (4min 59s ago)</div>
<div class="">  Command Line: /root/libscep/build/tests/test_message</div>
<div class="">    Executable: /root/libscep/build/tests/test_message</div>
<div class=""> Control Group: /user.slice/user-998.slice/session-3.scope</div>
<div class="">          Unit: session-3.scope</div>
<div class="">         Slice: user-998.slice</div>
<div class="">       Session: 3</div>
<div class="">     Owner UID: 998 (testuser)</div>
<div class="">       Boot ID: 5867d606efa040f4acb4cf059c5349a2</div>
<div class="">    Machine ID: 5678312713094967b594b42360c03298</div>
<div class="">      Hostname: scepdev</div>
<div class="">       Storage: /var/lib/systemd/coredump/core.test_message.0.5867d606efa040f4acb4cf059c5349a2.3450.1618494028000000.</div>
<div class="">       Message: Process 3450 (test_message) of user 0 dumped core.</div>
<div class="">                </div>
<div class="">                Stack trace of thread 3450:</div>
<div class="">                #0  0x00007efd1ec4cd70 CMS_get0_type (libcrypto.so.1.1)</div>
<div class="">                #1  0x00007efd1ec51a45 CMS_decrypt (libcrypto.so.1.1)</div>
<div class="">                #2  0x00007efd1f1ef195 n/a (/root/libscep/build/src/libscep.so)</div>
<div class="">                #3  0x00007efd1f1f26d7 n/a (/root/libscep/build/src/libscep.so)</div>
<div class="">                #4  0x00007efd1f1f1c09 n/a (/root/libscep/build/src/libscep.so)</div>
<div class="">                #5  0x0000555c6c96ab31 n/a (/root/libscep/build/tests/test_message)</div>
<div class="">                #6  0x0000555c6c96fcc6 n/a (/root/libscep/build/tests/test_message)</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
<div class="">I </div>
<div class=""><br class="">
</div>
<div class="">MM</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">
<div text="#000000" bgcolor="#FFFFFF" class=""><tt class="">Try linking libcrypto.so.1.1 with debug symbols included (not
<br class="">
stripped).  This should make the error message point to the <br class="">
function, maybe even show the call stack.</tt><tt class=""><br class="">
</tt></div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</body>
</html>