bug-apl
[Top][All Lists]
Advanced

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

Re: Crash when dropping from empty array


From: Dr . Jürgen Sauermann
Subject: Re: Crash when dropping from empty array
Date: Sat, 7 Mar 2020 15:25:37 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hi Elias,

thanks, fixed in SVN 1240.

Kind Regards,
Jürgen


On 3/7/20 1:26 PM, Elias Mårtenson wrote:
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_()
0x4C96C3          
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


==============================================================================

Regards,
Elias


reply via email to

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