bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Assertion failed when specifying empty array as array index


From: Elias Mårtenson
Subject: [Bug-apl] Assertion failed when specifying empty array as array index
Date: Fri, 10 Jan 2014 00:36:02 +0800

To reproduce, run the following:

(2 2⍴⍳4)[1;⍬]

This will result in this error:

Assertion failed: mult.done()
in Function:      index
in file:          Value.cc:971

Call stack:

----------------------------------------
-- Stack trace at Value.cc:971
----------------------------------------
0x7f2a75155de5 __libc_start_main
0x4adba6  main
0x53e0b6   Workspace::immediate_execution(bool)
0x48dcac    Command::process_line()
0x48ea0b     Command::process_line(UCS_string&)
0x49e2b0      Executable::execute_body() const
0x5051a4       StateIndicator::run()
0x4bbd78        Prefix::reduce_statements()
0x4bc978         Prefix::reduce_A_C__()
0x53783a          Value::index(Token&) const
0x5373f6           Value::index(IndexExpr const&) const
0x4780aa            do_Assert(char const*, char const*, char const*, int)
========================================

SI stack:

Depth:    0
Exec:     0x1c8a4f0
Pmode:    ◊  (2 2⍴⍳4)[1;⍬]
PC:       11 ENDL
Stat:     (2 2⍴⍳4)[1;⍬]
err_code: 0x0
thrown:   at StateIndicator.cc:39
e_msg_1:  'No Error'
e_msg_2:  ''
e_msg_3:  ''

Regards,
Elias

reply via email to

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