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

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

[Octave-bug-tracker] [bug #34868] subsref crashes octave


From: Lukas Reichlin
Subject: [Octave-bug-tracker] [bug #34868] subsref crashes octave
Date: Sun, 20 Nov 2011 17:01:24 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22

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

                 Summary: subsref crashes octave
                 Project: GNU Octave
            Submitted by: paramaniac
            Submitted on: Sun 20 Nov 2011 05:01:20 PM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: paramaniac
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.3
        Operating System: Mac OS

    _______________________________________________________

Details:

I noticed that subsref can crash in some cases. A simple example I could find
is the following:


a = 1:4
b.type = "()"
b.subs = 1:2
subsref (a, b(2:end))

panic: impossible state reached in file `ov-range.cc' at line 116
panic: Abort trap: 6 -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Abort trap: 6


The problem originates from my upcoming quaternion package:
http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/extra/quaternion_oo/inst/%40quaternion/subsref.m?revision=9108&view=markup

The problem is described in the m-file above. It crashes as well, but the
panic
message is slightly different:

panic: impossible state reached in file `ov-base-mat.cc' at line 60





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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