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: Rik
Subject: [Octave-bug-tracker] [bug #55046] Crash with trivial script on dev
Date: Mon, 19 Nov 2018 12:55:12 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063

Follow-up Comment #2, bug #55046 (project octave):

Message truncated.  Re-posting.

I don't get a segfault, but there is certainly something weird going on.  I
have constructed the files and directory structure that you specified and
attached it as a tar.gz file to this report so that others can experiment more
quickly.

When I run start_crash the first time I get


>> 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
warning: load-path: update failed for '', removing from path
warning: called from
    somefunc at line 2 column 3
    start_crash at line 2 column 1


When I run it the second time I get


warning: load_path: folder1: No such file or directory
warning: load-path: update failed for '', removing from path
warning: load_path: folder1: No such file or directory
warning: load-path: update failed for '', removing from path
error: octave_base_value::user_code_value(): wrong type argument '<unknown
type>'


The warnings about a non-existent path ("folder1" in this case) are annoying
because they repeat every time one returns to the prompt.

Something that I think may be relevant is that 'folder1' is not an absolute
name.  I believe addpath is supposed to insure that relative paths are changed
to absolute ones before it updates the PATH variable.

I'm adding jwe to the CC list.


    _______________________________________________________

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]