bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Crash when using format by example


From: Elias Mårtenson
Subject: [Bug-apl] Crash when using format by example
Date: Tue, 3 Jun 2014 13:31:18 +0800

To reproduce, type the following:

      'X4.555555Y' ⍕ 12345.98765

This results in the following stack trace:

==============================================================================
Assertion failed: dlen < data_buf_len
in Function:      fill_data_fields
in file:          Bif_F12_FORMAT.cc:672

Call stack:

----------------------------------------
-- Stack trace at Bif_F12_FORMAT.cc:672
----------------------------------------
0x7f3b1a965000 __libc_start_main
0x4cbb28  main
0x567744   Workspace::immediate_execution(bool)
0x4a7934    Command::process_line()
0x4a878d     Command::process_line(UCS_string&)
0x4bc351      Executable::execute_body() const
0x525c36       StateIndicator::run()
0x4dadcd        Prefix::reduce_statements()
0x4db66f         Prefix::reduce_A_F_B_()
0x526b1c          StateIndicator::eval_AB(Token&, Token&, Token&)
0x48d526           Bif_F12_FORMAT::eval_AB(Value_P, Value_P)
0x48df4d            Bif_F12_FORMAT::format_by_example(Value_P, Value_P)
0x48e4bd             Bif_F12_FORMAT::Format_LIFER::format_example(double)
0x48fac7              Bif_F12_FORMAT::Format_LIFER::fill_data_fields(double, UCS_string&, UCS_string&, UCS_string&)
0x48a162               do_Assert(char const*, char const*, char const*, int)
========================================

SI stack:

Depth:    0
Exec:     0x16d4eb0
Safe ex:  no
Pmode:    ◊  'X4.555555Y' ⍕ 12345.98765
PC:       3 ENDL
Stat:     'X4.555555Y' ⍕ 12345.98765
err_code: 0x0
thrown:   at StateIndicator.cc:41
e_msg_1:  'No Error'
e_msg_2:  ''
e_msg_3:  ''


==============================================================================
DOMAIN ERROR
      'X4.555555Y'⍕12345.98765
      ^

Regards,
Elias

reply via email to

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