On 2/7/13 7:29 PM, Alexander Hansen wrote: > On 2/6/13 7:23 PM, Alexander Hansen wrote: >> On 2/6/13 5:57 PM, Alexander Hansen wrote: >>> On 2/5/13 5:23 PM, Alexander Hansen wrote: >>>> On 2/5/13 2:23 PM, Alexander Hansen wrote: >>>>> On 2/5/13 1:52 PM, Eigil Krogh Sorensen wrote: >>>>>> >>>>>> Den 05/02/13 21.03 skrev "Alexander Hansen" >>>>>> <alexanderk.han...@gmail.com>: >>>>>> >>>>>>> On 2/5/13 10:35 AM, Eigil Krogh Sorensen wrote: >>>>>>>> I don't know if this is the right place to post this, but anyway... >>>>>>>> >>>>>>>> I have this small octave function, that runs fine on my Windows Octave, >>>>>>>> but crashes on my fink octave-atlas(3.6.3): >>>>>>>> >>>>>>>> " >>>>>>>> function simpleImageExample >>>>>>>> imageFile = "100-0039_IMG.JPG"; >>>>>>>> info = imfinfo (imageFile) >>>>>>>> I = imread (imageFile); >>>>>>>> subplot(2,1,1); >>>>>>>> imshow(I); >>>>>>>> endfunction >>>>>>>> " >>>>>>>> >>>>>>>> >>>>>>>> If I run the function as shown above, octave crashes with this messages >>>>>>>> " >>>>>>>> warning: your version of GraphicsMagick limits images to 16 bits per >>>>>>>> pixel >>>>>>>> octave(18942,0x10b2db180) malloc: *** error for object 0x10b989570: >>>>>>>> pointer bei >>>>>>>> ng freed was not allocated >>>>>>>> *** set a breakpoint in malloc_error_break to debug >>>>>>>> panic: Abort trap: 6 -- stopping myself... >>>>>>>> attempting to save variables to `octave-core'... >>>>>>>> save to `octave-core' complete >>>>>>>> " >>>>>>>> >>>>>>>> >>>>>>>> The problem occurs in "imfinfo" because if I remove the line >>>>>>>> "info = imfinfo (imageFile)" >>>>>>>> >>>>>>>> then I only get the warning >>>>>>>> " >>>>>>>>>>> simpleImageExample >>>>>>>> warning: your version of GraphicsMagick limits images to 16 bits per >>>>>>>> pixel >>>>>>>>>>> >>>>>>>> " >>>>>>>> >>>>>>>> and the picture looks OK. >>>>>>>> >>>>>>>> >>>>>>>> --Eigil >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> I can confirm this behavior. >>>>>>> >> >> <snip> >> >>> >>> Indeed, the issue does appear to be restricted to x86_64. I've filed a >>> bug report upstream. >>> >> >> https://savannah.gnu.org/bugs/index.php?38280 >> > > Following up: I've isolated the problem to the "view" and "tableName" > elements (as defined in GraphicsMagick). If I take those those out of > the Octave __magick_read__ function that imfinfo calls, then everything > works OK. > > I'm not sure why this happens yet. >
I'm _still_ not sure why it happens, but for now I've modified our Octave build not to access those two elements, and instead to return placeholder values--to avoid breaking people's scripts. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users