|
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 |
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_main0x434b6d main0x5205ad Workspace::immediate_execution(bool)0x46291d Command::process_line()0x46181b Command::process_line(UCS_string&)0x46a7e8 Executable::execute_body() const0x4df3a0 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)0x7f1721f520dd0x7f1738966bb00x47978a============================================================================================
Regards,Elias
[Prev in Thread] | Current Thread | [Next in Thread] |