bugGNU Octave - Bugs: bug #48273, Race condition in OpenGL plotting

 
 

bug #48273: Race condition in OpenGL plotting

Submitted by:  Muhali <muhali>
Submitted on:  Mon 20 Jun 2016 09:11:46 AM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: MuhaliOpen/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Tue 28 Jun 2016 12:11:13 AM UTC, comment #6:

Ok, I can confirm on the default branch with n=10 or higher.

Mike Miller <mtmiller>
Project Administrator
Tue 21 Jun 2016 11:01:57 PM UTC, comment #5:

I could also reproduce it on the default branch under Linux Mint Debian Edition.

I'm not sure of the specs of my video system, but lshw gives

Lachlan Andrew <lachlan>
Project Member
Tue 21 Jun 2016 09:36:03 PM UTC, comment #4:

This is a problem for me on the default branch. Increasing
n also makes it worse. Try n=20.
Also, it fails in the same way using qt and fltk.

It would be useful to determine on which systems this
is a problem and on which it always succeeds.

My system is Fedora 23 Intel NUC5i5RYH.

Of course, the final print command must be left out
since it always seg faults as is well-known.

Michael Godfrey <godfrey>
Project Member
Tue 21 Jun 2016 05:38:47 PM UTC, comment #3:

This is not a problem for me on the default branch. Can you reproduce this on the default branch or only with 4.0.2?

If this only affects 4.0.2, I'm not sure it's worth pursuing for a possible stable bug fix, but don't let me stop you if you want to debug it.

Mike Miller <mtmiller>
Project Administrator
Tue 21 Jun 2016 07:20:31 AM UTC, comment #2:

I'm renaming this from "subplot(9,1,.) gives garbage", and linking to two other problems with race conditions in the GUI. Both of those result in segfaults, so I don't think this is a duplicate of either of them.

Lachlan Andrew <lachlan>
Project Member
Mon 20 Jun 2016 10:44:34 AM UTC, comment #1:

There has been a long-standing race condition in the
graphics code, but I am not sure if there is an open
bug report specifically on this. If not, this report
could be retitled, and the example can be used for debugging.

Michael Godfrey <godfrey>
Project Member
Mon 20 Jun 2016 09:11:46 AM UTC, original submission:

By running

as a script I get garbage with n>8 (see attached figure). By running interactively or by including the pause statement it works. Same for fltk.

Muhali <muhali>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #37529:  foo.png added by muhali (8KiB - image/png)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by lachlan (Posted a comment)
  • -unavailable- added by godfrey (Posted a comment)
  • -unavailable- added by muhali (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 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 21 Jun 2016 11:01:57 PM UTClachlanRelease4.0.2=>dev
    Tue 21 Jun 2016 07:23:53 AM UTClachlanDependencies-=>Depends on bugs #46501
    Tue 21 Jun 2016 07:20:31 AM UTClachlanItem GroupNone=>Incorrect Result
      StatusNone=>Confirmed
      Originator Name=>Muhali
      Summarysubplot(9,1,.) gives garbage=>Race condition in OpenGL plotting
      Dependencies-=>Depends on bugs #47650
    Mon 20 Jun 2016 09:11:46 AM UTCmuhaliAttached File-=>Added foo.png, #37529

    Back to the top


    Powered by Savane 3.1-cleanup1