Open titanlab opened 1 year ago
Also, if I compile a lot of files from the SMakefile (I now have around ~30 phxass calls and ~40 sc calls), I get the following error:
sc bob.c Math=standard IdentifierLength=63 PreprocessorBuffer=16384 ObjectName=obj/bob.o nostackcheck noversion
11:40:49.369 lock: ERROR: no more lock slots! max=1024
11:40:50.958 lock: ERROR: no more lock slots! max=1024
11:40:50.961 machine: ERROR: ----- ERROR in CPU Run #1 -----
11:40:50.961 machine: ERROR: Run: 'smake': Initial PC=00229c, SP=00bd18
11:40:50.961 machine: ERROR: PC=00001c26 SR=----- USP=0000b99c ISP=00000700 MSP=00000780
11:40:50.961 machine: ERROR: D0=ffffffff D1=0000c7f4 D2=0000b9b0 D3=00000000 D4=00000000 D5=00000000 D6=00000000 D7=00000000
11:40:50.961 machine: ERROR: A0=0000b9b0 A1=0000c7f4 A2=0001eaa8 A3=0000b9cc A4=0000bf7c A5=0000c7f4 A6=00001ae8 A7=0000b99c
11:40:50.961 machine: ERROR: SP-32=00133c SP-28=000001 SP-24=008a98 SP-20=00000a SP-16=00c2ee SP-12=009630 SP-08=000000 SP-04=000077
11:40:50.961 machine: ERROR: SP+00=007110 SP+04=00ffff SP+08=000000 SP+12=00c7f4 SP+16=00133c SP+20=80000021 SP+24=00088a SP+28=80000022
11:40:50.962 machine: ERROR: Traceback (most recent call last):
11:40:50.962 machine: ERROR: File "machine/pytraps.pyx", line 19, in machine.emu.trap_wrapper
11:40:50.962 machine: ERROR: File "/home/neo/.local/lib/python3.10/site-packages/amitools/vamos/libcore/stub.py", line 165, in base_func
11:40:50.962 machine: ERROR: res = method(ctx)
11:40:50.962 machine: ERROR: File "/home/neo/.local/lib/python3.10/site-packages/amitools/vamos/lib/DosLibrary.py", line 1609, in SystemTagList
11:40:50.962 machine: ERROR: proc = Process(ctx, binary, arg_str, cwd=cwd, cwd_lock=cwd_lock)
11:40:50.962 machine: ERROR: File "/home/neo/.local/lib/python3.10/site-packages/amitools/vamos/lib/dos/Process.py", line 67, in __init__
11:40:50.962 machine: ERROR: self.init_task_struct(input_fh, output_fh)
11:40:50.962 machine: ERROR: File "/home/neo/.local/lib/python3.10/site-packages/amitools/vamos/lib/dos/Process.py", line 299, in init_task_struct
11:40:50.962 machine: ERROR: self.this_task.access.w_s("pr_HomeDir", self.home_lock.b_addr << 2)
11:40:50.962 machine: ERROR: AttributeError: 'NoneType' object has no attribute 'b_addr'
11:40:50.962 main: ERROR: vamos failed!
If I manually increase the number of slots to 2048 in the LockManager, it's fine. Any idea how I can analyze/fix that?
Hello,
I use SAS/C in combination with your latest vamos. When I run smake only the output of one single sc spawn is shown, all other outputs is basically hidden. That means I want to use SAS/C to build my project but can only see the compiler output of one sc call.
CLI output (Linux, latest python 3.1, installed amitools from source):
vamosrc
extract from SMakefile
Do you have an idea why?