[omniORB] omniORB 4.3.0 C++ - SegFault in omni::sslConnection::Send/SSL_write

Nico Lochner lochner at ixus.de
Fri Apr 22 13:27:20 UTC 2022


Hello,

since I switched to the official 4.3.0-Release of omniORB C++ I encounter
SegFault's every once in a while :-( It's happening here:

Stack-Trace:
[...]
#4  0x00007fe887a1a0d3 in SSL_write ()
   from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
#5  0x00007fe8880471f0 in omni::sslConnection::Send(void*, unsigned long,
omni_time_t const&) ()
   from /opt/GIS/lib/System/libomnisslTP4.so.3
#6  0x00007fe8884f89b9 in
omni::giopStream::sendChunk(omni::giopStream_Buffer*)
[...]

Code-Snippet:
int sslConnection::Send(void* buf, size_t sz, const omni_time_t& deadline)
    [...]
    tx = SSL_write(pd_ssl,buf,sz);
    [...]

I assume, the Pointer "pd_ssl" references an invalid address, probably it
has already been destroyed at some other place.

I'm using Bi-Directional SSL-Connection, nativeWCharCodeSet UTF16, Cos
NameService (just for bootstrapping) and Callbacks. Environment is: Debian
Linux 11, Kernel 5.10.0-13-amd64.

I've used 4.3.0 BETA_1 for many years without any problems and this issue
did never come up. Therefore my questions:

* Are there any major changes between BETA_1 and final Release?
* An article from 2015 (
https://www.omniorb-support.com/pipermail/omniorb-list/2015-December/031812.html
)
  seems to describe a similar problem related to BiDir, are there any known
issues still open?

Any hints or help would be greatly appreciated!

Nico.

----------------------------------------
 Nico Lochner           lochner at ixus.de
 iXus Technologiedienstleistungen  GmbH
 Potsdamer Str. 86,        10785 Berlin
www.ixus.de       Tel: 030-240 84 68-0
----------------------------------------
SteuerNr. 30/360/33081 UstID DE202620190
Handelsregister:               HRB 72303
beim Amtsgericht Berlin-Charlottenburg
Sitz der Gesellschaft:          Berlin
 vertreten durch die Geschaeftsfuehrer
    Nico Lochner, Sascha Wuerzburg
----------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.omniorb-support.com/pipermail/omniorb-list/attachments/20220422/72ba403b/attachment.html>


More information about the omniORB-list mailing list