bug-apl
[Top][All Lists]
Advanced

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

Re: Crash on empty assoc array index


From: Dr . Jürgen Sauermann
Subject: Re: Crash on empty assoc array index
Date: Mon, 13 Dec 2021 14:03:19 +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 1507*.

Best Regards,
Jürgen


On 12/12/21 9:29 PM, Russtopia wrote:
$ apl --version
BUILDTAG:
---------
    Project:        GNU APL
    Version / SVN:  1.8 / SVN: 1505M
    Build Date:     2021-12-07 02:34:36 UTC
    Build OS:       Linux 5.7.0rlabs x86_64
    config.status:  'CORE_COUNT_WANTED=4' 'RATIONAL_NUMBERS_WANTED=y' '--with-ctrld_del=y' '--with-gtk3'
    Archive SVN:    1433

--

      assoc_array ← 38 ⎕cr 8
      assoc_array["foo"] ← 'foo'
      assoc_array["bar"] ← 'bar'
      assoc_array[]


===================================================
SEGMENTATION FAULT
thread: 0x7fa518625540
thread_contexts_count: 4
busy_worker_count:     0
active_core_count:     4
thread # 0:  0x7fa518625540 RUN  job:    4 PF_lock_unlock_pool
thread # 1:  0x7fa518621700 RUN  job:    4 PF_lock_unlock_pool
thread # 2:  0x7fa517e20700 RUN  job:    4 PF_lock_unlock_pool
thread # 3:  0x7fa51761f700 RUN  job:    4 PF_lock_unlock_pool


----------------------------------------
-- Stack trace at main.cc:95
----------------------------------------
0x7FA51A2AC09B __libc_start_main
0x55AB89F4ED55  main
0x55AB8A0D36F5   Workspace::immediate_execution(bool)
0x55AB89FB57D1    Command::process_line()
0x55AB89FB61F5     Command::do_APL_expression(UCS_string&)
0x55AB89FB586A      Command::finish_context()
0x55AB89FC0DF7       Executable::execute_body() const
0x55AB8A077080        StateIndicator::run()
0x55AB89FF8544         Prefix::reduce_statements()
0x55AB89FF426F          Prefix::reduce_A_C__()
0x55AB8A0CD9DF           Value::index(Value_P) const
0x55AB8A0B0400            UCS_string::UCS_string(Value const&)
0x7FA51A8D4730
0x55AB89F562B5
========================================
====================================================

Goodbye.
Session duration: 15.6931 seconds




reply via email to

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