blakemcbride / APL-Pkg

Package manager for GNU APL
MIT License
5 stars 1 forks source link

APL-Pkg fails to load on current GNU APL (Segmentation Fault) #3

Open Russtopia opened 2 years ago

Russtopia commented 2 years ago

The package fails ot properly initialize on current GNU APL, in fact crashing the interpreter.



                    ______ _   __ __  __    ___     ____   __ 
                   / ____// | / // / / /   /   |   / __ \ / / 
                  / / __ /  |/ // / / /   / /| |  / /_/ // /  
                 / /_/ // /|  // /_/ /   / ___ | / ____// /___
                 \____//_/ |_/ \____/   /_/  |_|/_/    /_____/

               Welcome to GNU APL version 1.8 / SVN: 1530:1539M

                Copyright (C) 2008-2021  Dr. Jürgen Sauermann
                       Banner by FIGlet: www.figlet.org

                This program comes with ABSOLUTELY NO WARRANTY;
                          for details run: apl --gpl.

     This program is free software, and you are welcome to redistribute it
         according to the GNU Public License (GPL) version 3 or later.

SAVED 2022-02-19 12:48:03 (GMT-8)
      )load pkg
DUMPED 2021-02-25  20:22:27 (GMT-8) 

===================================================
SEGMENTATION FAULT
thread: 0x7fc8dedd6540
thread_contexts_count: 4
busy_worker_count:     0
active_core_count:     4
thread # 0:  0x7fc8dedd6540 RUN  job:  103 eval_scalar_AB
thread # 1:  0x7fc8dedd2700 RUN  job:  103 eval_scalar_AB
thread # 2:  0x7fc8de5d1700 RUN  job:  103 eval_scalar_AB
thread # 3:  0x7fc8dddd0700 RUN  job:  103 eval_scalar_AB

----------------------------------------
-- Stack trace at main.cc:95
----------------------------------------
0x7FC8E0A5D09B __libc_start_main
0x55DC26DE8385  main
0x55DC26F67145   Workspace::immediate_execution(bool)
0x55DC26E4CDC1    Command::process_line()
0x55DC26E4D7D5     Command::do_APL_expression(UCS_string&)
0x55DC26E4CE58      Command::finish_context()
0x55DC26E57ED7       Executable::execute_body() const
0x55DC26F0C850        StateIndicator::run()
0x55DC26E8E4F4         Prefix::reduce_statements()
0x55DC26E89320          Prefix::reduce_A_F_B_()
0x55DC26E9BFA4           Bif_F12_ELEMENT::eval_AB(Value_P, Value_P) const
0x7FC8E1085730            
0x55DC26DEF925             
========================================
====================================================

Goodbye.
Session duration: 3.75055 seconds 
terminate called without an active exception
Aborted
russtopia@rlm-devuan:~/GNUAPL$ 
russtopia@rlm-devuan:~/GNUAPL$ apl --cfg

configurable options:
---------------------
    ASSERT_LEVEL_WANTED=1 (default)
    SECURITY_LEVEL_WANTED=0 (default)
    APSERVER_PATH=/tmp/GNU-APL/APserver (default)
    APSERVER_PORT=16366 (default)
    APSERVER_TRANSPORT=0 (default)
    CORE_COUNT_WANTED=4
    DYNAMIC_LOG_WANTED=no (default)
    MAX_RANK_WANTED=8 (default)
    RATIONAL_NUMBERS_WANTED=no (default)
    SHORT_VALUE_LENGTH_WANTED=12, therefore:
        sizeof(Value)       : 464 bytes
        sizeof(Cell)        :  24 bytes
        sizeof(Value header): 176 bytes

    VALUE_CHECK_WANTED=no (default)
    VALUE_HISTORY_WANTED=no (default)
    VF_TRACING_WANTED=no (default)
    VISIBLE_MARKERS_WANTED=no (default)

how ./configure was (probably) called:
--------------------------------------
    ./configure  'CORE_COUNT_WANTED=4' 'RATIONAL_NUMBERS_WANTED=y' '--with-ctrld_del' '--with-gtk3'

BUILDTAG:
---------
    Project:        GNU APL
    Version / SVN:  1.8 / SVN: 1530:1539M
    Build Date:     2022-03-13 08:00:36 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:    1536
russtopia@rlm-devuan:~/GNUAPL$```