bugGNU Octave - Bugs: bug #48948, closing multiple gnuplot plots w....

 
 

bug #48948: closing multiple gnuplot plots w. close button hangs Octave on Windows

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Tue 30 Aug 2016 10:12:54 AM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Works For Me Assigned to:  None
Originator Name:  philipnienhuis Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 22 Sep 2017 05:00:43 PM UTC, comment #5: 

Tested on Windows 10 with hg id 9c198d1c84cd, this works for me, too. Closing report.

Markus Mützel <mmuetzel>
Group administrator
Wed 20 Sep 2017 07:37:34 PM UTC, comment #4: 

(Thanks for the nudge Mike)

With a tip of Sep. 20 this bug cannot be reproduced.
I'll set status to "Works for me" and await if Markus can confirm.

Philip Nienhuis <philipnienhuis>
Group Member
Wed 20 Sep 2017 05:55:39 PM UTC, comment #3: 

Does this bug still exist on current development builds on Windows? Does it affect both the command-line and GUI interfaces? Does setting GNUTERM to "windows" or "wxt" make any difference?

Mike Miller <mtmiller>
Group Member
Fri 02 Sep 2016 07:39:37 PM UTC, comment #2: 

I can reproduce this on Windows with the steps in comment #0. It is still possible to close the gnuplot windows manually. But even if I close all of them, Octave still hangs indefinitely...

Markus Mützel <mmuetzel>
Group administrator
Fri 02 Sep 2016 05:18:11 PM UTC, comment #1: 

Comparing with 4.0.3 this is a regression but on Windows only - 4.0.3 has no problems closing 50 gnuplot invocations on Windows 7. Manually closing the gnuplot invocations or not makes no difference.
I've marked it as regression for now but I have no idea if it counts as a blocker for 4.2.

On Linux the example in the original report works flawlessly with the stable and development version.

Philip Nienhuis <philipnienhuis>
Group Member
Tue 30 Aug 2016 10:12:54 AM UTC, original submission:  

Octave-4.1.0+ from Aug. 26 (I think it was 6cbbd550aa91 "allow subsasgn ..."); cross-built with --enable-windows-64

Steps to reproduce:

graphics_toolkit gnuplot
for ii=1:50
figure(); plot (1:10)
endfor
==> Task Manager ("processes tab") shows 50 gnuplot invocations
==> close all works still fine, all those gnuplot processes disappear.

But then:
---------
for ii=1:50
figure(); plot (1:10)
endfor

Now, close a few of the plot windows using their close buttons
Only then type: close all

==> Octave hangs as soon as more then 4 to 5 gnuplot windows are closed with the close button.
The gnuplot process are still connected to Octave. Killing Octave using "End process tree" terminates Octave and all of its gnuplot subprocesses.
A second Octave invocation with its own gnuplot windows is left untouched.

Philip Nienhuis <philipnienhuis>
Group Member

 

(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 mtmiller (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by philipnienhuis (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-09-22 mmuetzel Open/ClosedOpen Closed
    2017-09-20 philipnienhuis StatusNone Works For Me
    2017-09-20 mtmiller Summary[MXE] closing multiple gnuplot plots w. close button hangs Octave closing multiple gnuplot plots w. close button hangs Octave on Windows
    2016-09-02 philipnienhuis Item GroupSegfault, Bus Error, etc. Regression

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code