bugGNU Octave - Bugs: bug #44459, Plotting with Qt or FLTK crashes...

 
 

bug #44459: Plotting with Qt or FLTK crashes Octave once in a while

Submitter:  Lutz Mager <rocketsound>
Submitted:  Fri 06 Mar 2015 09:44:35 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.0.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 03 Dec 2015 04:34:32 AM UTC, comment #6: 

I have just tried this with a Windows XP virtual machine.  The problem is present for the 4.0.0 version of Octave, but not for a development version of Octave (20787:62564952e161).  The problem appears to have been resolved, although it may require building a development version of Octave or waiting for the official 4.2 release.  Closing report.

Rik <rik5>
Group administrator
Wed 07 Oct 2015 02:54:43 AM UTC, comment #5: 

I am using Windows 7 32 bits.

A simple plot(1:10) will cause Octave to hang and then crash.  Octave runs at 50% CPU during the hang.

I have tried all of the plotting engines: qt, fltk, and gnuplot.

BTW, It worked after installation for a few days.  No packages installed, but then the problem began.  Seems related to the other reported plot crashes.

Rick <rickcand>
Wed 07 Oct 2015 02:50:29 AM UTC, comment #4: 

I am using Windows 7 32 bits.

A simple plot(1:10) will cause Octave to hang and then crash.  Octave runs at 50% CPU during the hang.

I have tried all of the plotting engines: qt, fltk, and gnuplot.

Anonymous
Tue 02 Jun 2015 04:37:18 PM UTC, comment #3: 

Retagging release from 4.0.0-rc1 to 4.0.0.

John W. Eaton <jwe>
Group administrator
Sat 07 Mar 2015 09:20:36 PM UTC, comment #2: 

Thanks for your bug report. Confirmed here in Windows XP as well. Crash occurs with either Qt of FLTK figures but not with Gnuplot.

This may be related to timing in OpenGL rendering, or may be limited to Windows XP only as Avinoam suggests.

Mike Miller <mtmiller>
Group Member
Sat 07 Mar 2015 09:11:09 PM UTC, comment #1: 

I have also seen a lot of crashes in Windows-XP.
In Win7 the code works fine

Avinoam Kalma <avinoam>
Group Member
Fri 06 Mar 2015 09:44:35 PM UTC, original submission:  

I tried some of the demos of the plot functions like quiver3, ellipsoid, waterfall and Octave crashed once in a while.

Sadly, I don't know any way how to reproduce the crash. Sometimes Octave crashes on the first try, sometimes after 20 tries, ... Just try some demos over and over and you will definitely trigger a crash.

But this crash isn't related to demos only, try this code


for i = 1:100
   close;
   figure;
   t = 0:0.1:10;
   x = 0.5*t.^2;
   plot(t, x);
   pause(0.15);
end
disp("done");


For me Octave always crashed before the loop terminated. So I guess the bug is related to plotting in general.

My plattfrom is Windows XP, 32 Bit

Lutz Mager <rocketsound>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by rickcand (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by avinoam (Posted a comment)
  • -email is unavailable- added by rocketsound (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-12-03 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2015-06-02 jwe Release4.0.0-rc1 4.0.0
    2015-03-07 mtmiller CategoryPlotting Plotting with OpenGL
        StatusNone Confirmed
        Summary[QtHandles] Plotting crashes Octave once in a while Plotting with Qt or FLTK crashes Octave once in a while

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code