bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Crash when forgetting to close lambda function


From: Elias Mårtenson
Subject: [Bug-apl] Crash when forgetting to close lambda function
Date: Wed, 26 Feb 2014 00:17:16 +0800

Very easy to reproduce this one. Simply type a single { character. This will crash GNU APL with the following stack trace:

Token: 0x4C03001B { at Token.cc:490
(void *)get_Class(): '0x1b' at Token.cc:491

----------------------------------------
-- Stack trace at Token.cc:492
----------------------------------------
0x7fc7f415bde5 __libc_start_main
0x4342f5  main
0x51cf6d   Workspace::immediate_execution(bool)
0x46180d    Command::process_line()
0x46073b     Command::process_line(UCS_string&)
0x4696f8      Executable::execute_body() const
0x4dc830       StateIndicator::run()
0x48a934        Prefix::reduce_statements()
0x488442         Prefix::syntax_error(char const*)
0x46866d          throw_apl_error(ErrorCode, char const*)
0x4e0b5b           StateIndicator::update_error_info(Error&)
0x469d88            Executable::set_error_info(Error&, Function_PC2) const
0x4ff8cd             Token::error_info(UCS_string&) const
0x4ff585              Token::canonical(PrintStyle) const
========================================

----------------------------------------
-- Stack trace at Token.cc:493
----------------------------------------
0x7fc7f415bde5 __libc_start_main
0x4342f5  main
0x51cf6d   Workspace::immediate_execution(bool)
0x46180d    Command::process_line()
0x46073b     Command::process_line(UCS_string&)
0x4696f8      Executable::execute_body() const
0x4dc830       StateIndicator::run()
0x48a934        Prefix::reduce_statements()
0x488442         Prefix::syntax_error(char const*)
0x46866d          throw_apl_error(ErrorCode, char const*)
0x4e0b5b           StateIndicator::update_error_info(Error&)
0x469d88            Executable::set_error_info(Error&, Function_PC2) const
0x4ff8cd             Token::error_info(UCS_string&) const
0x4ff594              Token::canonical(PrintStyle) const
========================================

Regards,
Elias

reply via email to

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