bugGNU Octave - Bugs: bug #40068, Crashing when calling imread

 
 

bug #40068: Crashing when calling imread

Submitted by:  None
Submitted on:  Thu 19 Sep 2013 01:58:58 PM UTC  
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Need Info Assigned to:  None
Originator Name:  the0 Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  3.6.4
Operating System:  Mac OS

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 10 Oct 2013 07:48:16 PM UTC, comment #2: 

Can you attach "onion.png" so that we can verify whether it works on other versions of Octave or in other operating systems?

Rik <rik5>
Project Administrator
Mon 30 Sep 2013 12:51:05 AM UTC, comment #1: 

Can you read the discussions for bug #39761 and bug #39698 and see if anything there resolves the crash for you? The error message looks identical.

Mike Miller <mtmiller>
Project Administrator
Thu 19 Sep 2013 01:58:58 PM UTC, original submission:  

Hello! I'm using octave-3.6.4 under OSX 10.8.4. I'm trying to make a call for
a function like this:

imread('onion.png')

And it results in a crash with the following error message:

octave(15189) malloc: *** error for object 0x7fff75b18570: pointer being freed was not allocated

Here is backtrace if it may help:

#0  0x00007fff90e00d46 in __kill ()
#1  0x00007fff8cd51df0 in abort ()
#2  0x00007fff8cd259b9 in free ()
#3  0x0000000102f09447 in F__magick_finfo__ ()
#4  0x000000010037d97d in octave_builtin::do_multi_index_op ()
#5  0x000000010037d6ff in octave_builtin::subsref ()
#6  0x000000010037d5cd in octave_builtin::subsref ()
#7  0x0000000100069c38 in octave_builtin::subsref ()
#8  0x00000001003fa717 in octave_value::subsref ()
#9  0x00000001003fa7ba in octave_value::subsref ()
#10 0x0000000100472c2f in tree_index_expression::rvalue ()
#11 0x0000000100472302 in tree_index_expression::rvalue ()
#12 0x000000010047306b in tree_index_expression::rvalue1 ()
#13 0x000000010046679f in tree_simple_assignment::rvalue1 ()
#14 0x000000010046e61d in tree_evaluator::visit_statement ()
#15 0x000000010046e7a5 in tree_evaluator::visit_statement_list ()
#16 0x000000010046ed65 in tree_evaluator::visit_unwind_protect_command ()
#17 0x000000010046e579 in tree_evaluator::visit_statement ()
#18 0x000000010046e7a5 in tree_evaluator::visit_statement_list ()
#19 0x00000001003f2d9e in octave_user_function::do_multi_index_op ()
#20 0x00000001003f284d in octave_user_function::subsref ()
#21 0x00000001003f271b in octave_user_function::subsref ()
#22 0x00000001003fa750 in octave_value::subsref ()
#23 0x00000001003fa7ba in octave_value::subsref ()
#24 0x0000000100472c2f in tree_index_expression::rvalue ()
#25 0x0000000100472302 in tree_index_expression::rvalue ()
#26 0x000000010047306b in tree_index_expression::rvalue1 ()
#27 0x000000010046e61d in tree_evaluator::visit_statement ()
#28 0x000000010046e7a5 in tree_evaluator::visit_statement_list ()
#29 0x000000010032e2dc in main_loop ()
#30 0x00000001002ece0a in octave_main ()
#31 0x00007fff8ac4b7e1 in start ()

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-17 rik5 Open/ClosedOpen => Closed
    2013-09-30 mtmiller CategoryNone => Octave Function
        StatusNone => Need Info

    Back to the top


    Powered by Savane 3.5