Closed aohwang closed 4 years ago
It seems that there is a memory corruption, but I don't do anything. I just start the spliced dameon.
Dear Aoh Wang,
You have not set the environment variable, hence it gives an error "* the environment variable OSPL_HOME was not set". Before starting your application you need to set all the environment variables by sourcing release.com in linux or release.bat in windows. Keep in mind that when you source the release.com/release.bat, environment variable set only for the local terminal so you have to run your application from the same terminal.
You can also make the the environment variable global. for this you can refer #128
With best regards, Vivek Pandey
Hi vivekpandey02,
I have solved the environment problem mentioned above.
Report : ERROR
Date : THU JAN 01 00:12:54 1970
Description : Failed to open meta configuration file "ospl_metaconfig.xml". The file was not found in the current directory nor could the file be found at the default location beacause the environment variable OSPL_HOME was not set
For now, the problem is the memory corruption.
memPartFree: invalid block 0x9b999f8 in partition 0x381150
Could you give some suggestions?
Could you please print your OSPL_HOME and OSPL_URI variables to check your environment variable set correctly? and one more thing i want to add, in our community edition, we only support single process but you are using shared memory configuration.
With best regards, Vivek
First, I set the environment variables correctly, and I think it doesn't matter with environments because it's a downloadable kernel module in Vxworks 6.9.
Second, as I mentioned it's a memory corruption problem.
memPartFree: invalid block 0x9b999f8 in partition 0x381150
I think I have found the root cause, it's a bug in the q_parser.y file. I will make a pull request.
Hi friends,
I am a newbie about OpenSplice. I am trying the OpenSplice on Vxworks 6.9, but I meet some problems.
I cross compiled the OpenSplice for the Vxworks 6.9 and compiled the Pingpong example for test. There are two modes for Vxworks and what I chose is kernel mode, so the Pingpong example is compiled as downloadable kernel module according to the documentation.
And my OpenSplice configuration is shown below.
After the "ospl_spliced" is started, the download kernel module task hangs. The terminal outputs string below.
At the same time, you can see the stack trace in the debugger below.
Could you give me some suggestions about why the kernel task is suspended? What's wrong?
Another less important thing I want point out is what I didn't put "ospl_metaconfig.xml" on the Vxworks filesystem, so there is an error message you can see below. But I think it doesn't matter.
Thanks