Please let me know if any of this information is invalid and if there is away to make this works. Thanks in advance,
Johny.
We are trying to running multi process and receive an assertion in syslink
Assertion at Line no: 1239 in /home/user/ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/syslink_2_20_02_20/packages/ti/syslink/ipc/hlos/usr/MessageQ.c: (handle != NULL) : failed
Assertion at Line no: 695 in /home/user/ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/syslink_2_20_02_20/packages/ti/syslink/ipc/hlos/usr/MessageQ.c: (queueId != MessageQ_INVALIDMESSAGEQ) : failed
ServiceMgr_prime: MessageQ_put failed: status = 0xfffffffe
....................
Looking around and talking with TI field engineer, the issue is that syslink does not support multi process. To get this error all you need to do is run two gst-launch command at the same time, i.e. gst-launch-0.10 filesrc location=clip2.mp4 ! qtdemux ! h264parse ! omx_h264dec ! omx_scaler ! fakesink
-----------------
Looking at the code, syslink only allow one heapID to be register in MessageQ.c line 1747:
I think this happen because the first gst-launch unregister the heap so if we can change syslink to keep a ref count of the heap register and don't clean up until all the command that got run goes down it could works.
Please let me know if this do able or what I am thinking is just wrong. There is no way syslink can works like that.
Thanks again,
Johny.