[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash when dropping from empty array

From: Elias Mårtenson
Subject: Crash when dropping from empty array
Date: Sat, 7 Mar 2020 20:26:50 +0800

This crash is very easy to reproduce, simply run the following:


It gives the following error:

non-ASCII char in C-String '⍬'

Assertion failed: 0 && "Bad C-string"
in Function:      UCS_string
in file:          UCS_string.cc:93

Call stack:

-- Stack trace at UCS_string.cc:93
0x7FBFEDE071A3 __libc_start_main
0x46E075  main
0x5C7DD5   Workspace::immediate_execution(bool)
0x4BACB9    Command::process_line()
0x4BB644     Command::do_APL_expression(UCS_string&)
0x4BAD31      Command::finish_context()
0x4C3967       Executable::execute_body() const
0x56E4D1        StateIndicator::run()
0x4F3ACF         Prefix::reduce_statements()
0x4F2AA7          Prefix::reduce_MISC_F_B_()
0x4C3888            throw_apl_error(ErrorCode, char const*)
0x4C378B             Error::update_error_info(StateIndicator*)
0x4C3F35              Executable::set_error_info(Error&, Function_PC2) const
0x5A148E               Token::error_info(UCS_string&) const
0x5A1040                Token::canonical(PrintStyle) const
0x50ED5E                 PrintBuffer::PrintBuffer(Value const&, PrintContext const&, std::ostream*)
0x50CC67                  PrintBuffer::pb_empty(Value const&, PrintContext, PrintStyle)
0x5A97DF                   UCS_string::UCS_string(char const*)
0x482845                    do_Assert(char const*, char const*, char const*, int)

SI stack:

Depth:      0
Exec:       0x18d2690
Safe exec:  0
Pmode:      ◊  ↓⍬
PC:         3 (4) RETURN_STATS
Stat:       ↓⍬
err_code:   0x0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]