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

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

[Octave-bug-tracker] [bug #55046] Crash with trivial script on dev


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #55046] Crash with trivial script on dev
Date: Sat, 17 Nov 2018 18:15:59 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36

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

                 Summary: Crash with trivial script on dev
                 Project: GNU Octave
            Submitted by: siko1056
            Submitted on: Sun 18 Nov 2018 12:15:57 AM CET
                Category: Interpreter
                Severity: 4 - Important
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

While hunting for another bug, I figured out the following problem with hg-id
2eb71b83d3e2 to 91a791a00186 (latest by now)

The setup

$ find
.
./start_crash.m
./folder1
./folder1/somefunc.m


start_crash.m

addpath ('folder1');  % Bad name on load-path
somefunc ()



folder1/somefunc.m 

function somefunc ()
  cd ('..')
end


In Octave:

octave:1> start_crash
warning: load_path: folder1: No such file or directory
warning: called from
    somefunc at line 2 column 3
    start_crash at line 2 column 1
fatal: caught signal Segmentation fault -- stopping myself...
Segmentation fault (core dumped)


In Octave 4.4.1 I get the warning but no seg. fault.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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