problem about rnt:mex

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
DongYe
Posts: 7
Joined: Mon Oct 13, 2008 6:21 pm
Location: Institue of Atmospheric Physics,CAS

problem about rnt:mex

#1 Unread post by DongYe »

In RNT,when I run MAIN_grid.m,have the following problem
My email is yedong@mail.iap.ac.cn

when I enter the code grd=rnt_gridload(nameit);then,

------------------------------------------------------------------------
Segmentation violation detected at Thu Apr 23 22:47:11 2009
------------------------------------------------------------------------

Configuration:
MATLAB Version: 7.7.0.471 (R2008b)
MATLAB License: 161051
Operating System: Linux 2.6.9-67.0.15.ELsmp #1 SMP Thu May 8 10:50:20 EDT 2008 x86_64
GNU C Library: 2.3.4 stable
Window System: NetSarang Computer, Inc. (3012), display 172.16.1.42 :0.0
Current Visual: 0x26 (class 4, depth 24)
Processor ID: x86 Family 6 Model 15 Stepping 11, GenuineIntel
Virtual Machine: Java 1.6.0_04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
Default Encoding: ISO-8859-15

Fault Count: 1

Register State:
rax = 00000000012a6a70 rbx = 0000000000000000
rcx = 00000000012a6a70 rdx = 0000000000000000
rbp = 00000000407c8a60 rsi = 0000000000000006
rdi = 0000000000000089 rsp = 00000000407c8a58
r8 = 0000000000000000 r9 = 00000000013d9b00
r10 = 0000000000002000 r11 = 0000000000004000
r12 = 0000000000000006 r13 = 0000000000000006
r14 = 0000000001c9b5e0 r15 = 00000000407c9ec8
rip = 0000002ac162d49f flg = 0000000000010283

Stack Trace:
[0] mexnc.mexa64:0x0000002ac162d49f(0x407c9028, 64, 0x407c8f64, 0x407c8af0 "à]xÁ*")
[1] mexnc.mexa64:0x0000002ac162ae0d(1, 0x89f21693b6, 1, 0x2a968da240)
[2] mexnc.mexa64:mexFunction~(0x200000006, 0x39f212e02d, 0x127f00000000, 0x407c9ef8) + 337 bytes
[3] libmex.so:mexRunMexFile(0x407c95c0, 0x407c9ec8, 0x6407c95b0, 0x407c9e00) + 90 bytes
[4] libmex.so:Mfh_mex::runMexFileWithSignalProtection(int, mxArray_tag**, int, mxArray_tag**)(0x407c9b00, 0x407c9700, 0x407c9e00, 0x201c9bc30) + 137 bytes
[5] libmex.so:Mfh_mex::dispatch_file(int, mxArray_tag**, int, mxArray_tag**)(0x407c9e00, 0x01c9b5e0, 0x01c9b5e0, 0x407c9d40) + 245 bytes
[6] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0x026f0470 "mexnc", 0x407c9ec0, 0x407c9ec8, 0x407c9e00) + 297 bytes
[7] libmwm_interpreter.so:inCallFcn(4, 0x407c9ec0, 7, 0x407c9e00) + 376 bytes
[8] libmwm_interpreter.so:inFullFevalFcn(0xffffffff00000001, 0x2abb8c7800, 0x2abb90cea0, 2) + 110 bytes
[9] libmwm_dispatcher.so:Mfh_builtin::dispatch_mf(int, mxArray_tag**, int, mxArray_tag**)(0x407c9e00, 0x2abb90cea0, 0x2abb90cea0, 0x407caa00) + 84 bytes
[10] libmwm_dispatcher.so:Mfh_MATLAB_fn::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0x407c9f20, 0x200000007, 0x407c9e01, 0x2a9687bdd6) + 240 bytes
[11] libmwm_interpreter.so:inDispatchFromStack(int, char const*, int, int)(0x407ca1dc, 0x135fffffff9, 0x01cd15ac "feval", 0) + 1062 bytes
[12] libmwm_interpreter.so:inDispatchCall(char const*, int, long, int, int*, int*)(0x407ca410, 0x008a1401, 0x2a96c470c0, 0x407ca1e0) + 165 bytes
[13] libmwm_interpreter.so:inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag volatile*, long*)(0x407ca688, 0x026efe70, 0x800000000, 0x1000000a3) + 2931 bytes
[14] libmwm_interpreter.so:protected_inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, long*)(18, 0x0137e140, 0x407ca670, 0x2a96c9f010) + 140 bytes
[15] libmwm_interpreter.so:inInterPcodeSJ(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, long*)(6, 0x407ca650, 0x407ca69c, 0x4f00000006) + 265 bytes
[16] libmwm_interpreter.so:inExecuteMFunctionOrScript(Mfh_mp*, bool)(0, 0, 6, 0x407ca880 "à°|@") + 680 bytes
[17] libmwm_interpreter.so:inRunMfile(int, mxArray_tag**, int, mxArray_tag**, Mfh_mp*, inWorkSpace_tag*)(0x407cac40, 0x01cd4a40, 0x01cd4a40, 0x407cab80) + 666 bytes
[18] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0x0137de60 "mexcdf53", 0x407cad00, 0x407cad08, 0x407cac40) + 297 bytes
[19] libmwm_interpreter.so:inCallFcn(4, 0x407cad00, 7, 0x407cac40) + 376 bytes
[20] libmwm_interpreter.so:inFullFevalFcn(0xffffffff00000001, 0x2abb8c7800, 0x2abb90cea0, 2) + 110 bytes
[21] libmwm_dispatcher.so:Mfh_builtin::dispatch_mf(int, mxArray_tag**, int, mxArray_tag**)(0x407cac40, 0x2abb90cea0, 0x2abb90cea0, 0x407cb840) + 84 bytes
[22] libmwm_dispatcher.so:Mfh_MATLAB_fn::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0x407cac00, 0x200000007, 0x0189cf01, 0x0189fb90) + 240 bytes
[23] libmwm_interpreter.so:inDispatchFromStack(int, char const*, int, int)(0x407cb01c, 0x135fffffff9, 0x01cc5e34 "feval", 0) + 1062 bytes
[24] libmwm_interpreter.so:inDispatchCall(char const*, int, long, int, int*, int*)(2080771, 0, 0x07e00000, 0x407cb020) + 165 bytes
[25] libmwm_interpreter.so:inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag volatile*, long*)(0x407cb4c8, 0x023ab4f0, 0x5300000000, 0x1000002fd) + 2931 bytes
[26] libmwm_interpreter.so:protected_inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, long*)(0x01ba4870, 0x0105fc00, 0x01ba4870, 0x100881bade9d92) + 140 bytes
[27] libmwm_interpreter.so:inInterPcodeSJ(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, long*)(0x2abc6a45d0, 0x407cb490, 0x407cb4dc, 0x2a95b86a2b) + 265 bytes
[28] libmwm_interpreter.so:inExecuteMFunctionOrScript(Mfh_mp*, bool)(0, 0, 0x407cb580, 0x407cb6c0 " œ|@") + 680 bytes
[29] libmwm_interpreter.so:inRunMfile(int, mxArray_tag**, int, mxArray_tag**, Mfh_mp*, inWorkSpace_tag*)(0x407cb900, 0x01ba4870, 0x01ba4870, 0x407cc500) + 666 bytes
[30] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0x407cb8c0, 0x200000006, 0x02079300, 0x0204c4b0) + 297 bytes
[31] libmwm_interpreter.so:inDispatchFromStack(int, char const*, int, int)(0x407cbcdc, 0x36a00000006, 0x02095628 "ncmex", 0) + 1062 bytes
[32] libmwm_interpreter.so:inDispatchCall(char const*, int, long, int, int*, int*)(0x72006100680063, 0x2a96c30000, 0, 0x407cbce0) + 165 bytes
[33] libmwm_interpreter.so:inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag volatile*, long*)(0x407cc188, 0x02147dd0, 0x2100000000, 0x100001345) + 2931 bytes
[34] libmwm_interpreter.so:protected_inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, long*)(18, 0x01f767a0, 0x01df62d0, 0x0105fc00) + 140 bytes
[35] libmwm_interpreter.so:inInterPcodeSJ(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, long*)(0x2abc6941d0 "ÑoÄŸ*", 0x407cc150, 0x407cc19c, 0x2abc686e28 "nQx") + 265 bytes
[36] libmwm_interpreter.so:inExecuteMFunctionOrScript(Mfh_mp*, bool)(0, 0, 1, 0x407cc380 "`Ê|@") + 680 bytes
[37] libmwm_interpreter.so:inRunMfile(int, mxArray_tag**, int, mxArray_tag**, Mfh_mp*, inWorkSpace_tag*)(0x407cc5c0, 0x01d22450, 0x01d22450, 0x407cd1c0) + 666 bytes
[38] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0, 0x100000002, 1024, 0) + 297 bytes
[39] libmwm_interpreter.so:inDispatchFromStack(int, char const*, int, int)(0x407cc99c, 0x12f00000002, 0x01e7af0c "subsref", 0) + 1062 bytes
[40] libmwm_interpreter.so:inDispatchCall(char const*, int, long, int, int*, int*)(0x2a95cd3980 " ØU", 0x39f216b482, 0x2abc694850, 0x407cc9a0) + 165 bytes
[41] libmwm_interpreter.so:inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag volatile*, long*)(0x407cce48, 0x01d47590, 0x1900000000, 0x10000043f) + 2931 bytes
[42] libmwm_interpreter.so:protected_inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, long*)(0x407ccc30 "ÀÍ|@", 0x2a966dace0, 0x01e04aa0, 0x0105fc00) + 140 bytes
[43] libmwm_interpreter.so:inInterPcodeSJ(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, long*)(0x2abc6946b0, 0x407cce10, 0x407cce5c, 0x2abc694718 "nQx") + 265 bytes
[44] libmwm_interpreter.so:inExecuteMFunctionOrScript(Mfh_mp*, bool)(0, 0, 0x407ccee0, 0x407cd040 "àÙ|@") + 680 bytes
[45] libmwm_interpreter.so:inRunMfile(int, mxArray_tag**, int, mxArray_tag**, Mfh_mp*, inWorkSpace_tag*)(0x407cd310, 0x01d231a0, 0x01d231a0, 0x407ce140) + 666 bytes
[46] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(1, 0x95b7cc1e, 0x407cd4c0, 0x407cd650) + 297 bytes
[47] libmwm_interpreter.so:inReferenceSubscriptOverloadFcn(0x407cd310, 0x2abc68ad20, 0x01c9ac30, 0x407cd310) + 246 bytes
[48] libmwm_interpreter.so:inReferenceOverloadFcn(0x01046b98, 0x2a00000001, 1, 0x2abc69d1a0) + 136 bytes
[49] libmwm_interpreter.so:inCellContentsReference(long, bool, mxArray_tag*, int, Blkparam*, mxArray_tag**)(0x407cd3f0, 0x407cd4c0, 0x2abc68ad20, 51) + 78 bytes
[50] libmwm_interpreter.so:inComplexReference(0x407cd440 " Ø|@", 0, 0xa00000000, 0xbc68ad20) + 212 bytes
[51] libmwm_interpreter.so:inMatRefDispatch(0x407cdb50, 0x027bd601, 0x2a96c470c0, 0x407cd920) + 1051 bytes
[52] libmwm_interpreter.so:inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag volatile*, long*)(0x407cddc8, 0x00862340, 0x3100000000, 0x100000f63) + 1593 bytes
[53] libmwm_interpreter.so:protected_inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, long*)(18, 0x01f2f330, 0x407cddb0, 0x2a96c9f010) + 140 bytes
[54] libmwm_interpreter.so:inInterPcodeSJ(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, long*)(1, 0x407cdd90, 0x407cdddc, 0x5bc69c778) + 265 bytes
[55] libmwm_interpreter.so:inExecuteMFunctionOrScript(Mfh_mp*, bool)(0, 0x2a00000000, 0x407cde50 "Àâ|@", 0x407cdfc0 " æ|@") + 680 bytes
[56] libmwm_interpreter.so:inRunMfile(int, mxArray_tag**, int, mxArray_tag**, Mfh_mp*, inWorkSpace_tag*)(0x407ce200, 0x01365280, 0x01365280, 0x407cee00) + 666 bytes
[57] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0x407ce1f0, 0x100000001, 0x407ce200, 0x2a95738380) + 297 bytes
[58] libmwm_interpreter.so:inDispatchFromStack(int, char const*, int, int)(0x407ce5dc, 0x39600000001, 0x022e146c "rnt_gridload", 0x100000000) + 1062 bytes
[59] libmwm_interpreter.so:inDispatchCall(char const*, int, long, int, int*, int*)(0, 0x02115560, 0x2a00000008, 0x407ce5e0) + 165 bytes
[60] libmwm_interpreter.so:inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag volatile*, long*)(0x407cea88, 0x01200bd0, 0x100000000, 0x100000000) + 2931 bytes
[61] libmwm_interpreter.so:protected_inInterp(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, long*)(0x008cf850, 0x0105fc00, 0x008cf850, 0x100881b63bcc56) + 140 bytes
[62] libmwm_interpreter.so:inInterPcodeSJ(inDebugCheck, int, int, opcodes, inPcodeNest_tag*, long*)(0, 0x407cea50, 0x407cea9c, 0) + 265 bytes
[63] libmwm_interpreter.so:inExecuteMFunctionOrScript(Mfh_mp*, bool)(0, 0x2a00000001, 0x2abc956060, 0x407cec80 "Àî|@") + 680 bytes
[64] libmwm_interpreter.so:inRunMfile(int, mxArray_tag**, int, mxArray_tag**, Mfh_mp*, inWorkSpace_tag*)(0x407cfba0, 0x008cf850, 0x008cf850, 0x407cfde0) + 666 bytes
[65] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0x407ceea0 "Ðï|@", 0, 0x407cfba0, 0x407cf9e0) + 297 bytes
[66] libmwm_interpreter.so:inEvalPcodeHeaderToWord(_memory_context*, int, mxArray_tag**, _pcodeheader*, Mfh_mp*, unsigned int)(0x407ceec0 "ðû|@", 0x407cf060 "àù|@", 0x407cfbf0 " ý|@", 0) + 187 bytes
[67] libmwm_interpreter.so:in_local_call_script_function(_memory_context*, _pcodeheader*, int, mxArray_tag**, unsigned int, bool)(0x407cf8c0, 0x407cf05c, 0x407cfa80, 0x407cf960) + 103 bytes
[68] libmwm_interpreter.so:inEvalStringWithIsVarFcn(_memory_context*, char const*, EvalType, int, mxArray_tag**, inDebugCheck, _pcodeheader*, int*, bool (*)(void*, char const*), void*, bool, bool)(0, 0, 0x2a9669a960, 0) + 2593 bytes
[69] libmwm_interpreter.so:inEvalCmdWithLocalReturn(char const*, int*, bool, bool, bool (*)(void*, char const*))(0x4579d753, 0x0224f770 "grd=rnt_gridload(nameit);\n", 0x407cfda0, 0) + 149 bytes
[70] libmwbridge.so:evalCommandWithLongjmpSafety(char const*)(0, 0, 0, 0) + 94 bytes
[71] libmwbridge.so:mnParser(0x0059e070, 0x0059e000, 0x00598f30, 0x00598f10) + 291 bytes
[72] libmwmcr.so:mcrInstance::mnParser()(0x407d00ef, 0x407d00e0, 0x7fbfffeb48, 0x100000000) + 82 bytes
[73] MATLAB:mcrMain(int, char const**)(0x407d0170, 0x407d0960, 0, 0x39f28060a0) + 493 bytes
[74] libmwmcr.so:runMcrMain(void*)(0, 0x407d0960, 0x407d0960, 0) + 28 bytes
[75] libpthread.so.0:0x00000039f2806137(0x39f28060a0, 0x7fbfffe9a0, 0, 0x7fbfffe9a0)
[76] 0x0000000000000000(0x407d0960, 1, 0, 0)

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 it is an official MathWorks function, please
follow these steps to report this problem to The MathWorks so we
have the best chance of correcting it:

The next time MATLAB is launched under typical usage, a dialog box will
open to help you send the error log to The MathWorks. Alternatively, you
can send an e-mail to segv@mathworks.com with the following file attached:
/home/yedong/matlab_crash_dump.12794

If the problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contac ... est_1.html

A technical support engineer might contact you with further information.

Thank you for your help. MATLAB may attempt to recover, but even if recovery appears successful,
we recommend that you save your workspace and restart MATLAB as soon as possible.

Caught MathWorks::System::FatalException

Post Reply