[Top][All Lists]

[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

>> system("PATH")
ans = 0

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

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:


  Message sent via Savannah

reply via email to

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