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 segmentation fault.
Well, did you bring this up in GDB ? Can you get a stacktrace ?
We are running the jcc wrapped library in each process using multiprocess
(so each process will call initVM).
If you're using multiprocess then you're not really using threads but
child-processes, are you ?
Maybe (?) in that case you shouldn't call initVM() again ?
I really don't know, I'm just guessing here...
So I'm not sure why in 3.10 start getting segmentation fault. As I don't
use SVN so not sure what is the code changes between 3.9 and 3.10. is.
You need to start by getting a stacktrace from the crash to make sense of this.
Andi..