bbzhao6 发表于 2008-11-11 11:35

出现错误信息,谁能帮忙解答一下?谢谢

运行程序后就出现下面的提示了,然后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:

bridge.dll:_mnSignalHandler(0xffffffff, 0, 0, 0x79c99b80) + 303 bytes

bridge.dll:void __cdecl ThrowAssertion(void)(0x11811008, 0x78775a38, 0x65737341, 0x6f697472) + 164 bytes

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

libut.dll:_mw_free(0x11811010, 0x00cdde3c "X尥", 0x7879284e, 0x11811010) + 584 bytes

libut.dll:_utFree(0x11811010, 0x01420fe0, 0x01420fe0, 0x00cdde58 "l尥") + 100 bytes

libmx.dll:void __cdecl mxDestroyArrayContents(struct mxArray_tag *)(0x01420fe0, 0x01420fe0, 9, 9) + 174 bytes

libmx.dll:_mxMoveArrayOntoHeader(0x01420fe0, 0, 0x01420fe0, 0x00cdde8c "霓�) + 123 bytes

m_interpreter.dll:_inMatass1(0x01420fe0, 0x014205a0, 0x11675310, 0x014205a0) + 27 bytes

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

m_interpreter.dll:void __cdecl inJitMatass1MxArray(int,struct mxArray_tag *)(9, 0x014205a0, 0x11a9c810, 0x11a9c8b0) + 52 bytes

m_interpreter.dll:void __cdecl inAccelExecElemExpr(struct _element_expr *)(0x11241010, 2, 0x11791c10, 0xffffffff) + 3220 bytes

m_interpreter.dll:int __cdecl accelExec(struct _accelBytecode *,enum inMarshalType *)(0x012102c0, 0x00cde1d0, 0, 45) + 17839 bytes

m_interpreter.dll:_inExecuteHotSegment(0x00cde204, 0x00cde260, 0x00cde250 "", 0) + 1542 bytes

m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x111de910, 1, 0, 0x7893a5a0) + 615 bytes

m_interpreter.dll:_inExecCompScript(0, 0x00cde6ac, 0x111de910, 0xffffffff) + 327 bytes

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

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

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

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

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

m_interpreter.dll:_inDispatchFromStack(584, 0x012f7834 "calculate_Rh", 0, 0) + 801 bytes

m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x012f7834 "calculate_Rh", 584, 0, 0) + 138 bytes

m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *)(2, 0, 0, 0) + 2359 bytes

m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *)(2, 0, 0, 0) + 272 bytes

m_interpreter.dll:_inInterPcode(2, 0x78773d54, 0, 0) + 69 bytes

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

m_interpreter.dll:$L73181(0x78773d54, 0x113174a0 "calculate_Rh\n", 0, 0) + 196 bytes

m_interpreter.dll:enum inExecutionStatus __cdecl inEvalCmdWithLocalReturnandtype(char const *,int *,enum inDebugCheck)(0x113174a0 "calculate_Rh\n", 0, 2, 0x00cdf444 "趑�) + 69 bytes

m_interpreter.dll:_inEvalCmdNoEnd(0x113174a0 "calculate_Rh\n", 0x00cdf4e4, 0x00cdf49c, 0x014c8118) + 16 bytes

bridge.dll:_mnParser(0x7c80b6a1, 0x014c8118, 0, 0) + 431 bytes

mcr.dll:public: void __thiscall mcrInstance::mnParser(void)(336780, 0x4d5c3a44, 0x414c5441, 0x31303742) + 87 bytes

MATLAB.exe:0x00401d2f(4194304, 0, 336780, 0x014c8118)

MATLAB.exe:0x00403e45(3670073, 3145784, 0x7ffde000, 0x8054b6ed)

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);

ChaChing 发表于 2008-11-11 15:01

从错误讯息看好像磁碟空间不足!
还有楼主程序很大吗? 不然上传大家试试看, 个人认为如此, 较容易解决问题

ch_j1985 发表于 2008-11-11 20:41

回复 楼主 bbzhao6 的帖子

http://www.linuxsir.org/bbs/thread226155.html

ChaChing 发表于 2008-11-11 23:11

原帖由 ch_j1985 于 2008-11-11 20:41 发表 http://www.chinavib.com/forum/images/common/back.gif
http://www.linuxsir.org/bbs/thread226155.html
连接看过了, 有看没懂!
页: [1]
查看完整版本: 出现错误信息,谁能帮忙解答一下?谢谢