bugGNU Octave - Bugs: bug #32165, 'figure' crashes with FLTK backend

 
 

bug #32165: 'figure' crashes with FLTK backend

Submitted by:  Søren Hauberg <hauberg>
Submitted on:  Tue 18 Jan 2011 10:37:52 AM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: Works For MeAssigned to: None
Originator Name: Open/Closed: Closed
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)

Thu 20 Jan 2011 10:30:11 PM UTC, comment #8:

I agree; this is a duplicate. I am closing this bug.

Søren Hauberg <hauberg>
Thu 20 Jan 2011 08:00:33 AM UTC, comment #7:

Isn't this a duplicate of

https://savannah.gnu.org/bugs/?31931

?

If so, can we close this report and redirect the discussion there, where I have proposed a patch (though unfortunately, it is not complete as I don't really understand the fltk code in Octave).

John W. Eaton <jwe>
Project Administrator
Thu 20 Jan 2011 07:34:16 AM UTC, comment #6:

I tried running

backend ("fltk"); figure (1, "visible", "off")

and Octave crashed. Backtrace is attached.

(file #22460)

Søren Hauberg <hauberg>
Wed 19 Jan 2011 07:39:35 PM UTC, comment #5:

Your backtrace looks very similar to the one reported here:
https://savannah.gnu.org/bugs/?31931

I may have some time tomorrow and have a closer look.

Soeren, can you try the command sequences that fail for Ben and report back if they fail for you as well.

Kai

Kai Habel <kahacjde>
Project Member
Wed 19 Jan 2011 02:19:30 PM UTC, comment #4:

I am using Ubuntu 10.10 with FLTK 1.1.10 on the intel graphics driver.

Søren Hauberg <hauberg>
Wed 19 Jan 2011 12:56:43 PM UTC, comment #3:

I think Ben has sent me a similar backtrace some time ago. I could not reproduce it at that time.

I suspect that something with the menubar it not correct. I will have look at my email when I am back home.

Which fltk version are you using? What distribution are you using? Which graphic driver?

Kai (not logged in)

Anonymous
Tue 18 Jan 2011 11:45:08 AM UTC, comment #2:

Like this? (I'm not really used to using gdb so I hope I did things correctly)

Søren

(file #22437)

Søren Hauberg <hauberg>
Tue 18 Jan 2011 10:51:34 AM UTC, comment #1:

I don't see this problem with a copy of Octave built from the current sources, or with 3.3.55, or 3.3.54.

How about running under gdb and getting a backtrace?

John W. Eaton <jwe>
Project Administrator
Tue 18 Jan 2011 10:37:52 AM UTC, original submission:

Hi All

With a recent tip I get a crash when I do

backend fltk
figure

If I instead do a

backend fltk
plot (1:10)

then a nice plot appears.

Søren Hauberg <hauberg>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #22460:  figure_vis_off_bt.txt added by hauberg (3KiB - text/plain)
file #22437:  figure_bt.txt added by hauberg (2KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by kahacjde (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by hauberg (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
    Thu 20 Jan 2011 10:30:11 PM UTChaubergOpen/ClosedOpen=>Closed
    Thu 20 Jan 2011 07:34:16 AM UTChaubergAttached File-=>Added figure_vis_off_bt.txt, #22460
    Tue 18 Jan 2011 11:45:08 AM UTChaubergAttached File-=>Added figure_bt.txt, #22437
    Tue 18 Jan 2011 10:51:34 AM UTCjweStatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1