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

 
 

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

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Tue 30 Aug 2016 10:12:54 AM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: Works For MeAssigned to: None
Originator Name: philipnienhuisOpen/Closed: Closed
Release: devOperating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project Member
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>
Project 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>
Project Administrator
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>
Project Member
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>
Project 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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by mmuetzel (Posted a comment)
  • -unavailable- added by philipnienhuis (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 22 Sep 2017 05:00:43 PM UTCmmuetzelOpen/ClosedOpen=>Closed
    Wed 20 Sep 2017 07:37:34 PM UTCphilipnienhuisStatusNone=>Works For Me
    Wed 20 Sep 2017 05:55:39 PM UTCmtmillerSummary[MXE] closing multiple gnuplot plots w. close button hangs Octave=>closing multiple gnuplot plots w. close button hangs Octave on Windows
    Fri 02 Sep 2016 05:18:11 PM UTCphilipnienhuisItem GroupSegfault, Bus Error, etc.=>Regression

    Back to the top


    Powered by Savane 3.1-cleanup1