bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Crash when evaluating axis function with blank axis parameter


From: Elias Mårtenson
Subject: [Bug-apl] Crash when evaluating axis function with blank axis parameter
Date: Thu, 6 Feb 2014 18:21:22 +0800

To reproduce, define a function like so:

∇foo[x] y
x+y

Then, run it with an empty axis parameter:

foo[] 2

This gives the following error:

====================================================
SEGMENTATION FAULT

----------------------------------------
-- Stack trace at main.cc:113
----------------------------------------
0x7fb1cd831b05 __libc_start_main
0x47576b  main
0x50ac5a   Workspace::immediate_execution(bool)
0x4543ae    Command::process_line()
0x454867     Command::process_line(UCS_string&)
0x466666      Executable::execute_body() const
0x4d0d90       StateIndicator::run()
0x487242        Prefix::reduce_statements()
0x484d08         Prefix::reduce_MISC_F_C_B()
0x4cef60          StateIndicator::eval_XB(Token&, Token&, Token&)
0x4fc29f           UserFunction::eval_XB(Value_P, Value_P)
0x4dce4a            Symbol::push_value(Value_P)
0x4dbc8b             Symbol::assign(Value_P, char const*)
0x506420              Value::clone(char const*) const
0x502ef1               Value::Value(Shape const&, char const*)
0x7fb1cf3fb870                
0x475e11                 
========================================
====================================================

Regards,
Elias

reply via email to

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