马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
运行程序后就出现下面的提示了,然后Matlab就不能工作了,不接受命令。谁能帮忙看看,谢谢。
------------------------------------------------------------------------
Assertion detected at Tue Nov 11 11:17:49 2008
------------------------------------------------------------------------
Assertion failed: hdr->in_use != 0, at line 736 of file ".\memmgr\memcache.cpp".
Attempt to free previously freed memory
Configuration:
MATLAB Version:
7.0.1.24704 (R14) Service Pack 1
MATLAB License:
241696
Operating System: Microsoft Windows XP
Window System:
Version 5.1 (Build 2600: Service Pack 2)
Processor ID:
x86 Family 6 Model 15 Stepping 11, GenuineIntel
Virtual Machine:
Java 1.4.2_04 with Sun Microsystems Inc. Java HotSpot(TM) Client VM
(mixed mode)
Default Charset:
ibm-1386_P100-2002
Stack Trace:
[0] bridge.dll:_mnSignalHandler(0xffffffff, 0, 0, 0x79c99b80) + 303 bytes
[1] bridge.dll:void __cdecl ThrowAssertion(void)(0x11811008, 0x78775a38, 0x65737341, 0x6f697472) + 164 bytes
[2] bridge.dll:void __cdecl MATLABAssertFcn(char const *,char const *,int,char const *)(0x7874d4ec ": hdr->in_use != 0,", 0x7874d328 ".\memmgr\memcache.cpp", 736, 0x7874c590 "Attempt to free previously freed..") + 110 bytes
[3] libut.dll:_mw_free(0x11811010, 0x00cdde3c "X尥", 0x7879284e, 0x11811010) + 584 bytes
[4] libut.dll:_utFree(0x11811010, 0x01420fe0, 0x01420fe0, 0x00cdde58 "l尥") + 100 bytes
[5] libmx.dll:void __cdecl mxDestroyArrayContents(struct mxArray_tag *)(0x01420fe0, 0x01420fe0, 9, 9) + 174 bytes
[6] libmx.dll:_mxMoveArrayOntoHeader(0x01420fe0, 0, 0x01420fe0, 0x00cdde8c "霓�) + 123 bytes
[7] m_interpreter.dll:_inMatass1(0x01420fe0, 0x014205a0, 0x11675310, 0x014205a0) + 27 bytes
[8] m_interpreter.dll:private: static struct mxArray_tag * __cdecl inJitInterp::AssignArrayInSymbolTableOrStruct(class Mfh_mp *,int,struct mxArray_tag *,struct mxArray_tag *,struct mxArray_tag *,class _jitFieldInfo *,int *)(0x111de910, 9, 0x01420fe0, 0x014205a0) + 307 bytes
[9] m_interpreter.dll:void __cdecl inJitMatass1MxArray(int,struct mxArray_tag *)(9, 0x014205a0, 0x11a9c810, 0x11a9c8b0) + 52 bytes
[10] m_interpreter.dll:void __cdecl inAccelExecElemExpr(struct _element_expr *)(0x11241010, 2, 0x11791c10, 0xffffffff) + 3220 bytes
[11] m_interpreter.dll:int __cdecl accelExec(struct _accelBytecode *,enum inMarshalType *)(0x012102c0, 0x00cde1d0, 0, 45) + 17839 bytes
[12] m_interpreter.dll:_inExecuteHotSegment(0x00cde204, 0x00cde260, 0x00cde250 "", 0) + 1542 bytes
[13] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x111de910, 1, 0, 0x7893a5a0) + 615 bytes
[14] m_interpreter.dll:_inExecCompScript(0, 0x00cde6ac, 0x111de910, 0xffffffff) + 327 bytes
[15] m_interpreter.dll:public: void __thiscall Mfh_mp::inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct inWorkSpace_tag *)(0, 0x00cde6ac, 0, 0x00cde70c) + 122 bytes
[16] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0, 0x00cde6ac, 0) + 28 bytes
[17] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00cde6ac, 0, 0x00cde70c) + 26 bytes
[18] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 0x00cde6ac, 0, 0x00cde70c) + 273 bytes
[19] m_interpreter.dll:int __cdecl mdDispatch(int,char const *,int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_MATLAB_fn * *)(584, 0x012f7834 "calculate_Rh", 0, 0x00cde6ac) + 88 bytes
[20] m_interpreter.dll:_inDispatchFromStack(584, 0x012f7834 "calculate_Rh", 0, 0) + 801 bytes
[21] m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x012f7834 "calculate_Rh", 584, 0, 0) + 138 bytes
[22] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *)(2, 0, 0, 0) + 2359 bytes
[23] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *)(2, 0, 0, 0) + 272 bytes
[24] m_interpreter.dll:_inInterPcode(2, 0x78773d54, 0, 0) + 69 bytes
[25] m_interpreter.dll:enum inExecutionStatus __cdecl in_local_call_eval_function(int *,struct _pcodeheader *,int *,struct mxArray_tag * * const,enum inDebugCheck)(0x00cdf2c8, 0x00cdf3b4, 2, 1) + 162 bytes
[26] m_interpreter.dll:$L73181(0x78773d54, 0x113174a0 "calculate_Rh\n", 0, 0) + 196 bytes
[27] m_interpreter.dll:enum inExecutionStatus __cdecl inEvalCmdWithLocalReturnandtype(char const *,int *,enum inDebugCheck)(0x113174a0 "calculate_Rh\n", 0, 2, 0x00cdf444 "趑�) + 69 bytes
[28] m_interpreter.dll:_inEvalCmdNoEnd(0x113174a0 "calculate_Rh\n", 0x00cdf4e4, 0x00cdf49c, 0x014c8118) + 16 bytes
[29] bridge.dll:_mnParser(0x7c80b6a1, 0x014c8118, 0, 0) + 431 bytes
[30] mcr.dll:public: void __thiscall mcrInstance::mnParser(void)(336780, 0x4d5c3a44, 0x414c5441, 0x31303742) + 87 bytes
[31] MATLAB.exe:0x00401d2f(4194304, 0, 336780, 0x014c8118)
[32] MATLAB.exe:0x00403e45(3670073, 3145784, 0x7ffde000, 0x8054b6ed)
[33] kernel32.dll:0x7c816fd7(0x00403cc0 "jth8U@", 0, 0, 0)
Please follow these steps in reporting this problem to The MathWorks so
that we have the best chance of correcting it:
1. Send this crash report to segv@mathworks.com for automated analysis.
For your convenience, this information has been recorded in:
C:\DOCUME~1\Thinkn\LOCALS~1\Temp\matlab_crash_dump.1220
2. Also, if the problem is reproducible, send the crash report to
support@mathworks.com along with:
- A specific list of steps that will reproduce the problem
- Any M, MEX, MDL or other files required to reproduce the problem
- Any error messages displayed to the command window
A technical support engineer will contact you with further information.
Thank you for your assistance.
Please save your workspace and restart
MATLAB before continuing your work.
Error in ==> calculate_Rh at 4
result_h_k_X=zeros(199,3); |