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

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

[Octave-bug-tracker] [bug #57730] Segmentation fault attempting to insta


From: Allen Windhorn
Subject: [Octave-bug-tracker] [bug #57730] Segmentation fault attempting to install packages
Date: Thu, 13 Feb 2020 14:53:51 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36

Follow-up Comment #24, bug #57730 (project octave):


[comment #23 comment #23:]
> ...You may not have permission to remove things from the global PATH, but
can you try reducing the number of directories that are in PATH inside of
Octave by using setenv("PATH", "...")? The new value of PATH in Octave should
be inherited by any programs started from Octave.

Yes, that does need cleaning up -- everything wants to be on the path.

> Since the sh.exe included with Octave works for everyone else, my guess is
that the more additional programs and bundles that are included in the PATH
variable, the more likely that some program or DLL will interfere with the
expected behavior...

It didn't occur to me that sh would be using DLLs, but if it is, I would
expect it to look in its own directory first.  Anyway, I changed the path in
.octaverc:

>> system("PATH")
PATH=c:\Octave\Octave-5.2.0-w64\usr\bin;c:\Octave\Octave-5.2.0-w64\mingw64\bin;c:\MinGW\bin;
ans = 0

>> system("sh")
sh-4.4$ ls
Segmentation fault
sh-4.4$

And when I do "sh" in the Octave directory, and use any filesystem command, I
get the same segmentation fault.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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