New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hang in test suite on 4.4.0 beta2: "'.../@ftp/dir.m' has been modified by another application" #69
Comments
I got around this by watching for the editor to pop up, and then manually closing all the files it had open, while the test suite was still running. Ugly hack, but it got me through the test suite so I could see what was still failing. |
The dialog hang might be a transient issue. I ran the test suite in the GUI again, with no significant changes, and kept my hands off it, leaving those files up. The dialog didn't appear. Ran Exited, ran a new session, and got the dialog hang on the first run of The file "ftp.m" is the leftmost tab in the list of files in the editor. There may not be anything special about that file aside from the fact that it's open and first in the list; maybe all the files in the editor are hitting conditions where they are seen as "modified", and ftp.m is just the first one Octave mentions. When the hang happens, Activity Monitor shows no significant CPU being used by I've also rerun the test suite and gotten the dialog but not had it be unresponsive, so it doesn't actually hang; you can hit "No" and continue. When this happens, it's only the one dialog about |
Aha! I got the hang running an Octave.app built against the regular, non-patched Qt. Which means maybe we can use our patch after all without introducing additional errors. In this one, I had the Editor window undocked (something I had done in a previous session), and it hung only the Editor window; the Command Window proceeded to finish the tests, and remained responsive. |
I'm not going to close this yet, but I think this is just a bug in the upstream Qt GUI, so it's not a blocker for the release of Octave.app 4.4.0. |
Since I've run in to this a few times with non-patched Qt, I'm okay with saying this is not Octave.app-specific, and not a blocker for the 4.4.0 release. Changing this to low priority. Will report upstream. |
Reported upstream: https://savannah.gnu.org/bugs/index.php?54173 |
The editor window initially pops up right around here in the test suite.
If you close it manually, it pops back up a couple times later on in the test suite. |
Related upstream bug, for the opening of the files in the editor in the first place: https://savannah.gnu.org/bugs/?49119 |
As a workaround, if you just undock the Editor window in your session and leave it that way, then only the Editor window will hang, and the main Octave GUI and Command Window will keep going and stay responsive. |
Another workaround: under Settings > Editor, enable "Reload externally changed files without prompt". No hangs under this setting! |
I'd say that this bug should not stop us from a release. It's known upstream and it probably affects no user (running the tests manually is not a common thing). |
I agree. Moving the milestone for this to "The Future" to indicate it's not a blocker for 4.4.0. |
The hang no longer happens for me with Octave 4.4.1. Looks like it was fixed upstream. Closing as fixed. |
The hang is back in 4.4.1. Reopening. |
@apjanke, I'm also facing the same issue. Is there any way to resolve it? |
@PRUBHTEJ Can you try the new 6.0.90 Release Candidate beta and see if it happens there? https://github.com/octave-app/octave-app/releases/tag/v6.0.90-rc1 We're far enough behind upstream's releases now that I'm kind of dubious about getting more fixes into the 4.x series. |
Sure!! |
A long way in to running the test suite in the GUI, it switches to the editor and pops up this dialog. The dialog is unresponsive, so this effectively hangs Octave.
This is with the Ghostscript fix and the Qt patch to remove FSEventStreamFlushSync() applied.
The files
dir.m
,set.m
,quantile.m
, andls.m
are open in the editor when this happened. I didn't start out with any files open in the editor.The text was updated successfully, but these errors were encountered: