bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Crash when calling file_io with wrong arguments


From: Elias Mårtenson
Subject: Re: [Bug-apl] Crash when calling file_io with wrong arguments
Date: Mon, 31 Mar 2014 00:02:16 +0800

You are right. It works after a full reinstall. I must, like you said, have left some old test binaries behind.

Regards,
Elias


On 30 March 2014 22:44, Juergen Sauermann <address@hidden> wrote:
Hi Elias,

not on my machine:

      '/usr/lib/apl/lib_file_io.so' ⎕FX 'IO'
IO
      IO[0] 0
   Functions provided by this library.
   Assumes 'lib_file_io.so'  ⎕FX  'FUN'

   Legend: e - error code
           i - integer
           h - file handle (integer)
           s - string
           A1, A2, ...  nested vector with elements A1, A2, ...
...


Could it be a stale lib_file_io somewhere? (try a full absolute path like above).

/// Jürgen



On 03/30/2014 12:12 PM, Elias Mårtenson wrote:
To reproduce, type the following two commands:

      'file_io' ⎕FX 'IO'
      IO[0] 0

Then the following exception is displayed:

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

----------------------------------------
-- Stack trace at main.cc:119
----------------------------------------
0x7f173710cde5 __libc_start_main
0x434b6d  main
0x5205ad   Workspace::immediate_execution(bool)
0x46291d    Command::process_line()
0x46181b     Command::process_line(UCS_string&)
0x46a7e8      Executable::execute_body() const
0x4df3a0       StateIndicator::run()
0x48c98a        Prefix::reduce_statements()
0x488ef7         Prefix::reduce_MISC_F_C_B()
0x4e0564          StateIndicator::eval_XB(Token&, Token&, Token&)
0x480fc4           NativeFunction::eval_XB(Value_P, Value_P)
0x7f1721f520dd            
0x7f1738966bb0             
0x47978a              
========================================
====================================================

Regards,
Elias



reply via email to

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