bugGNU Octave - Bugs: bug #55053, GUI hanging when editing and...

 
 

bug #55053: GUI hanging when editing and saving function file during debugging

Submitter:  Georg Wiora <gwiora>
Submitted:  Mon 19 Nov 2018 09:09:23 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Need Info Assigned to:  None
Originator Name:  gwiora Open/Closed:  * Closed
Release:  * 4.4.1 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 25 Feb 2022 08:35:14 AM UTC, comment #8: 

I have not seen this problem since octave v6. From my side this bug could be closed.

Georg Wiora <gwiora>
Mon 11 Mar 2019 07:28:38 AM UTC, comment #7: 

I just updated to V5.1 on windows 7 and will comment here if I see the problem again. Thanks!

Georg Wiora <gwiora>
Sun 10 Mar 2019 07:06:15 PM UTC, comment #6: 

No response, asumming this has been fixed in the latest release.  Closing report.

Rik <rik5>
Group administrator
Sat 02 Mar 2019 08:59:55 PM UTC, comment #5: 

Version 4.4.1 is deprecated and no longer supported.  Please try with the latest stable release which is 5.1.0.  The problem is likely to have been fixed.

Rik <rik5>
Group administrator
Mon 07 Jan 2019 07:29:33 AM UTC, comment #4: 

Thank you Philip for your constant testing!

I am using Octave 64-bit version. There is only a minimum of company installed software and policies on my machine. The files I work on are on a private disk drive, so I can exclude simultaneous access. I have a virus scanner of course, but this should interact with other programs in the same way as with octave. I never experienced problems from this side.

My guess goes more to the quite instable interaction of octave with my graphics hardware (Intel HD Graphics 520, Shader-Version 5.0, openGL-Version 4.4, openCL Version 2.0, DirectX Version 11.0).

I have posted a few bugs concerning this. I can not exclude that the GUI hangs when trying to change some window focus or whatever graphical operation happening in background.

Georg Wiora <gwiora>
Sat 22 Dec 2018 11:03:29 PM UTC, comment #3: 

I'm doing all the time what the OP reports on a variety of Windows PCs (physical HW and virtual / remote, Win10 and Win7), and I never experienced hangs or crashes. The mechanism that Torsten describes works very reliably for me.
But then I've been running bleeding edge 5.0.0 development versions (now 6.0.0), not 4.4.1. Maybe that offers hope that in the next release this bug is no more present.

To the OP (Georg):
Do you run a 32-bit or 64-bit version of Octave?
Could it be related to your HW and SW environment? like malware scanners, sysadmin-installed SW that is monitoring for suspect activities of running software, company-wide installed Windows policies, etc? Maybe other users accessing the same file?
What you describe smells of the function file on disk being somehow locked by other processes.

Philip Nienhuis <philipnienhuis>
Group Member
Mon 26 Nov 2018 07:55:39 AM UTC, comment #2: 

Sorry, my description was imprecise in point 5.

As you wrote a dialog pops up, you answer "save" to stop debugging and save the file. This is the point where octave GUI frequently stops responding.

Currently I have no idea which steps exactly are needed to reproduce the behavior. I experience this behavior 10 or 20 times a day for some of my programs and never for some others. It may have to do with debugging functions vs. scripts. Or it may be triggered by a certain level of nested function calls?

Georg Wiora <gwiora>
Sat 24 Nov 2018 05:42:49 PM UTC, comment #1: 

Thank you for the report.

The steps to reproduce are not fully clear to me. When editing a function that is currently debugged, i.e., the debugging pointer is in the related file, saving the file opens a dialog. This dialog allows to stop debugging and save the file or to cancel saving the file. Therefore, it is not possible to stop debugging in step 5 after having saved the file in step 4.

Torsten Lilge <ttl>
Group Member
Mon 19 Nov 2018 09:09:23 AM UTC, original submission:  

During debugging a function I often make changes to the function to correct its behavior. The GUI frequently hangs when saving this changes before stopping debugging. This does not happen every time but when doing it frequently it does happen sooner or later.

Steps to reproduce are:

  1. Set a break point into a function with GUI
  2. Run function until break point
  3. Do some editing
  4. Press Ctrl+s to save changed function
  5. if GUI continues to work, stop debugging and repeat procedure from step 1.




Georg Wiora <gwiora>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by gwiora (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
    2019-03-10 rik5 Open/ClosedOpen Closed
    2019-03-02 rik5 StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code