rticonnextdds-connector-py icon indicating copy to clipboard operation
rticonnextdds-connector-py copied to clipboard

Mx02:/rti/jenkins/workspace/connextdds/release6.1.1.0/x64Linux2.6gcc4.4.5/src/osapi.1.0/srcC/thread/Thread.c:3630:RTI0x2000005:Received signal SIGSEGV

Open hongbo-miao opened this issue 3 years ago • 1 comments

We have a library checking RTI status. However, if use the library directly as CLI, there is no issue, as long as we import it, our server crashes with the error:

Backtrace:
	#4	RTIOsapiThread_onSigsegvHandler Thread.c:? [0x11372C]
	#5	killpg ??:? [0x46210]
	#6	RTIXMLObject_initialize ??:? [0x15DF5D]
	#7	DDS_XMLDds_initialize ??:? [0x42E499]
	#8	DDS_XMLDds_new ??:? [0x42E61F]
	#9	RTIXMLParser_onStartTag ??:? [0x161687]
	#10	RTI_doContent xmlparse.c:? [0x159251]
	#11	RTI_contentProcessor xmlparse.c:? [0x159CA9]
	#12	RTI_XML_ParseBuffer ??:? [0x1542C4]
	#13	RTI_XML_Parse ??:? [0x154703]
	#14	RTIXMLParser_parseFromString_ex ??:? [0x15F6B8]
	#15	RTIXMLParser_parseFromString ??:? [0x15F9BB]
	#16	DDS_XMLParser_parse_from_string ??:? [0x436DB5]
	#17	DDS_QosProvider_load_builtin_profilesI ??:? [0x17EDF6]
	#18	DDS_QosProvider_load_profilesI ??:? [0x181095]
	#19	DDS_DomainParticipantFactory_load_profilesI ??:? [0x1891BA]
	#20	DDS_DomainParticipantFactory_set_qos ??:? [0x18BB36]
	#21	RTIDDSConnector_newI ??:? [0x1A0CC]
	#22	RTI_Connector_new ??:? [0x13CCC]
	#23	ffi_prep_go_closure ??:? [0x6FF5]
	#24	ffi_closure_free ??:? [0x640A]
	#25	_call_function_pointer ./build-static/./Modules/_ctypes/callproc.c:942 [0x13306]
	#26	PyCFuncPtr_call ./build-static/./Modules/_ctypes/_ctypes.c:4212 [0x13AE7]
	#27	?? ??:0 [0x1F3E1E]
	#28	?? ??:0 [0x170674]
	#29	?? ??:0 [0x19BDFB]
	#30	?? ??:0 [0x1F3D7F]
	#31	?? ??:0 [0x170266]
	#32	?? ??:0 [0x100773]
	#33	?? ??:0 [0xF5003]
	#34	?? ??:0 [0x1C4A40]
	#35	?? ??:0 [0x16B0AE]
	#36	?? ??:0 [0x1F6836]
	#37	?? ??:0 [0x10AA2C]
	#38	?? ??:0 [0x16CCDD]
	#39	?? ??:0 [0x1F6836]
	#40	?? ??:0 [0x10AA2C]
	#41	?? ??:0 [0x1F3547]
	#42	?? ??:0 [0x16C8CD]
	#43	?? ??:0 [0x1F6836]
	#44	?? ??:0 [0x16B1DA]
	#45	?? ??:0 [0x1F6836]
	#46	?? ??:0 [0x1F3547]
	#47	?? ??:0 [0x16C8CD]
	#48	?? ??:0 [0x1F6836]
	#49	?? ??:0 [0x16B1DA]
[SET QOS] Mx02:/rti/jenkins/workspace/connextdds/release6.1.1.0/x64Linux2.6gcc4.4.5/src/osapi.1.0/srcC/thread/Thread.c:3630:RTI0x2000005:Received signal SIGSEGV

Based on the last line

Mx02:/rti/jenkins/workspace/connextdds/release6.1.1.0/x64Linux2.6gcc4.4.5/src/osapi.1.0/srcC/thread/Thread.c:3630:RTI0x2000005:Received signal SIGSEGV

I am just trying to understand the error what that means, like who send the signal SIGSEGV. Because I didn't find any part of app sending signal SIGSEGV.

Just wonder under what kind of situations, RTI will print this error? Thanks! 😃

hongbo-miao avatar Nov 01 '22 17:11 hongbo-miao

Hey @Hongbo-Miao , Can you send me the QoS file you are using the load Connector?

samuelraeburn avatar Nov 07 '22 12:11 samuelraeburn

Thanks @samuelraeburn ! Just add some following up. I wasn't be able to solve the issue at that time directly: as long as I import the library, the existing server will crash at that time. I still don't know the root issue. However, that server is kind of legacy. I ended up creating a new small Flask server and import that package, it works well. 😃

hongbo-miao avatar Dec 06 '22 18:12 hongbo-miao