bug-apl
[Top][All Lists]
Advanced

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

Re: Assertion failed in expression ​⍎¨1⊂⍕345


From: Dr . Jürgen Sauermann
Subject: Re: Assertion failed in expression ​⍎¨1⊂⍕345
Date: Sun, 13 Feb 2022 14:25:30 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

Hi Russ,

thanks, fixed in SVN 1525.

Best Regards,
Jürgen


On 2/13/22 7:40 AM, Russtopia wrote:
$ apl --version
checking ⎕AV
BUILDTAG:
---------
    Project:        GNU APL
    Version / SVN:  1.8 / SVN: 1523M
    Build Date:     2022-02-08 06:24:33 UTC
    Build OS:       Linux 5.7.0rlabs x86_64
    config.status:  'CORE_COUNT_WANTED=4' 'RATIONAL_NUMBERS_WANTED=y' '--with-ctrld_del' '--with-gtk3'
    Archive SVN:    1522

It's likely Dyalog syntax, not APL2, but should it really cause a failed Assertion?

      ⍝ GNU APL equivalent? numbers ← ∊,¨⍕345
      numbers ⍎¨1⊂⍕345                 ⍝ Split numbers into parts
==============================================================================
Assertion failed: r < rho_rho
in Function:      get_shape_item
in file:          Shape.hh:117

Call stack:

----------------------------------------
-- Stack trace at Assert.cc:72
----------------------------------------
0x7FAD994F309B __libc_start_main
0x5591D94734E5  main
0x5591D95F7C95   Workspace::immediate_execution(bool)
0x5591D94D9B91    Command::process_line()
0x5591D94DA5E5     Command::do_APL_expression(UCS_string&)
0x5591D94D9C28      Command::finish_context()
0x5591D94E4BC7       Executable::execute_body() const
0x5591D959D5C0        StateIndicator::run()
0x5591D951B064         Prefix::reduce_statements()
0x5591D9515FBA          Prefix::reduce_A_F_B_()
0x5591D94A9C0B           Bif_F12_PARTITION::eval_AB(Value_P, Value_P) const
0x5591D94A8878            Bif_F12_PARTITION::partition(Value_P, Value_P, int) const
0x5591D9490811             do_Assert(char const*, char const*, char const*, int)
========================================

SI stack:

Depth:      2
Exec:       0x5591db16a3c0
Safe exec:  0
Pmode:      ◊  numbers←⍎¨1⊂⍕345
PC:         4 (10) ¨
Stat:       numbers←⍎¨1⊂⍕345
err_code:   0x0

Depth:      1
Exec:       0x5591db16d0e0
Safe exec:  0
Pmode:      ◊  numbers←⍎¨1⊂⍕345
PC:         4 (10) ¨
Stat:       numbers←⍎¨1⊂⍕345
err_code:   0xA01
thrown at:  Shape.hh:117
e_msg_1:    'Assertion failed'
e_msg_2:    ''
e_msg_3:    ''

Depth:      0
Exec:       0x5591db1522b0
Safe exec:  0
Pmode:      ◊  numbers←⍎¨1⊂⍕345                 ⍝ Split numbers into parts
PC:         4 (10) ¨
Stat:       numbers←⍎¨1⊂⍕345                 ⍝ Split numbers into parts
err_code:   0xA01
thrown at:  Shape.hh:117
e_msg_1:    'Assertion failed'
e_msg_2:    ''
e_msg_3:    ''


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



reply via email to

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