[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #36749] contour causes abort with certain inpu
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #36749] contour causes abort with certain input |
Date: |
Fri, 29 Jun 2012 15:16:29 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:10.0.5) Gecko/20100101 Firefox/10.0.5 |
URL:
<http://savannah.gnu.org/bugs/?36749>
Summary: contour causes abort with certain input
Project: GNU Octave
Submitted by: None
Submitted on: Fri 29 Jun 2012 03:16:28 PM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Crash
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.4
Operating System: GNU/Linux
_______________________________________________________
Details:
contourf() failed with what I believe to be valid input. I noticed it failed
in an if statement which only ran if the plot was filled, so I tried contour()
and Octave aborted.
This is running on Ubuntu 12.04 inside VirtualBox with a Windows XP host.
Steps to reproduce and output:
octave:1> load("crash");
octave:2> contourf(d2(:,1), d2(:,2), d2(:,4));
error: subscript indices must be either positive integers or logicals.
error: called from:
error: /usr/share/octave/3.2.4/m/plot/__contour__.m at line 109, column 8
error: /usr/share/octave/3.2.4/m/plot/contourf.m at line 73, column 5
octave:2> contour(d2(:,1), d2(:,2), d2(:,4));
octave: malloc.c:3683: __libc_malloc: Assertion `!victim ||
((((mchunkptr)((char*)(victim) - 2*(sizeof(size_t)))))->size & 0x2) || ar_ptr
== (((((mchunkptr)((char*)(victim) - 2*(sizeof(size_t)))))->size & 0x4) ?
((heap_info *)((unsigned long)(((mchunkptr)((char*)(victim) -
2*(sizeof(size_t))))) & ~((2 * (512 * 1024))-1)))->ar_ptr : &main_arena)'
failed.
panic: Aborted -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Aborted
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 29 Jun 2012 03:16:28 PM UTC Name: crash Size: 20kB By: None
<http://savannah.gnu.org/bugs/download.php?file_id=26120>
-------------------------------------------------------
Date: Fri 29 Jun 2012 03:16:28 PM UTC Name: octave-core Size: 29kB By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=26121>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36749>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #36749] contour causes abort with certain input,
anonymous <=