bugGNU Octave - Bugs: bug #32747, spalloc segmentation fault


bug #32747: spalloc segmentation fault

Submitted by:  Marco Caliari <caliari>
Submitted on:  Fri 11 Mar 2011 09:22:27 AM UTC  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: Jordi Gutiérrez Hermoso <jordigh>
Originator Name: Open/Closed: Closed
Release: 3.4.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

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


Wed 16 Mar 2011 05:26:30 AM UTC, comment #5:

Confirmed that original code produces segmentation fault and that attached patch fixes it. This should be committed. Testing done with tip 12507:41d183070c04.

Rik <rik5>
Project Administrator
Tue 15 Mar 2011 08:06:43 AM UTC, comment #4:

Wonderful, great job!


Marco Caliari <caliari>
Project Member
Tue 15 Mar 2011 06:46:21 AM UTC, comment #3:

I have attached a patch that squashes this bug for me. I will wait for confirmation from other devs before pushing it.

(file #22929)

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Sat 12 Mar 2011 01:42:33 AM UTC, comment #2:

Brief update. After doing the hg bisect, the bad revision is: 10513:c5005bc2b7a9

And the commit message obviously lies. ;-)

I'll be looking at that changeset over the weekend and hopefully will have a patch ready.

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Fri 11 Mar 2011 03:43:47 PM UTC, comment #1:

Confirmed. It's nice that you've bracketed the bug between two revisions that are close to each other. I'm doing hg bisect on this in order to track down the bad changeset.

Jordi Gutiérrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Fri 11 Mar 2011 09:22:27 AM UTC, original submission:

Dear maintainers,

the following code

run once or twice, gives me a segmentation fault with 3.4.0 and 3.3.53. It is fine with 3.3.51 (I don't have 3.3.52) and previous versions. If I remove the first line, everything is fine.


Marco Caliari <caliari>
Project Member


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

Attach File(s):

Attached Files
file #22929:  squash-32747.patch added by jordigh (2KiB - text/x-patch - Bug-squashing patch)


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 jordigh (Posted a comment)
  • -unavailable- added by caliari (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
    Fri 18 Mar 2011 05:41:56 AM UTCrik5StatusPatch Submitted=>Fixed
    Tue 15 Mar 2011 01:18:36 PM UTCjordighStatusConfirmed=>Patch Submitted
    Tue 15 Mar 2011 06:46:21 AM UTCjordighAttached File-=>Added squash-32747.patch, #22929
    Fri 11 Mar 2011 03:43:47 PM UTCjordighStatusNone=>Confirmed
      Assigned toNone=>jordigh

    Back to the top

    Powered by Savane 3.1-cleanup1