bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Quad-FX crashes when passed an empty string


From: Juergen Sauermann
Subject: Re: [Bug-apl] Quad-FX crashes when passed an empty string
Date: Thu, 10 Apr 2014 16:57:24 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Elias,

thanks. fixed in SVN 197.

/// Jürgen


On 04/10/2014 07:32 AM, Elias Mårtenson wrote:
To reproduce, type the following:

'' ⎕FX 'E'

This results in the following error:

items_allocated = 4
items[0] = 
idx = 0

==============================================================================
Assertion failed: 0 && "Bad index"
in Function:      operator[]
in file:          Simple_string.hh:149

Call stack:

----------------------------------------
-- Stack trace at Simple_string.hh:149
----------------------------------------
0x7f111fae0b05 __libc_start_main
0x435255  main
0x52153d   Workspace::immediate_execution(bool)
0x46262d    Command::process_line()
0x46151e     Command::process_line(UCS_string&)
0x46a425      Executable::execute_body() const
0x4e0290       StateIndicator::run()
0x48cb0a        Prefix::reduce_statements()
0x488e83         Prefix::reduce_A_F_B_()
0x4e1131          StateIndicator::eval_AB(Token&, Token&, Token&)
0x4c57b6           Quad_FX::eval_AB(Value_P, Value_P)
0x4c5353            Quad_FX::do_native_FX(Value_P, int, Value_P)
0x483593             NativeFunction::fix(UCS_string const&, UCS_string const&)
0x482db5              NativeFunction::NativeFunction(UCS_string const&, UCS_string const&)
0x482c48               NativeFunction::open_so_file()
0x480602                
0x4434d1                 do_Assert(char const*, char const*, char const*, int)
========================================

SI stack:

Depth:    0
Exec:     0xeb2140
Pmode:    ◊  '' ⎕FX 'E'
PC:       3 ENDL
Stat:     '' ⎕FX 'E'
err_code: 0x0
thrown:   at StateIndicator.cc:40
e_msg_1:  'No Error'
e_msg_2:  ''
e_msg_3:  ''


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

----------------------------------------
-- Stack trace at StateIndicator.cc:690
----------------------------------------
0x7f111fae0b05 __libc_start_main
0x435255  main
0x52153d   Workspace::immediate_execution(bool)
0x46262d    Command::process_line()
0x46151e     Command::process_line(UCS_string&)
0x46a425      Executable::execute_body() const
0x4e0290       StateIndicator::run()
0x48cb0a        Prefix::reduce_statements()
0x488e83         Prefix::reduce_A_F_B_()
0x4e1303          StateIndicator::eval_AB(Token&, Token&, Token&)
========================================

Regards,
Elias


reply via email to

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