[lng-odp] [Bug 1873] odp process-mode is broken

2015-12-10 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1873

Mike Holmes  changed:

   What|Removed |Added

   Assignee|lng-odp@lists.linaro.org|maxim.uva...@linaro.org

--- Comment #8 from Mike Holmes  ---
IPC patch is at v17 Maxim indicated it will contribute to the fix

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


[lng-odp] [Bug 1873] odp process-mode is broken

2015-11-13 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1873

--- Comment #6 from Carl Wallen  ---
The v13 of IPC does not work for me. Applied the patches on the lastest of the
odp master-branch.

Accessing shared memory looked up by a child process (created by another child)
results in segmentation fault:
../../helper/linux.c:239:odph_linux_process_wait_n():Child term signo:11 -
Segmentation fault (pid:32229)

Using the same scenario as in the bug description.

The attachment/code sample in https://bugs.linaro.org/show_bug.cgi?id=1879
should help you reproduce the bug (attachment link:
https://bugs.linaro.org/attachment.cgi?id=398)

Works (use 2 odp worker threads)
$> odp_queue_test -c 0x3 -t

Crashes (use 2 odp worker processes)
$> odp_queue_test -c 0x3 -p
../../helper/linux.c:239:odph_linux_process_wait_n():Child term signo:11 -
Segmentation fault (pid:32229)

compile the odp_queue_test.c in a similar manner to your examples.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


[lng-odp] [Bug 1873] odp process-mode is broken

2015-11-13 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1873

Carl Wallen  changed:

   What|Removed |Added

 CC||carl.wal...@nokia.com

--- Comment #7 from Carl Wallen  ---
Created attachment 402
  --> https://bugs.linaro.org/attachment.cgi?id=402=edit
Modify odp_shm_lookup() to mmap using specific address if ODP_SHM_PROC is set

Attached a patch that work arounds this bug in my case.

The patch is a rough draft and only works if all processes are able to mmap
using the exact addresses given.

Apply this patch and change the calls in the application to use
odp_shm_reserve(flag|=ODP_SHM_PROC)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


[lng-odp] [Bug 1873] odp process-mode is broken

2015-11-12 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1873

--- Comment #5 from Mike Holmes  ---
Carl,

Can you check the latest IPC to see if it will help your case ?
I think if we go much further than v13 of IPC it may be an indication that
there is not a strong enough use case for IPC and we just need to make the fix
for this bug.

http://patches.opendataplane.org/patch/3751/

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


[lng-odp] [Bug 1873] odp process-mode is broken

2015-11-11 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1873

--- Comment #4 from Maxim Uvarov  ---
Carl, we agreed to apply IPC patches but to add some readme with description
and notes about limitations. I will add and resend patches.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


[lng-odp] [Bug 1873] odp process-mode is broken

2015-11-10 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1873

--- Comment #3 from Carl Wallen  ---
Any progress on this one yet?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


[lng-odp] [Bug 1873] odp process-mode is broken

2015-11-05 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1873

Mike Holmes  changed:

   What|Removed |Added

 CC||mike.hol...@linaro.org

--- Comment #2 from Mike Holmes  ---
Maxim can we break out the patches to fix this issue from IPC and commit them ?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


[lng-odp] [Bug 1873] odp process-mode is broken

2015-10-29 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1873

Maxim Uvarov  changed:

   What|Removed |Added

 CC||maxim.uva...@linaro.org

--- Comment #1 from Maxim Uvarov  ---
In [PATCHv12 0/8] IPC (pktio) I have fixes to make odp_shm_reserve() work for
same name for different processes. Once series will be accepted it will be easy
to fix your case.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


[lng-odp] [Bug 1873] odp process-mode is broken

2015-10-28 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1873

Carl Wallen  changed:

   What|Removed |Added

   Priority|--- |High

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp