payonel / ocvm

OpenComputer Emulator
41 stars 7 forks source link

Confusing error when running ocvm ('failed to detect thread in stack') #52

Closed Lilly7084 closed 2 years ago

Lilly7084 commented 2 years ago

I've installed ocvm on my computer (Ubuntu 22.04 LTS, G++ 11.2.0, Lua 5.3, if that's helpful), built without a problem. But when trying to run the ./ocvm executable, the terminal clears and returns immediately, and the log file contains:

config [client]: table: {
  ["components"]={
    {"screen","67c66973-51ff-4aec-29cd-baabf2fbe346",},
    {"gpu","cf5810e1-e601-1c6a-eb8c-1f369cb85f52",44800,},
    {"eeprom","f58c303c-9c59-e5d0-a22c-610717398be7",4096,256,"EEPROM",},
    {"computer","919bc877-9de4-e188-7100-be0db91d5fae",1048576,},
    {"filesystem","a98fea45-e9cf-158b-fc76-9213af1dfa40","system/loot/openos","OpenOS",},
    {"filesystem","af962782-28b2-05d8-6cd2-5227af9b5c21",true,"tmpfs",},
    {"filesystem","b93ef4f8-aec4-81bf-b16c-e95f45a74ef4",},
    {"keyboard","3d757766-287c-3e94-4f90-bcfe2b1820e5","67c66973-51ff-4aec-29cd-baabf2fbe346",},
    {"modem","5614dd04-d85f-c389-cbac-e81054360591",56000,8192,8,},
    {"internet","ac7cf7d4-f835-6847-c524-46f13d66d693",true,true,},
    {"data","7ab39852-125b-dbdd-08c4-ee5cfaf3eda6",["tier"]=1,},
    {"drive","6fe57a67-1ae3-afe0-07f5-d1445ba7d8d5",},
    {"sandbox","5a70276d-cb02-4ad3-c638-2fc12b1d679a",},
  },
  ["system"]={["allowBytecode"]=false,["allowGC"]=false,["maxTcpConnections"]=4,["timeout"]=math.huge,},
}

screen: ready
gpu: ready
eeprom: ready
computer: ready
filesystem: ready
filesystem: ready
filesystem: ready
keyboard: ready
modem: ready
internet: ready
data: ready
drive: ready
sandbox: ready
components loaded: 13
machine thread created
machine function loaded
components post initialized
kernal panic, failed to detect thread in stack
lua env baseline: 136833
lua env closed
computer peek memory: 0
Lilly7084 commented 2 years ago

Oh well this is probably why image