Comments (3)
2023-09-25T00:47:07.905280Z DEBUG ThreadId(05) task_run: crates/kernel/src/vm/vm_call.rs:245: Calling builtin: eval("this=#59;; return \"Written by Firesong (#337)@Weyrmount\";;") caller_perms: #2
2023-09-25T00:47:07.906286169Z 2023-09-25T00:47:07.906213Z DEBUG ThreadId(05) task_run: crates/kernel/src/vm/vm_unwind.rs:308: unwind_stack why=Return("Written by Firesong (#337)@Weyrmount") this=Objid(2) from="eval" line=2
2023-09-25T00:47:07.906320537Z 2023-09-25T00:47:07.906276Z DEBUG ThreadId(05) task_run: crates/kernel/src/vm/vm_unwind.rs:308: unwind_stack why=Return({1, "Written by Firesong (#337)@Weyrmount"}) this=Objid(-1) from="eval" line=0
2023-09-25T00:47:07.906369032Z 2023-09-25T00:47:07.906315Z DEBUG ThreadId(05) task_run: crates/kernel/src/vm/vm_unwind.rs:308: unwind_stack why=Return({1, "Written by Firesong (#337)@Weyrmount"}) this=Objid(38) from="eval" line=13
2023-09-25T00:47:07.906415894Z 2023-09-25T00:47:07.906378Z DEBUG ThreadId(05) task_run: crates/kernel/src/vm/vm_call.rs:245: Calling builtin: match("info = this:get_task_display();", "^\"%([^\\\"]%|\\.%)*\";$") caller_perms: #2
2023-09-25T00:47:07.906470551Z 2023-09-25T00:47:07.906427Z DEBUG ThreadId(05) task_run: crates/kernel/src/vm/vm_unwind.rs:308: unwind_stack why=Return({}) this=Objid(-1) from="match" line=0
2023-09-25T00:47:07.906566138Z 2023-09-25T00:47:07.906468Z DEBUG ThreadId(05) task_run: crates/kernel/src/vm/vm_unwind.rs:308: unwind_stack why=Return({":@sched*uler() <-- A Feature Verb to diplay an alternate task list on the scheduler.", "", "Sample output:", "", "[SCHEDULER] Browse Mode", "", "The Scheduler is currently ticking away", " Tasks waiting in queue : 31", " Current system time : Tue Apr 9 18:38:09 1996 HDT", "", " Running in..", "-------------------------------------------------------------------------------", "Verb : #280:DO_check_kids() 8 seconds", "Perms : Firesong (#337) Task ID : 1300241341", "Player: Firesong (#337) Interval: 60 seconds", "-------------------------------------------------------------------------------", "Done..", "", "Written by Firesong (#337)@Weyrmount"}) this=Objid(59) from="verb_documentation" line=17
2023-09-25T00:47:07.906584174Z thread 'tokio-runtime-worker' panicked at 'TODO: CatchLabel where we didn't expect it...', crates/kernel/src/vm/vm_unwind.rs:367:25
2023-09-25T00:47:07.906613251Z stack backtrace:
from moor.
Last executed code being the return @ line 17 from here:
1: ":verb_documentation([object,verbname]) => documentation at beginning of verb code, if any";
2: "default is the calling verb";
3: set_task_perms(caller_perms());
4: c = callers()[1];
5: {?object = c[4], ?vname = c[2]} = args;
6: try
7: code = verb_code(object, vname);
8: except error (ANY)
9: return error[2];
10: endtry
11: doc = {};
12: for line in (code)
13: if (match(line, "^\"%([^\\\"]%|\\.%)*\";$"))
14: "... now that we're sure `line' is just a string, eval() is safe...";
15: doc = {@doc, $no_one:eval("; return " + line)[2]};
16: else
17: return doc;
18: endif
19: endfor
20: return doc;
Invoked as #59:verb_documentation(#99, "@sched")
from moor.
Can reproduce with this limited block code. Something to do with try
blocks followed by a loop with a return inside. Without the 'return' inside the for, the crash doesn't happen.
1: try
2: player:tell(5);
3: except error (ANY)
4: return 1;
5: endtry
6: for x in ({1, 2, 3})
7: player:tell(x);
8: return 5;
9: endfor
from moor.
Related Issues (20)
- Implement stable-backup db export.
- Decompilation error for scatter assignment to `$property` HOT 5
- Retry transaction on serialization conflict
- Persist background tasks in the database / restart background tasks on restart
- Decompilation / unparse on "fork vectors" / fork blocks HOT 1
- Task: go through code TODO comments and triage / collect things that should captured be in issues HOT 1
- Community Growth and Health? HOT 2
- Questions about Docker usage HOT 2
- Write up an `architecture.md`
- Add/trial a SQL` WorldState` backend HOT 2
- Add/trial a `FoundationDB` WorldState backend
- Bug: "Feature" objects not working HOT 1
- Bug: panic when `ctime` builtin called with negative integer argument HOT 1
- Missing feature: `huh` support
- Scheduler refactor: move transaction create/commit/rollback/retry up into scheduler? HOT 1
- Cleanup use of anyhow::Error inside `kernel` and `values`
- `ctime()` builtin does not return expected formatting HOT 1
- Improve the authentication / sign-on story HOT 6
- Jepsen and/or Stateright tests HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moor.