octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #38280] imfinfo() crashes on 64 bit, but not 3


From: anonymous
Subject: [Octave-bug-tracker] [bug #38280] imfinfo() crashes on 64 bit, but not 32 bit builds
Date: Thu, 07 Feb 2013 00:52:00 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17

URL:
  <http://savannah.gnu.org/bugs/?38280>

                 Summary: imfinfo() crashes on 64 bit, but not 32 bit builds
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 07 Feb 2013 12:51:59 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Alexander Hansen
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.3
        Operating System: Mac OS

    _______________________________________________________

Details:

This occurs for Octave 3.4.3-3.6.3, on any OS X 10.5-10.8.

When I build Octave as 32-bit, the imfinfo() function works:

octave:1> imfinfo("test.jpg")
warning: your version of GraphicsMagick limits images to 16 bits per pixel
octave(77013,0xa02aa540) malloc: *** error for object 0xa0177db0: pointer
being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
octave(77013,0xa02aa540) malloc: *** error for object 0xa0177db0: pointer
being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
ans =

  scalar structure containing the fields:

    Filename = /Users/hansen/test.jpg
    FileModDate =  5-Feb-2013 21:01:27
    FileSize =  26699
    Height =  241
    Width =  241
    BitDepth =  8
    Format = JPEG
    LongFormat = Joint Photographic Experts Group JFIF format
    XResolution = 0
    YResolution = 0
    TotalColors =  68
    TileName = 
    AnimationDelay = 0
    AnimationIterations = 0
    ByteOrder = undefined
    Gamma = 0
    Matte = 0
    ModulusDepth =  8
    Quality =  75
    QuantizeColors =  256
    ResolutionUnits = undefined
    ColorType = grayscale
    View = 

When built as 64-bit, however, I get the following:

octave:1> imfinfo("test.jpg")
warning: your version of GraphicsMagick limits images to 16 bits per pixel
octave(77044,0x7fff7087fcc0) malloc: *** error for object 0x7fff70a0c500:
pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
panic: Abort trap -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Abort trap

The 32-bit and 64-bit builds referenced above happen to be on the same
machine, with analogous dependencies and using the same configure-time flags.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38280>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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