|
From: | Colin Verrilli |
Subject: | Re: [Bug-apl] assertion failure on )load |
Date: | Wed, 5 Nov 2014 10:11:38 -0500 |
Hi Colin,
thanks. The assertion on )LOAD was caused by the .xml file being truncated.
I have changed the )LOAD command to print a message when it detects a truncated .xml file.
I also changed the )COPY command to deal with truncated .xml files, provided that the truncation
happens late in the file (like in your case). You should now be able to )COPY the broken .xml file, SVN 503.
The root cause - the failed )SAVE - is not fixed yet. For that I would need more information such as
the printout when the )SAVE failed.
/// Jürgen
On 11/05/2014 03:07 AM, Colin Verrilli wrote:
I'm getting this assertion failure on a workspace )loadI can't )copy it eitherThe previous )save crashed also
This program is free software, and you are welcome to redistribute itaccording to the GNU Public License (GPL) version 3 or later.)load APL2_INTRO
==============================================================================Assertion failed: idx < items_validin Function: operator[]in file: Simple_string.hh:136
Call stack:
------------------------------------------ Stack trace at Simple_string.hh:136----------------------------------------0x43195865 __libc_start_main0x8085ca8 main0x81972f5 Workspace::immediate_execution(bool)0x80ca008 Command::process_line()0x80c9f28 Command::process_line(UCS_string&)0x80c979f Command::do_APL_command(std::ostream&, UCS_string&)0x819a759 Workspace::load_WS(std::ostream&, std::vector<UCS_string, std::allocator<UCS_string> > const&, UCS_string&)0x8091dc8 XML_Loading_Archive::read_Workspace()0x808efcc XML_Loading_Archive::read_StateIndicator()0x808e9e8 XML_Loading_Archive::read_Parsers(StateIndicator&)0x80d297e throw_apl_error(ErrorCode, char const*)0x8151835 StateIndicator::update_error_info(Error&)0x80d3f96 Executable::set_error_info(Error&, Function_PC2) const0x80837e50x809434a do_Assert(char const*, char const*, char const*, int)========================================
SI stack:
Depth: 0Exec: 0x8b41a48Safe ex: noPmode: ◊ 2 2⊃VPC: 0==============================================================================Assertion failed: idx < items_validin Function: operator[]in file: Simple_string.hh:136
Call stack:*** do_Assert() called recursively ***==============================================================================*** immediate_execution() caught other exception ***
[Prev in Thread] | Current Thread | [Next in Thread] |