crash due to MEX file? but i'm not using MEX!

1 view (last 30 days)
I tried executing a script that uses the Image Processing toolbox on R2010a on Macbook Pro running OS 10.5. This script runs fine on other computers but for some reason, it causes this particular installation to crash with the following error report. It complains of a problem with a MEX file but my script does not call MEX files as far as I know. Does anyone have any idea what's going on?
Thanks, Angi
------------------------------------------------------------------------ Segmentation violation detected at Fri Mar 4 12:46:06 2011 ------------------------------------------------------------------------
Configuration: MATLAB Version: 7.10.0.499 (R2010a) MATLAB License: 606730 Operating System: Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 Processor ID: x86 Family 6 Model 7 Stepping 6, GenuineIntel Virtual Machine: Java 1.6.0_22-b04-307-9M3263 with Apple Inc. Java HotSpot™ 64-Bit Server VM mixed mode Default Encoding: ISO-8859-1
Fault Count: 1
Register State: rax = 4833dc00 rbx = 3e6af1c0 rcx = 44519f30 rdx = 0000000c rsi = 0023f402 rdi = 3e6af208 rbp = 3f900d90 rsp = 3f900d70 r8 = 0023f400 r9 = 4833d000 r10 = 0000000d r11 = 000005fb r12 = 3e6af1c8 r13 = 00000000 r14 = 00000000 r15 = 00000004 rip = 4365212f flg = 00010206 cs = 00000027 fs = 00000000 gs = 00000000
Stack Trace: [0] morphmex.mexmaci64:tbb::internal::start_for<SubRegion2D, ErodeLogicalTwodFunctor, tbb::simple_partitioner>::execute() + 175 bytes [1] libtbb.dylib:tbb::captured_exception::throw_self()~ + 470 bytes [2] libtbb.dylib:tbb::internal::task_scheduler_observer_v3::observe(bool)~ + 2654 bytes [3] libSystem.B.dylib:_pthread_start~ + 316 bytes [4] libSystem.B.dylib:thread_start~ + 13 bytes
This error was detected while a MEX-file was running. If the MEX-file is not an official MathWorks function, please examine its source code for errors. Please consult the External Interfaces Guide for information on debugging MEX-files.
If this problem is reproducible, please submit a Service Request via: http://www.mathworks.com/support/contact_us/ts/help_request_1.html
A technical support engineer might contact you with further information.
Thank you for your help.

Accepted Answer

Walter Roberson
Walter Roberson on 4 Mar 2011
It appears that there is a problem with Mathwork's implementation of imerode() on a logical matrix .
Although you are not using mex, Mathworks is.
Please report the problem to Mathworks support.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!