bugGNU Octave - Bugs: bug #49180, MXE Octave: running...


bug #49180: MXE Octave: running compare_plot_demos ("toolkits", "gnuplot") hangs Octave

Submitted by:  Avinoam Kalma <avinoam>
Submitted on:  Sun 25 Sep 2016 04:40:19 AM UTC  
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  4.2.0-rc2 Operating System:  Microsoft Windows

Add a New Comment (Rich Markup)

You are not logged in

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


Thu 13 Oct 2016 01:27:12 PM UTC, comment #5: 

@Hartmut observation was probably right.
Using last dev version, compare_plot_demos ("toolkits", "gnuplot")  does not hang Octave
(except one occasion, I will check this and send
another bug report). Probably because the fix in waitpid.

Closing as fixed. If there will be other complains, I will reopen.

Avinoam Kalma <avinoam>
Project Member
Fri 30 Sep 2016 06:02:13 PM UTC, comment #4: 

Maybe you could "climb down" into the code parts that sometimes "freeze" during compare_plot_demos and add some debugging lines like

disp('before waitpid')
waitpid (pid)
disp('after waitpid')

around the waitpid commands to check of the Octave waitpid command is the origin of those freezes as well. If you have a more clever idea for this, using the debugger, that might also help.

Hartmut <hardy>
Fri 30 Sep 2016 11:35:50 AM UTC, comment #3: 

@Hartmut: How can I check this?

Avinoam Kalma <avinoam>
Project Member
Thu 29 Sep 2016 11:40:25 AM UTC, comment #2: 

Can you try to check if the root cause of this observed behavior is maybe bug #49211 ?

Hartmut <hardy>
Tue 27 Sep 2016 05:27:48 PM UTC, comment #1: 

I think I have seen the very same: An

  • occasional hang-up
  • if I use "close"
  • directly after a "print" command
  • with the gnuplot graphics_toolkit
  • on a Windows machine (on both tested Win machines acutally)
  • (with a visible figure in this case).

It is described as a side note here: bug #49179, comment #11, 2nd main point. In comment #9 of this bug report is also a shorter script to reproduce this behavior.

Hartmut <hardy>
Sun 25 Sep 2016 04:40:19 AM UTC, original submission:  

Running compare_plot_demos ("toolkits", "gnuplot") from
m/testfun/private hangs Octave. Stopping with CTRL-C, it continues but hangs on other plot, and so on.

Trying to debug this behavior, it seems that the problem is
from the "close" commands inside the "print" command.

It is marked as regression because 4.0.3 does not show this problem 

Avinoam Kalma <avinoam>
Project Member


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

Attach Files:

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 hardy (Posted a comment)
  • -email is unavailable- added by avinoam (Submitted the item)

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

    Only project members can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-13 avinoam StatusNone => Fixed
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.5