bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Crash when displaying the result of ⎕ NL


From: Elias Mårtenson
Subject: [Bug-apl] Crash when displaying the result of ⎕ NL
Date: Tue, 31 Dec 2013 15:58:41 +0800

To reproduce, simply start GNU APL and run the following:

4⎕CR ⎕NL 1

This results in the following assertion error because the cell type is CT_BASE, for which there is no case statement:

Assertion failed: 0
in Function:      init
in file:          Cell.cc:47

Call stack:

----------------------------------------
-- Stack trace at Cell.cc:47
----------------------------------------
0x7fd2f972fb05 __libc_start_main
0x432a35  main
0x51556d   Workspace::immediate_execution(bool)
0x45f4ad    Command::process_line()
0x45e266     Command::process_line(UCS_string&)
0x467395      Executable::execute_body() const
0x4d9130       StateIndicator::run()
0x489443        Prefix::reduce_statements()
0x485763         Prefix::reduce_A_F_B_()
0x4d9f41          StateIndicator::eval_AB(Token&, Token&, Token&)
0x4b600f           Quad_CR::eval_AB(Value_P, Value_P)
0x4b5e1b            Quad_CR::do_CR(long, Value const&)
0x512f4b             Value::clone(char const*) const
0x456f01              Cell::init(Cell const&)
0x440e41               do_Assert(char const*, char const*, char const*, int)
========================================

SI stack:

Depth:    0
Exec:     0x167b610
Pmode:    ◊  4⎕CR ⎕NL 1
PC:       4 ENDL
Stat:     4⎕CR ⎕NL 1
err_code: 0x0
thrown:   at StateIndicator.cc:39
e_msg_1:  'No Error'
e_msg_2:  ''
e_msg_3:  ''


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

----------------------------------------
-- Stack trace at StateIndicator.cc:685
----------------------------------------
0x7fd2f972fb05 __libc_start_main
0x432a35  main
0x51556d   Workspace::immediate_execution(bool)
0x45f4ad    Command::process_line()
0x45e266     Command::process_line(UCS_string&)
0x467395      Executable::execute_body() const
0x4d9130       StateIndicator::run()
0x489443        Prefix::reduce_statements()
0x485763         Prefix::reduce_A_F_B_()
0x4da0ff          StateIndicator::eval_AB(Token&, Token&, Token&)
========================================

Regards,
Elias

reply via email to

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