[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52274] Segfault when calling previously used
From: |
Piotr Held |
Subject: |
[Octave-bug-tracker] [bug #52274] Segfault when calling previously used oct-file from deleted directory |
Date: |
Tue, 24 Oct 2017 12:52:27 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?52274>
Summary: Segfault when calling previously used oct-file from
deleted directory
Project: GNU Octave
Submitted by: jsoh425
Submitted on: Tue 24 Oct 2017 04:52:25 PM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Segfault, Bus Error, etc.
Status: None
Assigned to: None
Originator Name: Piotr Held
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
The scenario is as follows:
1. Open Octave in a directory (let's call it 'test').
2. Put an oct-file (e.g. helloworld.oct from the documentation) in a subdir
(let's call it 'oct_test', so the path to it is 'test/oct_test')
3. From octave do:
>>pwd
/some/path/to/test
>>addpath oct_test
>>helloworld
Hello World has 0 input arguments and 0 output arguments.
# Now delete the oct_test folder
>>helloworld
warning: load_path: oct_test: No such file or directory
Segmentation fault
This problem also is true when working with .mex files.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52274>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52274] Segfault when calling previously used oct-file from deleted directory,
Piotr Held <=