[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41699] image package: imrotate causes a segme
From: |
Ian Journeaux |
Subject: |
[Octave-bug-tracker] [bug #41699] image package: imrotate causes a segmentation fault when exiting Octave |
Date: |
Wed, 26 Feb 2014 21:23:58 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36 |
Follow-up Comment #7, bug #41699 (project octave):
After some more testing, it appears that the problem is not related to the
version of the image package.
To eliminate memory as a possible issue, I reduced the size of the array
AI3c1=imread('AI3c70.tif');
AI3c = AI3c1(1:5,1:5)
AI3cr=imrotate(AI3c,5,'nearest','crop');
This still generates the error so I further simplified the test program to
just the 5x5 array read in from the image
AI3c1 = [88, 113, 120, 126, 132;
113, 142, 151, 161, 170;
120, 151, 161, 170, 179;
126, 161, 170, 179, 189;
132, 170, 179, 189, 198;]
AI3cr=imrotate(AI3c1,5,'nearest','crop');
This works. Then tried
AI3c2=imread('AI3c70.tif');
% AI3c2 is unused.
AI3c1 = [88, 113, 120, 126, 132;
113, 142, 151, 161, 170;
120, 151, 161, 170, 179;
126, 161, 170, 179, 189;
132, 170, 179, 189, 198;]
AI3cr=imrotate(AI3c1,5,'nearest','crop');
This results in the segmentation violation on exiting Octave.
It would appear that the problem is associated with imread.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41699>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41699] using imrotate causes a segmentation fault when exiting Octave, Ian Journeaux, 2014/02/25
- [Octave-bug-tracker] [bug #41699] using imrotate causes a segmentation fault when exiting Octave, Ian Journeaux, 2014/02/25
- [Octave-bug-tracker] [bug #41699] image package: imrotate causes a segmentation fault when exiting Octave, Carnë Draug, 2014/02/26
- [Octave-bug-tracker] [bug #41699] image package: imrotate causes a segmentation fault when exiting Octave, Ian Journeaux, 2014/02/26
- [Octave-bug-tracker] [bug #41699] image package: imrotate causes a segmentation fault when exiting Octave, Ian Journeaux, 2014/02/26
- [Octave-bug-tracker] [bug #41699] image package: imrotate causes a segmentation fault when exiting Octave, Ian Journeaux, 2014/02/26
- [Octave-bug-tracker] [bug #41699] image package: imrotate causes a segmentation fault when exiting Octave, Carnë Draug, 2014/02/26
- [Octave-bug-tracker] [bug #41699] image package: imrotate causes a segmentation fault when exiting Octave,
Ian Journeaux <=
- [Octave-bug-tracker] [bug #41699] image package: imrotate causes a segmentation fault when exiting Octave, Ian Journeaux, 2014/02/26
- [Octave-bug-tracker] [bug #41699] image package: imrotate causes a segmentation fault when exiting Octave, Ian Journeaux, 2014/02/27
- [Octave-bug-tracker] [bug #41699] image package: imrotate causes a segmentation fault when exiting Octave, Ian Journeaux, 2014/02/27