octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #55013] Terminate on start ('std::out_of_range


From: Rik
Subject: [Octave-bug-tracker] [bug #55013] Terminate on start ('std::out_of_range')
Date: Thu, 15 Nov 2018 17:44:59 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063

Update of bug #55013 (project octave):

                  Status:                 Invalid => Patch Submitted        

    _______________________________________________________

Follow-up Comment #13:

Attached is a changeset that appears to solve the problem for me.  Now when
starting I get


$ octave -f -q
warning: {.: Unmatched {
warning: called from
    /home/rik/local/lib/octave/5.0.0/oct/x86_64-pc-linux-gnu/PKG_ADD at line 4
column 1


This is the warning that is in kpse.cc and is supposed to be triggered.


      /* What if there isn't a matching close brace? */
      if (! c)
        {
          (*current_liboctave_warning_with_id_handler)
            ("Octave:pathsearch-syntax",
             "%s: Unmatched {", text.c_str ());

          result = std::list<std::string> (1, text);
        }


It might make sense to add to the warning message because, while the code
doesn't segfault anymore, I would have a hard time debugging this back to a
typo in the PATH variable.



(file #45440)
    _______________________________________________________

Additional Item Attachment:

File name: kpse.cset                      Size:0 KB


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55013>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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