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

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

[Octave-bug-tracker] [bug #55258] Recursion causes a Segmentation Fault


From: Rob Frohne
Subject: [Octave-bug-tracker] [bug #55258] Recursion causes a Segmentation Fault
Date: Thu, 20 Dec 2018 17:14:23 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?55258>

                 Summary: Recursion causes a Segmentation Fault
                 Project: GNU Octave
            Submitted by: frohro
            Submitted on: Thu 20 Dec 2018 10:14:22 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: Rob Frohne
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I have this script called test2.m below.  If I select the cancel button on the
file dialog, it will cause a segmentation fault.  If I remove the recursive
call to itself, it is fine.

switch (questdlg("Do you wish to load a calibration from disk?"));
case 'Yes'
  calFile = uigetfile();
  if calFile != 0
    load (calFile, 'fMin', 'fMax','nFreq', 'H1thru','H1iso');
  else
    test2;
    return
  endif
  case {'No' 'Cancel'}
    return
end



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 20 Dec 2018 10:14:22 PM UTC  Name: test2.m  Size: 257B   By: frohro

<http://savannah.gnu.org/bugs/download.php?file_id=45708>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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