[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-apl] Segfault in reshape
From: |
Kacper Gutowski |
Subject: |
[Bug-apl] Segfault in reshape |
Date: |
Sun, 12 Oct 2014 21:30:16 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
When used with negative shape as left argument and non-literal array
on the right, reshape dies with segmentation fault instead of raising
a DOMAIN ERROR.
¯1⍴0,0
====================================================
SEGMENTATION FAULT
----------------------------------------
-- Stack trace at main.cc:162
----------------------------------------
0x7fa4d3d4db45 __libc_start_main
0x43f205 main
0x57237d Workspace::immediate_execution(bool)
0x48ad8a Command::process_line()
0x480738 Command::do_APL_expression(UCS_string&)
0x49565b Executable::execute_body() const
0x51f020 StateIndicator::run()
0x4c5a5c Prefix::reduce_statements()
0x4c0b75 Prefix::reduce_A_F_B_()
0x4ccf2e Bif_F12_RHO::eval_AB(Value_P, Value_P)
0x7fa4d59948d0
0x4abf47
========================================
====================================================
-k
- [Bug-apl] Segfault in reshape,
Kacper Gutowski <=