octave-maintainers
[Top][All Lists]
Advanced

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

Re: crash while testing imread.m


From: Carlo de Falco
Subject: Re: crash while testing imread.m
Date: Thu, 25 Feb 2010 17:34:25 +0100


On 25 Feb 2010, at 17:19, address@hidden wrote:


Message: 4
Date: Thu, 25 Feb 2010 11:18:58 -0500
From: Ben Abbott <address@hidden>
Subject: crash while testing imread.m
To: octave maintainers list <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset="us-ascii"

I encountered a new failure building today (its been about 2-3 weeks since my last build).

scripts/image/imread.m .................................Assertion failed: (semaphore_info != (SemaphoreInfo *) NULL), function LockSemaphoreInfo, file magick/semaphore.c, line 525.

$ hg tip
changeset:   10353:7ed1f2e831ba
tag:         tip
user:        John W. Eaton <address@hidden>
date:        Wed Feb 24 16:53:46 2010 -0500
summary:     qr.cc: increase tolerance for test

From gdb ...

Assertion failed: (semaphore_info != (SemaphoreInfo *) NULL), function LockSemaphoreInfo, file magick/semaphore.c, line 525.

Program received signal SIGABRT, Aborted.
0x94227732 in __kill ()
(gdb) bt
#0  0x94227732 in __kill ()
#1  0x94227724 in kill$UNIX2003 ()
#2  0x942ba98d in raise ()
#3  0x942d0a44 in abort ()
#4  0x942bd5ec in __assert_rtn ()
#5  0x1678a36c in LockSemaphoreInfo ()
#6  0x1675ace7 in GetMagickInfo ()
#7  0x16757a7a in SetImageInfo ()
#8  0x1672fd83 in ReadImage ()
#9 0x1660e115 in Magick::readImages<std::vector<Magick::Image, std::allocator<Magick::Image> > > (sequence_=0xbffe7f6c, address@hidden) at STL.h:2301 #10 0x16607de9 in F__magick_read__ (address@hidden, nargout=1) at DLD-FUNCTIONS/__magick_read__.cc:408 #11 0x0038a1dd in octave_builtin::do_multi_index_op (this=0x38431e0, nargout=1, address@hidden) at ov-builtin.cc:107 #12 0x0038a3bb in octave_builtin::subsref (this=0x38431e0, address@hidden, address@hidden, nargout=1) at ov-builtin.cc:55 #13 0x0038a8fc in octave_builtin::subsref (this=0x38431e0, address@hidden, address@hidden) at ov-builtin.h:56 #14 0x0041c76a in octave_value::subsref (this=0xbffe8348, address@hidden, address@hidden, nargout=1) at ov.cc:1187 #15 0x004b1b02 in tree_index_expression::rvalue (this=0x62bb180, nargout=1) at pt-idx.cc:401 #16 0x004a1d84 in tree_multi_assignment::rvalue (this=0x62bb0d0) at pt-assign.cc:365 #17 0x004a14cc in tree_multi_assignment::rvalue1 (this=0x62bb0d0, nargout=0) at pt-assign.cc:320 #18 0x004ab4e6 in tree_evaluator::visit_statement (this=0xc4c620, address@hidden) at pt-eval.cc:718 #19 0x004c2ec9 in tree_statement::accept (this=0x61ed900, address@hidden) at pt-stmt.cc:152 #20 0x004ab2c1 in tree_evaluator::visit_statement_list (this=0xc4c620, address@hidden) at pt-eval.cc:754 #21 0x0009010f in tree_statement_list::accept (this=0x6254570, address@hidden) at pt-stmt.cc:216 #22 0x004aaa69 in tree_evaluator::visit_try_catch_command (this=0xc4c620, address@hidden) at pt-eval.cc:867 #23 0x004acef9 in tree_try_catch_command::accept (this=0x62bbb30, address@hidden) at pt-except.cc:70 #24 0x004ab3cc in tree_evaluator::visit_statement (this=0xc4c620, address@hidden) at pt-eval.cc:689 #25 0x004c2ec9 in tree_statement::accept (this=0x625b620, address@hidden) at pt-stmt.cc:152 #26 0x004ab2c1 in tree_evaluator::visit_statement_list (this=0xc4c620, address@hidden) at pt-eval.cc:754 #27 0x0009010f in tree_statement_list::accept (this=0x6258f10, address@hidden) at pt-stmt.cc:216 #28 0x00418080 in octave_user_function::do_multi_index_op (this=0x383f280, nargout=1, address@hidden) at ov-usr-fcn.cc:427 #29 0x0041796d in octave_user_function::subsref (this=0x383f280, address@hidden, address@hidden, nargout=1) at ov-usr-fcn.cc:295 #30 0x00419ea4 in octave_user_function::subsref (this=0x383f280, address@hidden, address@hidden) at ov-usr-fcn.h:262 #31 0x0041c76a in octave_value::subsref (this=0xbffe8c38, address@hidden, address@hidden, nargout=1) at ov.cc:1187 #32 0x004b1b02 in tree_index_expression::rvalue (this=0x62b9dc0, nargout=1) at pt-idx.cc:401 #33 0x004afe70 in tree_index_expression::rvalue1 (this=0x62b9dc0, nargout=1) at pt-idx.cc:412 #34 0x004a255c in tree_simple_assignment::rvalue1 (this=0x629c6d0) at pt-assign.cc:206 #35 0x004ab4e6 in tree_evaluator::visit_statement (this=0xc4c620, address@hidden) at pt-eval.cc:718 #36 0x004c2ec9 in tree_statement::accept (this=0x61f7bd0, address@hidden) at pt-stmt.cc:152 #37 0x004ab2c1 in tree_evaluator::visit_statement_list (this=0xc4c620, address@hidden) at pt-eval.cc:754 #38 0x0009010f in tree_statement_list::accept (this=0x6285a00, address@hidden) at pt-stmt.cc:216 #39 0x00418080 in octave_user_function::do_multi_index_op (this=0x383f220, nargout=0, address@hidden) at ov-usr-fcn.cc:427 #40 0x0041796d in octave_user_function::subsref (this=0x383f220, address@hidden, address@hidden, nargout=0) at ov-usr-fcn.cc:295 #41 0x0041c7da in octave_value::subsref (this=0xbffe9268, address@hidden, address@hidden, nargout=0) at ov.cc:1189 #42 0x004b1b02 in tree_index_expression::rvalue (this=0x62ba560, nargout=0) at pt-idx.cc:401 #43 0x0029652e in eval_string (address@hidden, silent=false, address@hidden, nargout=0) at oct-parse.yy:4251 #44 0x00296836 in eval_string (address@hidden, silent=false, address@hidden, nargout=0) at oct-parse.yy:4308 #45 0x00296cc4 in Feval (address@hidden, nargout=0) at oct-parse.yy: 4354 #46 0x0038a1dd in octave_builtin::do_multi_index_op (this=0x3045300, nargout=0, address@hidden) at ov-builtin.cc:107 #47 0x0038a3bb in octave_builtin::subsref (this=0x3045300, address@hidden, address@hidden, nargout=0) at ov-builtin.cc:55 #48 0x0041c7da in octave_value::subsref (this=0xbffe97a8, address@hidden, address@hidden, nargout=0) at ov.cc:1189 #49 0x004b1b02 in tree_index_expression::rvalue (this=0x616aba0, nargout=0) at pt-idx.cc:401 #50 0x004afe70 in tree_index_expression::rvalue1 (this=0x616aba0, nargout=0) at pt-idx.cc:412 #51 0x004ab4e6 in tree_evaluator::visit_statement (this=0xc4c620, address@hidden) at pt-eval.cc:718 #52 0x004c2ec9 in tree_statement::accept (this=0x616c5f0, address@hidden) at pt-stmt.cc:152 #53 0x004ab2c1 in tree_evaluator::visit_statement_list (this=0xc4c620, address@hidden) at pt-eval.cc:754 #54 0x0009010f in tree_statement_list::accept (this=0x6209490, address@hidden) at pt-stmt.cc:216 #55 0x004aaa69 in tree_evaluator::visit_try_catch_command (this=0xc4c620, address@hidden) at pt-eval.cc:867 #56 0x004acef9 in tree_try_catch_command::accept (this=0x62a2be0, address@hidden) at pt-except.cc:70 #57 0x004ab3cc in tree_evaluator::visit_statement (this=0xc4c620, address@hidden) at pt-eval.cc:689 #58 0x004c2ec9 in tree_statement::accept (this=0x61e4920, address@hidden) at pt-stmt.cc:152 #59 0x004ab2c1 in tree_evaluator::visit_statement_list (this=0xc4c620, address@hidden) at pt-eval.cc:754 #60 0x0009010f in tree_statement_list::accept (this=0x6208700, address@hidden) at pt-stmt.cc:216 #61 0x004aabfd in tree_evaluator::visit_if_command_list (this=0xc4c620, address@hidden) at pt-eval.cc:566 #62 0x004c170f in tree_if_command_list::accept (this=0x623c8c0, address@hidden) at pt-select.cc:84 #63 0x004ab5ee in tree_evaluator::visit_if_command (this=0xc4c620, address@hidden) at pt-eval.cc:544 #64 0x004c1731 in tree_if_command::accept (this=0x61cffd0, address@hidden) at pt-select.cc:133 #65 0x004ab3cc in tree_evaluator::visit_statement (this=0xc4c620, address@hidden) at pt-eval.cc:689 #66 0x004c2ec9 in tree_statement::accept (this=0x6171300, address@hidden) at pt-stmt.cc:152 #67 0x004ab2c1 in tree_evaluator::visit_statement_list (this=0xc4c620, address@hidden) at pt-eval.cc:754 #68 0x0009010f in tree_statement_list::accept (this=0x403be90, address@hidden) at pt-stmt.cc:216 #69 0x004abfd9 in tree_evaluator::visit_simple_for_command (this=0xc4c620, address@hidden) at pt-eval.cc:355 #70 0x004b428b in tree_simple_for_command::accept (this=0x628fe40, address@hidden) at pt-loop.cc:116 #71 0x004ab3cc in tree_evaluator::visit_statement (this=0xc4c620, address@hidden) at pt-eval.cc:689 #72 0x004c2ec9 in tree_statement::accept (this=0x6204f30, address@hidden) at pt-stmt.cc:152 #73 0x004ab2c1 in tree_evaluator::visit_statement_list (this=0xc4c620, address@hidden) at pt-eval.cc:754 #74 0x0009010f in tree_statement_list::accept (this=0x402b3b0, address@hidden) at pt-stmt.cc:216 #75 0x00418080 in octave_user_function::do_multi_index_op (this=0x383eec0, nargout=0, address@hidden) at ov-usr-fcn.cc:427 #76 0x0041796d in octave_user_function::subsref (this=0x383eec0, address@hidden, address@hidden, nargout=0) at ov-usr-fcn.cc:295 #77 0x0041c7da in octave_value::subsref (this=0xbffea288, address@hidden, address@hidden, nargout=0) at ov.cc:1189 #78 0x004b1b02 in tree_index_expression::rvalue (this=0x402a280, nargout=0) at pt-idx.cc:401 #79 0x004afe70 in tree_index_expression::rvalue1 (this=0x402a280, nargout=0) at pt-idx.cc:412 #80 0x004ab4e6 in tree_evaluator::visit_statement (this=0xc4c620, address@hidden) at pt-eval.cc:718 #81 0x004c2ec9 in tree_statement::accept (this=0x402a320, address@hidden) at pt-stmt.cc:152 #82 0x004ab2c1 in tree_evaluator::visit_statement_list (this=0xc4c620, address@hidden) at pt-eval.cc:754 #83 0x0009010f in tree_statement_list::accept (this=0x402a330, address@hidden) at pt-stmt.cc:216
#84 0x003361dd in main_loop () at toplev.cc:575
#85 0x002f73d0 in octave_main (argc=6, argv=0xbffea5ec, embedded=0) at octave.cc:868
#86 0x00001f82 in main (argc=6, argv=0xbffea5ec) at main.c:35

I'm unfamiliar with this part of the code. Does anyone have an idea of what may have changed?

My graphicsmagick is at version 1.3.10-1

Ben


Ben,
GM 1.3.10 never worked for me, I've been getting the same error that you show above all the time. My solution, following someone else who said on this list he did so, was to downgrade to GM 1.3.7.
c.



reply via email to

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