bugGNU Octave - Bugs: bug #63932, Re: Saving files causes app to...

 
 

bug #63932: Re: Saving files causes app to lockup/hang

Submitter:  None
Submitted:  Thu 16 Mar 2023 05:28:11 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Razorfin Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 8.1.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 12 Jan 2024 05:58:32 PM UTC, comment #6: 

no comment in almost a year.  assuming that the problem was fixed with the opengl switch and closing report.

Nicholas Jankowski <nrjank>
Group Member
Tue 21 Mar 2023 03:03:42 PM UTC, comment #5: 

You do not need to reinstall. There is a small utility program
called "Opengl Switcher"  which is installed together with octave.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Tue 21 Mar 2023 03:01:14 PM UTC, comment #4: 

After reinstalling with the Opengl switcher, both issues seem to have gone away.  I don't suppose there's a way to switch on the fly without having to reinstall?

comment #3:

> WRT p.2 -- change the opengl driver (there is a "Opengl Switcher"
> utility in the octave installation) from "System" to "Software".
>
> p.1 is something different and may indeed related to https://savannah.gnu.org/bugs/?59711
> and we need to investigate further (I cannot reproduce it on my machine). Do you have any network shares? Anti-virus? Is it a stock Windows installation, or it is some kind of modification to work in a specific corporate environment?
>
> Dmitri.
> --
>

Anonymous
Mon 20 Mar 2023 03:28:15 PM UTC, comment #3: 

WRT p.2 -- change the opengl driver (there is a "Opengl Switcher"
utility in the octave installation) from "System" to "Software".

p.1 is something different and may indeed related to https://savannah.gnu.org/bugs/?59711
and we need to investigate further (I cannot reproduce it on my machine). Do you have any network shares? Anti-virus? Is it a stock Windows installation, or it is some kind of modification to work in a specific corporate environment?

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Mon 20 Mar 2023 03:05:23 PM UTC, comment #2: 

comment #1:

> https://savannah.gnu.org/bugs/?59711


It's not clear that this addresses the two issues reported here.  The first one being copying a file (maybe it's related, although the link above seems to discuss changing directories).  And the second issue is that saving a file as a pdf locks up Octave entirely.

Are these related to the link posted above?

Anonymous
Fri 17 Mar 2023 12:56:30 PM UTC, comment #1: 
Anonymous
Thu 16 Mar 2023 05:28:11 PM UTC, original submission:  

After upgrading to 8.1.0, I seem to be having performance issues that did not exist on my machine with pervious versions.  I am unsure if these two issues are related.

Example is included below with descriptions:

1. A file called junk.txt is moved to a folder. This will typically take around 100 seconds in 8.1.0. Older versions of Octave would perform this task nearly instantaneously.

2. Trying to save the plot as a pdf will completely lockup Octave every time. I have left it running for 15 minutes or so and must kill the process.  It does open the plot and it does create the folder without issues. It also creates a blank pdf file with the appropriate name in the directory.  If I run the script using Octave CLI 8.1.0 a message appears while it is running "GL2PS warning: Unknown token in buffer".


  clear;
  dateandtime=clock;%Parse Date and Time to Create Folder
  yyyy=dateandtime(1);
  mm=dateandtime(2);
  dd=dateandtime(3);
  hh=dateandtime(4);
  min=dateandtime(5);
  sec=floor(dateandtime(6));
  folder=[num2str(yyyy) '_' num2str(mm) '_' num2str(dd) '-' num2str(hh) 'h' num2str(min) 'm' num2str(sec) 's'];

  mkdir(folder);
  copyfile('junk.txt',folder);

  h1=figure(1);
  x=1:10;
  y=x.^2;
  plot(x,y);

  saveas(h1,fullfile(folder,"testplot"),"pdf")


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nrjank (Posted a comment)
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-12 nrjank StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code