[omniORB] Segfault from libomniOrb
Krishnamohan, Srivathsan
Srivathsan.Krishnamohan at kla.com
Mon Mar 24 19:20:45 UTC 2025
Hi All,
We have a c++ server application which uses libOmniOrb 4.2.3 . When our application goes down, we see Segfault (signal 11) with the following stack trace:
0 0x000000000009e496 in ?? ()
#1 0x00007fe11cd8e1ca in std::char_traits<char>::length (__s=0x168b1d7 "Child_SIGNAL_HANDLER method called : Signal Number :: ")
at /home/user/install/gcc-9.2.0/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/char_traits.h:335
#2 std::operator<< <std::char_traits<char> > (__out=..., __s=0x168b1d7 "Child_SIGNAL_HANDLER method called : Signal Number :: ")
at /home/user/install/gcc-9.2.0/x86_64-pc-linux-gnu/libstdc++-v3/include/ostream:571
#3 0x00000000010c0385 in Child_SIGNAL_HANDLER (signum=11) at Util.cpp:1194
#4 <signal handler called>
#5 0x00007fe124f1a907 in omni::giopStream::inputMessage() () from /home/user/libs_gcc92/libomniORB4.so.2
#6 0x00007fe124f2fe53 in omni::giopImpl12::inputNewServerMessage(omni::giopStream*) () from /home/user/libs_gcc92/libomniORB4.so.2
#7 0x00007fe124f30d38 in omni::giopImpl12::inputMessageBegin(omni::giopStream*, void (*)(omni::giopStream*)) ()
It looks like a segfault in libomniORB4 is leading to application crash. Any pointers on how to further troubleshoot this?
1. This issue is only happening when running on Linux VM. No issue seen when running on native Linux server.
2. There is enough free memory on the VM
3. Issue is intermittent with no patterns or no known failure modes to trigger it.
4. /var/log/messages has messages such as:
* 2025-03-19T09:20:18.140042-07:00 CodedUI26 kernel: [854690.059214] ServerApp[26286]: segfault at 9e496 ip 000000000009e496 sp 00007fff9eed9e78 error 14 in ServerApp_6.2.008.0.1C2[400000+c0a000]
2025-03-19T09:20:18.340068-07:00 CodedUI26 kernel: [854690.260085] ServerApp2_6.2.[31338]: segfault at 9e496 ip 000000000009e496 sp 00007ffc11cad678 error 14 in ServerApp2_6.2.008.0.2C1[400000+1552000]
2025-03-19T09:20:18.432602-07:00 CodedUI26 systemd-coredump[15390]: Process 1041 (ServerApp2_6.2.) of user 1000 dumped core.
5. There are multiple server apps which use the libomniOrb from same location and hence all of them crash at the same.
Thanks
Srivaths
CONFIDENTIALITY NOTICE: This email transmission, and any documents, files or previous email messages attached to it, may contain confidential information. If you are not the intended recipient or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this message is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately destroy the original transmission and its attachments without reading them or saving them to disk. Email communications may be monitored by KLA as permitted by applicable law and regulations. For more information, read our Privacy Policy at www.kla.com/privacy-policy.<http://www.kla.com/privacy-policy> Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.omniorb-support.com/pipermail/omniorb-list/attachments/20250324/86b7bc21/attachment.htm>
More information about the omniORB-list
mailing list