bugGNU Octave - Bugs: bug #38840, glibc malloc error

 
 

bug #38840: glibc malloc error

Submitted by:  None
Submitted on:  Sat 27 Apr 2013 07:20:46 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: BorisOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.2
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 28 Apr 2013 01:33:17 AM UTC, comment #1:

The octave-core file is not a core dump file. It contains the top-level Octave workspace in a format that Octave can load so that you might recover work that you've done before the crash.

I can duplicate the crash with Octave 3.6.4, but I doubt that there will be another 3.6.x release.

With the current sources I see:

So the initial syntax error causes some trouble and apparently makes it impossible to define a function at the command line. Hmm.

I checked in the following change.

http://hg.savannah.gnu.org/hgweb/octave/rev/b678d2d10e53

This patch will not apply to the stable branch (3.6.x) so if you want the fix, you'll need to build the default development branch or wait for the next release.

John W. Eaton <jwe>
Project Administrator
Sat 27 Apr 2013 07:20:46 PM UTC, original submission:

When I quit from interpreter after this sequence of commands:

function = f(a)
function f(a)
printf("%d", a)
endfunction
f(42)
function a = f(a)
endfunction

I see:

      • glibc detected *** octave: malloc(): smallbin double linked list corrupted: 0x091cb938 ***

======= Backtrace: =========

P.S. Coredump in attachement

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #27962:  octave-core added by None (112B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by None (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 28 Apr 2013 01:33:17 AM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 27 Apr 2013 07:20:46 PM UTCNoneAttached File-=>Added octave-core, #27962

    Back to the top


    Powered by Savane 3.1-cleanup1