spec test index / oilshell.org
| status | osh | osh-cpp | |
| pass | 12 | 10 | |
| FAIL | 0 | 2 | |
| total | 12 | 12 | |
| case | osh | osh-cpp | description |
| 0 | pass | pass | Augmented assignment doesn't work on List |
| 1 | pass | pass | Augmented assignment respects command_sub_errexit |
| 2 | pass | pass | Augmented assignment with integers |
| 3 | pass | pass | Augmented assignment on string changes to Int Float |
| 4 | pass | pass | Augmented assignment with floats |
| 5 | pass | pass | Int/Float augmented += -= *= /= |
| 6 | pass | pass | Int Augmented //= %= **= and bitwise ops |
| 7 | pass | FAIL | Augmented assignment of Dict |
| details | |||
| 8 | pass | pass | Augmented assignment of List |
| 9 | pass | FAIL | Dict with nonexistent key (bug fix) |
| details | |||
| 10 | pass | pass | List with nonexistent elemnt |
| 11 | pass | pass | Augmented assignment doesn't work with multiple LHS |
22 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
| osh-cpp | 7 Augmented assignment of Dict [osh-cpp stdout] Expected '43.5\n45.0\n48.0\n', got '' [osh-cpp status] Expected 0, got 1 stdout: stderr: AddressSanitizer:DEADLYSIGNAL
=================================================================
==25263==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x5582e90735dd bp 0x7ffda6e39ad0 sp 0x7ffda6e39ab0 T0)
==25263==The signal is caused by a READ memory access.
==25263==Hint: address points to the zero page.
#0 0x5582e90735dc in Dict<BigStr*, value_asdl::value_t*>::find_kv_index(BigStr*) const /home/uke/oil/mycpp/gc_dict.h:367
#1 0x5582e8f82fdc in Dict<BigStr*, value_asdl::value_t*>::get(BigStr*) const (/home/uke/oil/_bin/cxx-asan/oils-for-unix+0x437fdc)
#2 0x5582e8f13419 in expr_eval::ExprEvaluator::_EvalDot(syntax_asdl::Attribute*, value_asdl::value_t*) _gen/bin/oils_for_unix.mycpp.cc:51352
#3 0x5582e8f146dd in expr_eval::ExprEvaluator::_EvalAttribute(syntax_asdl::Attribute*) _gen/bin/oils_for_unix.mycpp.cc:51435
#4 0x5582e8f17544 in expr_eval::ExprEvaluator::_EvalExpr(syntax_asdl::expr_t*) _gen/bin/oils_for_unix.mycpp.cc:51698
#5 0x5582e8f07e2d in expr_eval::ExprEvaluator::EvalExpr(syntax_asdl::expr_t*, syntax_asdl::loc_t*) _gen/bin/oils_for_unix.mycpp.cc:50494
#6 0x5582e8f08682 in expr_eval::ExprEvaluator::EvalExprSub(syntax_asdl::word_part__ExprSub*) _gen/bin/oils_for_unix.mycpp.cc:50521
#7 0x5582e8ecd4da 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 0x5582e8ece47c in word_eval::AbstractWordEvaluator::_EvalWordToParts(syntax_asdl::CompoundWord*, List<runtime_asdl::part_value_t*>*, int) _gen/bin/oils_for_unix.mycpp.cc:46064
#9 0x5582e8ed8028 in word_eval::AbstractWordEvaluator::EvalWordSequence2(List<syntax_asdl::CompoundWord*>*, bool, bool) _gen/bin/oils_for_unix.mycpp.cc:46673
#10 0x5582e8e4f8cc in cmd_eval::CommandEvaluator::_DoSimple(syntax_asdl::command__Simple*, runtime_asdl::CommandStatus*) _gen/bin/oils_for_unix.mycpp.cc:35695
#11 0x5582e8e5b36b in cmd_eval::CommandEvaluator::_Dispatch(syntax_asdl::command_t*, runtime_asdl::CommandStatus*) _gen/bin/oils_for_unix.mycpp.cc:36574
#12 0x5582e8e5e1a6 in cmd_eval::CommandEvaluator::_Execute(syntax_asdl::command_t*) _gen/bin/oils_for_unix.mycpp.cc:36853
#13 0x5582e8e5ff0e in cmd_eval::CommandEvaluator::ExecuteAndCatch(syntax_asdl::command_t*, int) _gen/bin/oils_for_unix.mycpp.cc:37024
#14 0x5582e8dbddb9 in main_loop::Batch(cmd_eval::CommandEvaluator*, cmd_parse::CommandParser*, ui::ErrorFormatter*, int) _gen/bin/oils_for_unix.mycpp.cc:24417
#15 0x5582e8f693cd in shell::Main(BigStr*, args::Reader*, Dict<BigStr*, BigStr*>*, bool, pyutil::_ResourceLoader*, py_readline::Readline*) _gen/bin/oils_for_unix.mycpp.cc:57393
#16 0x5582e8d0f53f in oils_for_unix::AppBundleMain(List<BigStr*>*) _gen/bin/oils_for_unix.mycpp.cc:12381
#17 0x5582e8d0fa8b in oils_for_unix::main(List<BigStr*>*) _gen/bin/oils_for_unix.mycpp.cc:12413
#18 0x5582e8f6b522 in main _gen/bin/oils_for_unix.mycpp.cc:57415
#19 0x7fe2b165c09a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
#20 0x5582e8ce8fc9 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
==25263==ABORTING
|
| osh-cpp | 9 Dict with nonexistent key (bug fix) [osh-cpp stdout] Expected '44\n', got '' [osh-cpp status] Expected 3, got 1 stdout: stderr: AddressSanitizer:DEADLYSIGNAL
=================================================================
==25314==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x5639212355dd bp 0x7ffd4381cff0 sp 0x7ffd4381cfd0 T0)
==25314==The signal is caused by a READ memory access.
==25314==Hint: address points to the zero page.
#0 0x5639212355dc in Dict<BigStr*, value_asdl::value_t*>::find_kv_index(BigStr*) const /home/uke/oil/mycpp/gc_dict.h:367
#1 0x563921144fdc in Dict<BigStr*, value_asdl::value_t*>::get(BigStr*) const (/home/uke/oil/_bin/cxx-asan/oils-for-unix+0x437fdc)
#2 0x5639210d5419 in expr_eval::ExprEvaluator::_EvalDot(syntax_asdl::Attribute*, value_asdl::value_t*) _gen/bin/oils_for_unix.mycpp.cc:51352
#3 0x5639210d66dd in expr_eval::ExprEvaluator::_EvalAttribute(syntax_asdl::Attribute*) _gen/bin/oils_for_unix.mycpp.cc:51435
#4 0x5639210d9544 in expr_eval::ExprEvaluator::_EvalExpr(syntax_asdl::expr_t*) _gen/bin/oils_for_unix.mycpp.cc:51698
#5 0x5639210c9e2d in expr_eval::ExprEvaluator::EvalExpr(syntax_asdl::expr_t*, syntax_asdl::loc_t*) _gen/bin/oils_for_unix.mycpp.cc:50494
#6 0x5639210ca682 in expr_eval::ExprEvaluator::EvalExprSub(syntax_asdl::word_part__ExprSub*) _gen/bin/oils_for_unix.mycpp.cc:50521
#7 0x56392108f4da 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 0x56392109047c in word_eval::AbstractWordEvaluator::_EvalWordToParts(syntax_asdl::CompoundWord*, List<runtime_asdl::part_value_t*>*, int) _gen/bin/oils_for_unix.mycpp.cc:46064
#9 0x56392109a028 in word_eval::AbstractWordEvaluator::EvalWordSequence2(List<syntax_asdl::CompoundWord*>*, bool, bool) _gen/bin/oils_for_unix.mycpp.cc:46673
#10 0x5639210118cc in cmd_eval::CommandEvaluator::_DoSimple(syntax_asdl::command__Simple*, runtime_asdl::CommandStatus*) _gen/bin/oils_for_unix.mycpp.cc:35695
#11 0x56392101d36b in cmd_eval::CommandEvaluator::_Dispatch(syntax_asdl::command_t*, runtime_asdl::CommandStatus*) _gen/bin/oils_for_unix.mycpp.cc:36574
#12 0x5639210201a6 in cmd_eval::CommandEvaluator::_Execute(syntax_asdl::command_t*) _gen/bin/oils_for_unix.mycpp.cc:36853
#13 0x563921021f0e in cmd_eval::CommandEvaluator::ExecuteAndCatch(syntax_asdl::command_t*, int) _gen/bin/oils_for_unix.mycpp.cc:37024
#14 0x563920f7fdb9 in main_loop::Batch(cmd_eval::CommandEvaluator*, cmd_parse::CommandParser*, ui::ErrorFormatter*, int) _gen/bin/oils_for_unix.mycpp.cc:24417
#15 0x56392112b3cd in shell::Main(BigStr*, args::Reader*, Dict<BigStr*, BigStr*>*, bool, pyutil::_ResourceLoader*, py_readline::Readline*) _gen/bin/oils_for_unix.mycpp.cc:57393
#16 0x563920ed153f in oils_for_unix::AppBundleMain(List<BigStr*>*) _gen/bin/oils_for_unix.mycpp.cc:12381
#17 0x563920ed1a8b in oils_for_unix::main(List<BigStr*>*) _gen/bin/oils_for_unix.mycpp.cc:12413
#18 0x56392112d522 in main _gen/bin/oils_for_unix.mycpp.cc:57415
#19 0x7f86165d509a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
#20 0x563920eaafc9 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
==25314==ABORTING
|