Dear Juergen, A backup option on save is good. Thanks.
)SI not empty on that save sounds likely. There is no variable named Convt. There is a function with that name. There was no failed prior load. Does any of that help? I will try to reproduce. Thanks. Blake On Sat, Jun 21, 2014 at 7:56 AM, Juergen Sauermann < [email protected]> wrote: > 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 f*ile, 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_main > 0x4358c5 main > 0x52c47d 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() const > 0x7fb598166bb0 > 0x4870da > ======================================== > ==================================================== > > Goodbye. > > > > On Fri, Jun 20, 2014 at 12:00 PM, Blake McBride <[email protected]> > wrote: > >> )save >> >> >> ==================================================== >> SEGMENTATION FAULT >> >> ---------------------------------------- >> -- Stack trace at main.cc:121 >> ---------------------------------------- >> 0x7f9fcea00bb0 >> 0x4870da >> ======================================== >> ==================================================== >> >> Goodbye. >> >> > >
