octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Just compiled 3.8.1 - Crash on loading an image


From: kellnerp
Subject: Re: Just compiled 3.8.1 - Crash on loading an image
Date: Sat, 27 Sep 2014 05:40:05 -0700 (PDT)



-----Original Message-----
From: Carnë Draug [via Octave]
Sent: Sep 21, 2014 12:58 AM
To: kellnerp
Subject: Re: Just compiled 3.8.1 - Crash on loading an image

On 20 September 2014 16:12, kellnerp <[hidden email]> wrote:

> I just compiled Octave 3.8.1 on my Core2duo notebook under Ubuntu 12.10. When
> I loaded the image package and tried to run a script I had Octave crashed
> (exit code 9). I suspected the image I was loading was the culprit so I
> tried loading it from the command line. I got this reading the image:
>>> I = imread('IMG_20140905_094102.jpg');
> warning: your version of GraphicsMagick limits images to 8 bits per pixel
>
> This image is only 5.3M.
>
> Then I executed this command:
>>> figure(1); image(I);
> panic: Bus error -- stopping myself...
> attempting to save variables too...
>
> and then exit code 7 on the console from which I started Octave.
>
> ~/Downloads/octave-3.8.1$ octave3.8 --force-gui
> octave exited with signal 7
>
> How should I proceed on something like this?
1) the problem is not in loading the image, it is on displaying it.
What graphics toolkit are  you using?

2) without the actual image to replicate it, we cannot try it ourselves.

3) why did you build it from source? Have you tried Octave's PPA [1]?

Carnë

[1] http://wiki.octave.org/Ubuntu

1)  The compiled octave would load and display the image. The graphical front end would crash.

2) I blindly attached the 6mb image to the response to this list. Somebody suggested that was not the best idea. Sorry.

3) I have now tried the PPA route. FYI the PPA for my version of Ubuntu (12.10) contains Octave 3.6.2 only. This will not run the image package which requires 3.8.0 or greater.
The octave3.8.1 that I compiled would run the scripts that I needed to run if I did not use the graphics frontend. As long as I ran from the command line everything worked fine including opening the image. The problem then seems to be with the graphical frontend which in any case wouldn't even open after it crashed a few times.

So to get my work done I loaded 3.6.3 from PPA, uninstalled the compiled version and "borrowed" those few functions from the image package that I needed.

Since 12.10 is not a supported Ubuntu version anymore I thank you for your help and suggestions.
Paul B. Kellner
####################################################################
Check out my favorite tunes at PocketVinyl.
http://www.pocketvinyl.com/




View this message in context: Re: Just compiled 3.8.1 - Crash on loading an image
Sent from the Octave - Maintainers mailing list archive at Nabble.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]