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 Nov 15 15:45:14 2012  
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
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 Oct 12 04:25:25 2013, 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 Oct 11 00:49:41 2013, 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 Nov 15 16:35:39 2012, 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 Nov 15 16:32:11 2012, comment #3:

note that this also creates a segfault:

and it does not seem to be recursive.

Muhali <muhali>
Thu Nov 15 16:26:05 2012, 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 Nov 15 16:22:48 2012, comment #1:

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

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Thu Nov 15 15:45:14 2012, 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):

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 Oct 12 04:25:25 2013rik5StatusConfirmed=>Fixed
    Fri Oct 11 00:49:41 2013rik5Summarysegfault with \'set(gca, "parent", gca)\'=>segfault when parenting gca to hggroup
    Sat Dec 15 04:43:26 2012bpabbottCarbon-Copy-=>Added -unavailable-
    Thu Nov 15 16:22:48 2012jordighStatusNone=>Confirmed
      Assigned toNone=>jordigh

    Back to the top

    Powered by Savane 3.1-cleanup1