bug-apl
[Top][All Lists]
Advanced

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

Re: bug report


From: Dr . Jürgen Sauermann
Subject: Re: bug report
Date: Fri, 13 Mar 2020 14:29:36 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hi Rowan,

thanks for reporting this.

The interpreter should have rejected the second { } because
it is a dyadic operator with axis which is not valid in GNU APL.

Fixed in SVN 1242 which now raises a DEFN ERROR.

Best Regards,
Jürgen


On 3/13/20 1:55 AM, Rowan Cannaday wrote:
Hello, receiving the following segfault when attempting to use dfn's with all possible arguments: ⍵ ⍺ ⍹ ⍶ χ.

{⍵+1}{⍹ ⍶ χ+⍵}[1]{⍵+1} 1

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

----------------------------------------
-- Stack trace at main.cc:88
----------------------------------------
0x7FCD8D70CBBB __libc_start_main
0x55C686DB3145  main
0x55C686F2ABC5   Workspace::immediate_execution(bool)
0x55C686E077BB    Command::process_line()
0x55C686E081CA     Command::do_APL_expression(UCS_string&)
0x55C686E07858      Command::finish_context()
0x55C686E113E8       Executable::execute_body() const
0x55C686EC62BC        StateIndicator::run()
0x55C686E4A0D3         Prefix::reduce_statements()
0x55C686E111EC          throw_apl_error(ErrorCode, char const*)
0x55C686E110B5           Error::update_error_info(StateIndicator*)
0x55C686E118C2            Executable::set_error_info(Error&, Function_PC2) const
0x7FCD8DC23520            
0x55C686DBA11B              
========================================
====================================================

apl --version
BUILDTAG:
---------
    Project:        GNU APL
    Version / SVN:  1.8 / 1234M
    Build Date:     2020-02-25 21:08:06 UTC
    Build OS:       Linux 5.4.0-2-amd64 x86_64
    config.status:  'APSERVER_TRANSPORT=LINUX' 'DYNAMIC_LOG_WANTED=yes' 'MAX_RANK_WANTED=5' '--with-postgresql=yes' '--with-sqlite=yes'
    Archive SVN:    1161

Cheers,
- Rowan


reply via email to

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