[omniORB] SIGSEGV on deffered request.
Vasily Tchekalkin
bacek@yandex-team.ru
Wed Nov 6 12:14:01 2002
This is a cryptographically signed message in MIME format.
--------------ms000706010606000805060103
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Hello.
I developing project based on omniORB 4. In this project heavily used
CORBA deffered request. And under high load I've got SIGSEGV in
omni::omni_RequestImpl_callDesc::marshalArguments.
Backtrace is:
(gdb) bt
#0 0x41000050 in ?? ()
#1 0x408a8088 in omni::omni_RequestImpl_callDesc::marshalArguments (
this=0xb43ff9ac, s=@0x82bb354) at request.cc:368
#2 0x406fb6ef in omni::GIOP_C::InitialiseRequest (this=0x82bb350)
at GIOP_C.cc:143
#3 0x406d9e24 in omniRemoteIdentity::dispatch (this=0x82c47a8,
call_desc=@0xb43ff9ac) at remoteIdentity.cc:169
#4 0x406b9823 in omniObjRef::_invoke (this=0x82c4a30,
call_desc=@0xb43ff9ac,
do_assert=true) at omniObjRef.cc:717
#5 0x408a6abe in omni::RequestImpl::deferred_invoke (this=0x410c6e98)
at request.cc:428
#6 0x4085283b in omni::DeferredRequest::execute (this=0x41080bf0)
at deferredRequest.cc:66
#7 0x406a0c3d in omniAsyncWorkerInfo::run (this=0xb43ffaa8) at
invoker.cc:182
#8 0x406a19c2 in omniAsyncWorker::run (this=0x82e9d18) at invoker.cc:133
#9 0x409b2c1f in omni_thread_wrapper (ptr=0x82e9d18) at posix.cc:423
#10 0x40025fa5 in pthread_start_thread () from /lib/libpthread.so.0
#11 0x40025fed in pthread_start_thread_event () from /lib/libpthread.so.0
(gdb) l
363 _CORBA_Boolean oneway,
364 RequestImpl& impl) :
365 omniCallDescriptor(0,op,oplen,oneway,0,0,0), pd_impl(impl) {}
366
367 void marshalArguments(cdrStream& s) {
368 pd_impl.marshalArgs(s);
369 }
370
371 void unmarshalReturnedValues(cdrStream& s) {
372 pd_impl.unmarshalResults(s);
(gdb) p *this
$19 = {<omniCallDescriptor> = {pd_localCall = 0, pd_is_oneway = 73,
pd_op = 0x410b40e8 "H", pd_oplen = 1090519128, pd_user_excns = 0x10,
pd_n_user_excns = 56, pd_is_upcall = false, pd_first_address_used =
0x3,
pd_current_address = 0x40543580, pd_current = 0x0, pd_current_next
= 0x0,
pd_objref = 0x41000720, pd_poa = 0x0, pd_localId = 0x0,
pd_deadline_secs = 0, pd_deadline_nanosecs = 0, _vptr. = 0x41136c30},
pd_impl = @0x0}
As show occure null pointer deref on uninitialized pd_impl.
Any suggestions?
--
Vasily Tchekalkin.
Bacek@yandex-team.ru
Yandex development team.
--------------ms000706010606000805060103
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIqjCC
ArMwggIcoAMCAQICAwZKNzANBgkqhkiG9w0BAQIFADCBkjELMAkGA1UEBhMCWkExFTATBgNV
BAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUx
HTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVl
bWFpbCBSU0EgMjAwMC44LjMwMB4XDTAxMTIxMTA0MjUwM1oXDTAyMTIxMTA0MjUwM1owZjEf
MB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEjMCEGCSqGSIb3DQEJARYUQmFjZWtA
eWFuZGV4LXRlYW0ucnUxHjAcBgkqhkiG9w0BCQEWD0JhY2VrQHlhbmRleC5ydTCBnzANBgkq
hkiG9w0BAQEFAAOBjQAwgYkCgYEAqg/h5SeQlYHbBIUSIksaZlLjIbTDywdT/F1wQOPWusD/
bo42qejNrptnQTpHeT2aEqs9zHfHZPMEmAXQJBwIngHc5qeobg9wwyI0y4P4AjDcfZpCly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