bugGNU Octave - Bugs: bug #37750, segfault when parenting gca to...

 
 

bug #37750: segfault when parenting gca to hggroup

Submitted by:  Muhali <muhali>
Submitted on:  Thu 15 Nov 2012 03:45:14 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Crash
Status: FixedAssigned to: Jordi Gutiérrez Hermoso <jordigh>
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich 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)

Sat 12 Oct 2013 04:25:25 AM UTC, comment #6:

I checked in a more complicated fix for the remaining issue (http://hg.savannah.gnu.org/hgweb/octave/rev/cd5a6008ae72). Closing report.

Rik <rik5>
Project Administrator
Fri 11 Oct 2013 12:49:41 AM UTC, comment #5:

I checked in a partial fix (http://hg.savannah.gnu.org/hgweb/octave/rev/82b1778798d3) which avoids setting the parent object to be the object itself. Thus,

no longer causes a segfault.

However, there is still a problem with the hggroup example. I've re-titled the bug to reflect that.

Rik <rik5>
Project Administrator
Thu 15 Nov 2012 04:35:39 PM UTC, comment #4:

It doesn't seem to be recursive, but it is. It's the same problem.

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Thu 15 Nov 2012 04:32:11 PM UTC, comment #3:

note that this also creates a segfault:

and it does not seem to be recursive.

Muhali <muhali>
Thu 15 Nov 2012 04:26:05 PM UTC, comment #2:

Hah! Looks like this makes base_properties::mark_modified call itself recursively forever.

The issue with the gcf calling form seems unrelated. Please file a separate report for that.

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Thu 15 Nov 2012 04:22:48 PM UTC, comment #1:

Thanks, I like killing segfaults. I'll investigate this problem.

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Thu 15 Nov 2012 03:45:14 PM UTC, original submission:

The following segfaults octave.

This may not be the wisest thing to do, but interestingly, when for some figure I repeatedly do

the figure keeps changing, which is not what I would expect.

Muhali <muhali>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by bpabbott
  • -unavailable- added by jordigh (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 12 Oct 2013 04:25:25 AM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Fri 11 Oct 2013 12:49:41 AM UTCrik5Summarysegfault with \'set(gca, "parent", gca)\'=>segfault when parenting gca to hggroup
    Sat 15 Dec 2012 04:43:26 AM UTCbpabbottCarbon-Copy-=>Added -unavailable-
    Thu 15 Nov 2012 04:22:48 PM UTCjordighStatusNone=>Confirmed
      Assigned toNone=>jordigh

    Back to the top


    Powered by Savane 3.1-cleanup