Info

This question is closed. Reopen it to edit or answer.

I created a mex file.For some reason every time I execute the function, it throws a segmentation error after the program completes execution.I am using windows & os, 32 bit, matlab version 2012a

1 view (last 30 days)
I created a mex file.For some reason every time I execute the function, it throws a segmentation error after the program completes execution.I am using windows & os, 32 bit, matlab version 2012a The error is
------------------------------------------------------------------------ Segmentation violation detected at Wed Jan 16 14:50:55 2013 ------------------------------------------------------------------------
Configuration: Crash Decoding : Disabled Default Encoding: windows-1252 MATLAB Root : C:\Program Files\MATLAB\R2012a MATLAB Version : 7.14.0.739 (R2012a) Operating System: Microsoft Windows 7 Processor ID : x86 Family 6 Model 23 Stepping 10, GenuineIntel Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot™ Client VM mixed mode Window System : Version 6.1 (Build 7600)
Fault Count: 1
Abnormal termination: Segmentation violation
Register State (from fault): EAX = 6fa3a320 EBX = 7595f156 ECX = 0baa18b8 EDX = 0baa18b8 ESP = 25b5fbec EBP = 25b5fbec ESI = 00000000 EDI = 7595f1f2
EIP = 6fa3a326 EFL = 00010202
CS = 0000001b DS = 00000023 SS = 00000023
ES = 00000023 FS = 0000003b GS = 00000000
Stack Trace (from fault): [ 0] 0x6fa3a326 C:\Program Files\MATLAB\R2012a\bin\win32\MATLAB.exe+1872995110 ???+632668580 [ 1] 0x25b5fc08 ???+632668580 [ 2] 0x75961154 C:\Windows\system32\kernel32.dll+00332116 ( BaseThreadInitThunk+000018 ) [ 3] 0x770ab299 C:\Windows\SYSTEM32\ntdll.dll+00373401 ( RtlInitializeExceptionChain+000099 ) [ 4] 0x770ab26c C:\Windows\SYSTEM32\ntdll.dll+00373356 ( RtlInitializeExceptionChain+000054 )

Answers (0)

Community Treasure Hunt

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

Start Hunting!