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

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

[Octave-bug-tracker] [bug #47837] Segmentation fault with missing warnin


From: Guillaume
Subject: [Octave-bug-tracker] [bug #47837] Segmentation fault with missing warning state "all"
Date: Tue, 03 May 2016 15:01:19 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?47837>

                 Summary: Segmentation fault with missing warning state "all"
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Tue 03 May 2016 03:01:18 PM GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The following lines of code remove the warning state "all":


ws = warning;
ws.identifier
warning(ws);
ws = warning;
ws.identifier


This generates a segmentation fault when comparing objects with
isequal/isequaln:


>> isequal(inputParser,inputParser)
octave-gui: ../libinterp/corefcn/error.cc:1275: octave_scalar_map
warning_query(const string&): Assertion `found' failed.
panic: Aborted -- stopping myself...


According to the comment in error.cc, the warning state "all" should always be
present.


  // The warning state "all" is always supposed to remain in the list,
  // so we should always find a state, either explicitly or by using the
  // state for "all".





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47837>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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