|
From: | Blake McBride |
Subject: | Re: [Bug-apl] Crash on )SAVE |
Date: | Sat, 21 Jun 2014 08:54:42 -0500 |
Hi Blake,
I have changed the code so that a backup file is created before )SAVE and )DUMP.
This can be controlled via
BACKUP_BEFORE_SAVE yes
in the preferences file. SVN 337.
I would still be interested in why the )SAVE crashed. What I can see in the xml file is that the
)SI was not empty and an attempt to save the current statement failed. A variable Convt was
resolved to 0 and then Editf was called. I have found and corrected a fault in Archive.cc but
that would only explain a faulty .xml file, not a crash on )SAVE (unless a prior )LOAD failed
before and brought the workspace into an illegal state).
/// Jürgen
On 06/20/2014 07:03 PM, Blake McBride wrote:
Now, when trying to load the same WS I get the following. Note that unless I can load that workspace, I have lost everything I have done today. (I am using SVN 334).. Thx.
)load Utils
====================================================SEGMENTATION FAULT
------------------------------------------ Stack trace at main.cc:121----------------------------------------0x7fb59690cde5 __libc_start_main0x4358c5 main0x52c47d Workspace::immediate_execution(bool)0x46c935 Command::process_line()0x46c8cf Command::process_line(UCS_string&)0x46c285 Command::do_APL_command(std::ostream&, UCS_string&)0x5307fa Workspace::load_WS(std::ostream&, std::vector<UCS_string, std::allocator<UCS_string> > const&, UCS_string&)0x4414b4 XML_Loading_Archive::read_Workspace()0x43f12d XML_Loading_Archive::read_StateIndicator()0x43ef53 XML_Loading_Archive::read_Parsers(StateIndicator&)0x475650 throw_apl_error(ErrorCode, char const*)0x4e880a StateIndicator::update_error_info(Error&)0x49b039 Prefix::get_range_high() const0x7fb598166bb00x4870da============================================================================================
Goodbye.
On Fri, Jun 20, 2014 at 12:00 PM, Blake McBride <address@hidden> wrote:
)save
====================================================SEGMENTATION FAULT
------------------------------------------ Stack trace at main.cc:121----------------------------------------0x7f9fcea00bb00x4870da============================================================================================
Goodbye.
[Prev in Thread] | Current Thread | [Next in Thread] |