RE: Multithreading/Multiprocess of JCC

2025-01-10 Thread Andi Vajda
On Sat, 11 Jan 2025, Teh, Chee Yong wrote: CORPORATE I can pinpoint the JCC version that causing the issue. When I'm using JCC version 3.9 (with open jdk 8 or open jdk 21). Our pytest run fine. When I'm upgrading JCC to version 3.10 (with open jdk 8 or open jdk 21). I'm start seeing segm

RE: Multithreading/Multiprocess of JCC

2025-01-10 Thread Teh, Chee Yong
s. Thanks, Chee Yong From: Teh, Chee Yong Sent: 12 December 2024 23:58 To: Andi Vajda Cc: pylucene-dev@lucene.apache.org Subject: RE: Multithreading/Multiprocess of JCC CORPORATE Hi Andi It's just a Segmentation fault error. We are calling the wrapped function in lch_calc_api.py. I c

RE: Multithreading/Multiprocess of JCC

2024-12-12 Thread Teh, Chee Yong
-packages/execnet/gateway_base.py", line 389 in integrate_as_primary_thread File "/home/runner/code/ref/simm/.venv/lib/python3.9/site-packages/execnet/gateway_base.py", line 1273 in serve File "/home/runner/code/ref/simm/.venv/lib/python3.9/site-packages/execnet/gateway_base.py"

Re: Multithreading/Multiprocess of JCC

2024-12-12 Thread Andi Vajda
On Thu, 12 Dec 2024, Teh, Chee Yong wrote: CORPORATE Hi Andi, I have question related to running a wrapped function in a multithreading/multiprocess environment in python. We have a java library and we wrapped it using JCC so we can call it from python. We have a list of data that we ne