bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Execute system command


From: Juergen Sauermann
Subject: Re: [Bug-apl] Execute system command
Date: Sat, 02 Jul 2016 15:10:36 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi David,

thanks, fixed in SVN 765.

I have recently  increase the strength of checking for incomplete values and
the case below was apparently overlooked (there could be more).

/// Jürgen


On 07/02/2016 01:34 AM, David B. Lamkins wrote:
I know that this is not covered by the spec, but this is useful and used to work.

I've included several examples to help narrow down the problem. The last test causes a stack trace.


      ⊃⍎')LIBS'
Library root: /home/dlamkins/APL/apl-pkg-repo                              
                                                                           
Library reference number mapping:                                          
                                                                           
---------------------------------------------------------------------------
Ref Conf  Path                                                State   Err  
---------------------------------------------------------------------------
 0 PUSER /home/dlamkins/APL/workspaces                        present      
 1 BIN   /home/dlamkins/APL/apl-pkg-repo/wslib1               missing (2)  
 2 BIN   /home/dlamkins/APL/apl-pkg-repo/wslib2               missing (2)  
 3 PSYS  /usr/local/lib/apl/wslib3                            present      
 4 PSYS  /usr/local/lib/apl/wslib4                            present      
 5 PSYS  /usr/local/lib/apl/wslib5                            present      
 6 BIN   /home/dlamkins/APL/apl-pkg-repo/wslib6               missing (2)  
 7 BIN   /home/dlamkins/APL/apl-pkg-repo/wslib7               missing (2)  
 8 BIN   /home/dlamkins/APL/apl-pkg-repo/wslib8               missing (2)  
 9 BIN   /home/dlamkins/APL/apl-pkg-repo/wslib9               missing (2)  
===========================================================================
                                                                           
      ll←⊃⍎')LIBS'
      ll
Library root: /home/dlamkins/APL/apl-pkg-repo                              
                                                                           
Library reference number mapping:                                          
                                                                           
---------------------------------------------------------------------------
Ref Conf  Path                                                State   Err  
---------------------------------------------------------------------------
 0 PUSER /home/dlamkins/APL/workspaces                        present      
 1 BIN   /home/dlamkins/APL/apl-pkg-repo/wslib1               missing (2)  
 2 BIN   /home/dlamkins/APL/apl-pkg-repo/wslib2               missing (2)  
 3 PSYS  /usr/local/lib/apl/wslib3                            present      
 4 PSYS  /usr/local/lib/apl/wslib4                            present      
 5 PSYS  /usr/local/lib/apl/wslib5                            present      
 6 BIN   /home/dlamkins/APL/apl-pkg-repo/wslib6               missing (2)  
 7 BIN   /home/dlamkins/APL/apl-pkg-repo/wslib7               missing (2)  
 8 BIN   /home/dlamkins/APL/apl-pkg-repo/wslib8               missing (2)  
 9 BIN   /home/dlamkins/APL/apl-pkg-repo/wslib9               missing (2)  
===========================================================================
                                                                           
      ⍎')LIBS'
 Library root: /home/dlamkins/APL/apl-pkg-repo  Library reference number mapping
      :  -----------------------------------------------------------------------
      ---- Ref Conf  Path                                                State  
       Err ---------------------------------------------------------------------
      ------  0 PUSER /home/dlamkins/APL/workspaces                        prese
      nt  1 BIN   /home/dlamkins/APL/apl-pkg-repo/wslib1               missing (
      2)  2 BIN   /home/dlamkins/APL/apl-pkg-repo/wslib2               missing (
      2)  3 PSYS  /usr/local/lib/apl/wslib3                            present  
      4 PSYS  /usr/local/lib/apl/wslib4                            present  5 PS
      YS  /usr/local/lib/apl/wslib5                            present  6 BIN   
      /home/dlamkins/APL/apl-pkg-repo/wslib6               missing (2)  7 BIN   
      /home/dlamkins/APL/apl-pkg-repo/wslib7               missing (2)  8 BIN   
      /home/dlamkins/APL/apl-pkg-repo/wslib8               missing (2)  9 BIN   
      /home/dlamkins/APL/apl-pkg-repo/wslib9               missing (2) =========
      ==================================================================  
      ⍴⍎')LIBS'
19
      lll←⍎')LIBS'
Incomplete value at Symbol.cc:132
Addr:    0x1822750
Rank:    1
Shape:   ⊏19⊐
Flags:   --
First:   ┏→━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃Library root: /home/dlamkins/APL/apl-pkg-repo┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ 
Dynamic: DynamicObject: 0x1822758 (Value: 0x1822750) :
    prev:      0x1825e18
    next:      0x1817e38
    allocated: PrimitiveFunction.cc:2817
value history disabled


==============================================================================
Assertion failed: 0
in Function:      assign
in file:          Symbol.cc:135

Call stack:

----------------------------------------
-- Stack trace at Symbol.cc:135
----------------------------------------
0x7f583a1c3731 __libc_start_main
0x40a7a2  
0x57531a   
0x444928    
0x446663     
0x474b56      
0x521bf0       
0x4af89e        
0x4a9cbb         
0x52c846          
0x416359           
========================================

SI stack:

Depth:      0
Exec:       0x1816910
Safe exec:  0
Pmode:    ◊  lll←⍎')LIBS'
PC:       4 ENDL
Stat:     lll←⍎')LIBS'
err_code: 0x0
thrown:   at StateIndicator.cc:39
e_msg_1:  'No Error'
e_msg_2:  ''
e_msg_3:  ''


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




reply via email to

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