spec test index / oilshell.org
| status | ysh | ysh-cpp | |
| pass | 10 | 9 | |
| FAIL | 0 | 1 | |
| total | 10 | 10 | |
| case | ysh | ysh-cpp | description |
| 0 | pass | pass | identity |
| 1 | pass | pass | max |
| 2 | pass | pass | min |
| 3 | pass | pass | abs |
| 4 | pass | pass | any |
| 5 | pass | pass | all |
| 6 | pass | pass | sum |
| 7 | pass | pass | repeat() string |
| 8 | pass | pass | repeat() list |
| 9 | pass | FAIL | repeat() error |
| details |
19 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
| ysh-cpp | 9 repeat() error [ysh-cpp stdout] Expected 'code=10\ncode=10\ncode=10\n', got '' [ysh-cpp status] Expected 0, got 1 stdout: stderr: error "Expected Str or List, got $t"
^~~~~
stdlib/ysh/list.ysh:59: fatal: Expected Str or List, got Null
AddressSanitizer:DEADLYSIGNAL
=================================================================
==33067==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55841a7765ca bp 0x7ffd29aae490 sp 0x7ffd29aae470 T0)
==33067==The signal is caused by a READ memory access.
==33067==Hint: address points to the zero page.
#0 0x55841a7765c9 in Dict<BigStr*, value_asdl::value_t*>::find_kv_index(BigStr*) const /home/uke/oil/mycpp/gc_dict.h:367
#1 0x55841a685fdc in Dict<BigStr*, value_asdl::value_t*>::get(BigStr*) const (/home/uke/oil/_bin/cxx-asan/oils-for-unix+0x437fdc)
#2 0x55841a616419 in expr_eval::ExprEvaluator::_EvalDot(syntax_asdl::Attribute*, value_asdl::value_t*) _gen/bin/oils_for_unix.mycpp.cc:51352
#3 0x55841a6176dd in expr_eval::ExprEvaluator::_EvalAttribute(syntax_asdl::Attribute*) _gen/bin/oils_for_unix.mycpp.cc:51435
#4 0x55841a61a544 in expr_eval::ExprEvaluator::_EvalExpr(syntax_asdl::expr_t*) _gen/bin/oils_for_unix.mycpp.cc:51698
#5 0x55841a60ae2d in expr_eval::ExprEvaluator::EvalExpr(syntax_asdl::expr_t*, syntax_asdl::loc_t*) _gen/bin/oils_for_unix.mycpp.cc:50494
#6 0x55841a60b682 in expr_eval::ExprEvaluator::EvalExprSub(syntax_asdl::word_part__ExprSub*) _gen/bin/oils_for_unix.mycpp.cc:50521
#7 0x55841a5d04da in word_eval::AbstractWordEvaluator::_EvalWordPart(syntax_asdl::word_part_t*, List<runtime_asdl::part_value_t*>*, int) _gen/bin/oils_for_unix.mycpp.cc:45998
#8 0x55841a5d147c in word_eval::AbstractWordEvaluator::_EvalWordToParts(syntax_asdl::CompoundWord*, List<runtime_asdl::part_value_t*>*, int) _gen/bin/oils_for_unix.mycpp.cc:46064
#9 0x55841a5d9ea4 in word_eval::AbstractWordEvaluator::SimpleEvalWordSequence2(List<syntax_asdl::CompoundWord*>*, bool, bool) _gen/bin/oils_for_unix.mycpp.cc:46608
#10 0x55841a5dac51 in word_eval::AbstractWordEvaluator::EvalWordSequence2(List<syntax_asdl::CompoundWord*>*, bool, bool) _gen/bin/oils_for_unix.mycpp.cc:46647
#11 0x55841a5528cc in cmd_eval::CommandEvaluator::_DoSimple(syntax_asdl::command__Simple*, runtime_asdl::CommandStatus*) _gen/bin/oils_for_unix.mycpp.cc:35695
#12 0x55841a55e36b in cmd_eval::CommandEvaluator::_Dispatch(syntax_asdl::command_t*, runtime_asdl::CommandStatus*) _gen/bin/oils_for_unix.mycpp.cc:36574
#13 0x55841a5611a6 in cmd_eval::CommandEvaluator::_Execute(syntax_asdl::command_t*) _gen/bin/oils_for_unix.mycpp.cc:36853
#14 0x55841a562f0e in cmd_eval::CommandEvaluator::ExecuteAndCatch(syntax_asdl::command_t*, int) _gen/bin/oils_for_unix.mycpp.cc:37024
#15 0x55841a4c0db9 in main_loop::Batch(cmd_eval::CommandEvaluator*, cmd_parse::CommandParser*, ui::ErrorFormatter*, int) _gen/bin/oils_for_unix.mycpp.cc:24417
#16 0x55841a66c3cd in shell::Main(BigStr*, args::Reader*, Dict<BigStr*, BigStr*>*, bool, pyutil::_ResourceLoader*, py_readline::Readline*) _gen/bin/oils_for_unix.mycpp.cc:57393
#17 0x55841a412429 in oils_for_unix::AppBundleMain(List<BigStr*>*) _gen/bin/oils_for_unix.mycpp.cc:12377
#18 0x55841a412a8b in oils_for_unix::main(List<BigStr*>*) _gen/bin/oils_for_unix.mycpp.cc:12413
#19 0x55841a66e522 in main _gen/bin/oils_for_unix.mycpp.cc:57415
#20 0x7f69bb5f509a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
#21 0x55841a3ebfc9 in _start (/home/uke/oil/_bin/cxx-asan/oils-for-unix+0x19dfc9)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/uke/oil/mycpp/gc_dict.h:367 in Dict<BigStr*, value_asdl::value_t*>::find_kv_index(BigStr*) const
==33067==ABORTING
|