Hi, I am using OpenSpliceDDSV4.3-x86.linux2.6-gcc344-gnuc23-HDE version of DDS. I am getting segmentation fault while creating participant (using create_participant() method).
Kindly tell me what can be the reason for this?
Anonymous posted on Sunday, February 28, 2010 - 11:05 pm
HI Gruhita , HINT: A segmentation fault (often shortened to segfault) is a particular error condition that can occur during the operation of computer software. A segmentation fault occurs when a program attempts to access a memory location that it is not allowed to access, or attempts to access a memory location in a way that is not allowed (for example, attempting to write to a read-only location, or to overwrite part of the operating system).a process that accesses an invalid memory address receives the SIGSEGV signal. On Microsoft Windows, a process that accesses invalid memory receives the STATUS_ACCESS_VIOLATION exception. BYE..
posted on Sunday, February 28, 2010 - 11:10 pm
HEY GRUHITA ,I WANT TO GIVE U PDF FILE OF OpenSplice DDS.Version 4.1 .. WILL U GIVE ME U R EMAIL ID I'LL SEND IT 2U.
IN THE PDF,
Installation and Configuration: Installation for UNIX Platforms : Installation for Windows Platforms : XML Configuration : Examples : The PingPong Example : The Tutorial Example : Using the OpenSplice Tools : Tailoring the C++ API :
I have installed Opensplice DDS using PDF only. I get segmentation fault while running Tutorial example. I think this happens as 'ospl start' does not get executed. When i try ospl start it gives 'can not open ospl.xml file'.
Please suggest some solution
Thanks in advance...
posted on Tuesday, March 02, 2010 - 08:06 am
HI AGAIN, i answered u r previous question please check link here:http://dds-forum.org/boards/messages/14/323.html#POST587
"can not open ospl.xml file"
The attribute DCPSPartitionTopic of PartitionMapping in your ospl.xml doesn't have the correct syntax, which causes your problem. This attribute should be a valid partitionTopic Expression. A partitionTopic Expression consist of a partitionname and a topicname, separated by a '.', either part can optionally be replaced by the '*' wildcard.
So the <partitionMappings> section of your ospl.xml should look like this: <PartitionMappings> <PartitionMapping DCPSPartitionTopic="p2.*" NetworkPartition="part-2" /> <PartitionMapping DCPSPartitionTopic="p3.*" NetworkPartition="part-3" /> </PartitionMappings>
Hope this helps,
I would be happy to assist you with any further query.
posted on Tuesday, March 02, 2010 - 08:10 am
To Gruhita, Why Does The Segmentation Fault Occur on Linux / UNIX Systems?
Segmentation fault can also occur under following circumstances:
a) A buggy program / command, which can be only fixed by applying patch.
b) It can also appear when you try to access an array beyond the end of an array under C programming.
c) Inside a chrooted jail this can occur when critical shared libs, config file or /dev/ entry missing.
d) Sometime hardware or faulty memory or driver can also create problem.
e) Maintain suggested environment for all computer equipment (overheating can also generate this problem).
Suggestions to debug Segmentation Fault errors:
To debug this kind of error try one or all of the following techniques
* Use gdb to track exact source of problem. * Make sure correct hardware installed and configured. * Always apply all patches and use updated system. * Make sure all dependencies installed inside jail. * Turn on core dumping for supported services such as Apache. * Use strace which is a useful diagnostic, instructional, and debugging tool. * Fix your C program for logical errors such as pointer, null pointer, arrays and so on. * Analyze core dump file generated by your system using gdb
posted on Tuesday, March 02, 2010 - 09:04 am
posted on Wednesday, March 03, 2010 - 02:17 am
To Gruhita, Nobody Is Here Having a Knowledge To Answer u r ques.. I too..If I Can Answer u Then Why u Not????????
Keep It In Mind,The Problem Which u r Facing That Not Coming First Time.
Every Problem Has Solution.
u Don't Waste u r Time To Waiting For Solution, so,I Requesting u Please use Google to Search And Find out If There Is A Solution To Problem. as per my knowledge 80-90% errors has solution on net which r posted on different sites n forums,u just need to find out.
How? just search exact error/query directly in Google or yahoo question n answer i.e YAHOO QnA.b8 i recommended to u use Google. u'll get lots of solutions immediately on different websites n forums,where is already answered.THATS IT. I THINK,U GOT MY POINT..
Honestly,I use Google To Answer u. coz My Field n Work Is Different.
use u r sense ,i know u r very talented girl.(most talented n beautiful girl i have seen in my life.)
my suggestion 2u. if you get stuck and not got answer on Google then ask in forums, GOOGLE WILL HELPS U..
REMEMBER THE WORLD IS ROUND.. WE WILL MEET AGAIN N AGAIN.. WHENEVER WE MEET,I'LL ASK "HOW R U?" HOPE U WONT JUMBLE D WORD N ASK ME "WHO R U?" I PROMISED U,WE MEET..THEN I'LL TELL U. class mate of school days.."?" I Know u,b8 u...I Don't Know.
EFFORTS R NEVER WASTED,EVEN IT LEADS TO DISAPPOINTING RESULTS..IN FACT,IT ALWAYS MAKES MORE STRONGER,CAPABLE N MORE EXPERIENCED.
By The Way. How Is She? ur Sister Geeta..
Anonymous posted on Tuesday, April 13, 2010 - 10:54 am
Hi, I want to know about various sequqnce in DDS. and how to use them..
posted on Friday, May 14, 2010 - 01:41 pm
Sorry. Really sorry. still i haven't got any answer.