bugGNU Octave - Bugs: bug #54440, Incorrect result when running code...

 
 

bug #54440: Incorrect result when running code vs. stepping through debugger

Submitted by:  None
Submitted on:  Fri 03 Aug 2018 05:52:07 PM UTC  
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Confirmed Assigned to:  None
Originator Name:  Dan Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  dev
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.

 

Fri 03 Aug 2018 09:31:49 PM UTC, comment #4:

Release -> dev.

This only happens with the qt toolkit.
with fltk all plots are reproduced w/o needing to add a delay (same for gnuplot).

Philip Nienhuis <philipnienhuis>
Project Member
Fri 03 Aug 2018 09:28:21 PM UTC, comment #3:

Looks like a race condition.
After adding a small delay ("pause (0.5)" after line 33 (close gcf) the script produces all six (identical) plots.

Philip Nienhuis <philipnienhuis>
Project Member
Fri 03 Aug 2018 07:39:39 PM UTC, comment #2:

Sorry, forgot to comment that out. The "nlist" variable is populated with some dummy data on the next line, so that file isn't necessary. I uploaded a fixed version to this comment.

(file #44701)

Anonymous
Fri 03 Aug 2018 07:22:18 PM UTC, comment #1:

The file 'node_list.txt' is missing.

Philip Nienhuis <philipnienhuis>
Project Member
Fri 03 Aug 2018 05:52:07 PM UTC, original submission:

When I run my code, it is not saving some plots as png file. It should be producing six png files, and when running it, it only produces four png files. When I step through the code in the debugger, it is producing all six png files. The behavior is consistent between the print() and saveas() commands.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #44701:  bug_test.m added by None (831B - text/plain)
file #44699:  bug_test.m added by None (865B - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by None (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-03 philipnienhuis Release4.4.0 => dev
    2018-08-03 philipnienhuis StatusNone => Confirmed
    2018-08-03 None Attached File- => Added bug_test.m, #44701
    2018-08-03 None Attached File- => Added bug_test.m, #44699

    Back to the top


    Powered by Savane 3.3