Closed StarSugar closed 1 year ago
Thank you for the bug report. The 'dequeue' is called from 'eval_para.' It seems that 'eval_para' is not functioning correctly on macOS. What specific code is causing the issue?
You are welcome. It seems like neither f_plet
, f_pcall
or f_pexec
was ever called. And it seems like main
function crashes at line 339 while f_load is running.
The mechanism is set up to load a file called 'startup.lsp' if it exists at line 339. In the initial state, this file does not exist. Do you have a file named 'startup.lsp' in your environment? Is there any code written in it?
I am sorry I said it wrong before, it is actually error at line 317 in main.
#0 0x14524399c in wrap_pthread_create+0x5c
#1 0x10df9db14 in init_para syntax.c:2634
#2 0x10df5a45a in init_thread main.c:479
#3 0x10df58c36 in main main.c:317
I have made a further adjustment to set the worker count to three in case of a failure to determine the number of threads at init_thread(). If this doesn't work, it is likely due to a compatibility issue between the pthread library on macOS and Linux.
This has no effect, please change it back for linux users.
got it. thank you.
Global variable
queue_pt
never seems to be decremented, and is incremented in theparallel
, so arrayqueue
goes out of bound.