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

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

[Octave-bug-tracker] [bug #57557] Segmentation fault on use of classdef


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #57557] Segmentation fault on use of classdef constant property
Date: Mon, 12 Jul 2021 10:40:11 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Update of bug #57557 (project octave):

                 Release:                   6.2.0 => dev                    

    _______________________________________________________

Follow-up Comment #7:

With the current sources, I see


octave:2> testCrashConstants
error: max_stack_depth exceeded
error: called from
    <unknown>


Running Octave with gdb and doing "catch throw" to find what is happening when
this error is thrown, I see that Octave is repeatedly parsing
testCrashConstants.m and calling "octave::tree_classdef::make_meta_class". 
Probably the solution is to defer initialization of property values until
classdef object has been completely parsed and installed.

Setting the release to "dev".

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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