LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1339|回复: 2

matlab for linux 运行错误!!!不能画图,不知道为什么 ?

[复制链接]
发表于 2005-5-8 13:08:25 | 显示全部楼层 |阅读模式
>>x=0:pi/100;2*pi;
>>y=sin(x);
>> z=cos(x);
>> w=0.25*x-0.5;
>> plot(x,y,x,z,x,w)

------------------------------------------------------------------------
       Segmentation violation detected at Sun May  8 13:05:29 2005
------------------------------------------------------------------------

Configuration:
  MATLAB Version:   7.0.0.19901 (R14)
  Operating System: Linux 2.6.11-6mdk #1 Tue Mar 22 16:04:32 CET 2005 i686
  Window System:    Mandrakelinux (X.Org X11 6.8.2,  (60802000), display :0.0
  Current Visual:   0x22 (class 4, depth 24)
  Processor ID:     x86 Family 15 Model 2 Stepping 7, GenuineIntel
  Virtual Machine:  Java 1.4.2_02 with Sun Microsystems Inc. Java HotSpot(TM) Client VM
    (mixed mode)
  Default Charset:  ibm-1383_P110-2000

Register State:
  eax = 00000000   ebx = b7005480
  ecx = 62e36254   edx = a5e0ff88
  esi = 08c4c5c4   edi = 084dae20
  ebp = bfff7838   esp = bfff77f0
  eip = b6fc6733   flg = 00210246

Stack Trace:
  [0] libmwm_ir.so:mps_sweep_term_pools(0x084dad84, 0xa5e10110, 0xa5f25bd0, 0xb6b57c0a) + 211 bytes
  [1] libmwm_interpreter.so:in_delete_ir_record(_ir_context*, _ir_record*)(0x084dad84, 0xbfff7ae0, 0xbfff7a50, 0xbfff78f0) + 117 bytes
  [2] libmwm_interpreter.so:Mfh_mp::inCompileMfile(char const*)(0x08d8b000, 0x08d8fe2f "/mnt/pool/matlab/toolbox/matlab/..", 0xbfff8d88, 0xb7ae64b9) + 2106 bytes
  [3] libmwm_interpreter.so:Mfh_mp::inCompileMOrLoadPFile()(0x08d8b000, 0xb7d77660, 0xb7c80600, 0) + 1350 bytes
  [4] libmwm_interpreter.so:Mlm_mp::load_file()(0x08d26140, 1, 0, 0xb7d593fe) + 51 bytes
  [5] libmwm_dispatcher.so:Mlm_file::load_mf()(0x08d26140, 0, 0, 0xb7d278e6) + 127 bytes
  [6] libmwm_dispatcher.so:Mlm_MATLAB_fn::try_load()(0x08d26140, 0, 0, 0xb7d5824a) + 46 bytes
  [7] libmwm_dispatcher.so:Mfh_file::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0x08d8b000, 0, 0xbfff904c, 0) + 46 bytes
  [8] libmwm_dispatcher.so:mdDoMatlabFcnCall(0, 0xbfff904c, 0, 0) + 193 bytes
  [9] libmwudd_mi.so:getUDDPackage(0xb71e0f8c "graph2d", 0xb72432b8, 0xb5df0810, 0xb73d690a) + 768 bytes
  [10] libmwudd.so:udFindPackageOnPath(0xb71e0f8c "graph2d", 0xa5e100d8, 0xb54bd6e0 "_ZN11JObjectType7getTypeEv", 0) + 52 bytes
  [11] libmwhg.so:gsPlotv7Fcn(int, mxArray_tag**, int, int, mxArray_tag**)(0, 0xbfffbbb0, 550, 6) + 126 bytes
  [12] libmwhg.so:gsPlotFcnSwitch(bool, int, mxArray_tag**, int, int, mxArray_tag**)(1, 0, 0xbfffbbb0, 550) + 155 bytes
  [13] libmwhg.so:hgPlot(0, 0xbfffbbb0, 6, 0xbfffbc10) + 30 bytes
  [14] libmwm_dispatcher.so:Mfh_builtin<mxArray_tag>::dispatch_mf(int, mxArray_tag**, int, mxArray_tag**)(0xb550fb50, 0, 0xbfffbbb0, 6) + 53 bytes
  [15] libmwm_dispatcher.so:Mfh_MATLAB_fn::dispatch_fh(int, mxArray_tag**, int, mxArray_tag**)(0xb550fb50, 0, 0xbfffbbb0, 6) + 196 bytes
  [16] libmwm_interpreter.so:inDispatchFromStack(153, 0xa5f259ec "plot", 0, 6) + 503 bytes
  [17] libmwm_interpreter.so:inDispatchCall(char const*, int, int, int, int*, int*)(0xa5f259ec "plot", 153, 0, 6) + 145 bytes
  [18] libmwm_interpreter.so:.L522(2, 0, 0, 0) + 141 bytes
  [19] libmwm_interpreter.so:inInterPcodeSJ(inDebugCheck, int, int, opcodes, inPcodeNest_tag*)(2, 0, 0, 0) + 300 bytes
  [20] libmwm_interpreter.so:inInterPcode(2, 0, 0xbfffc128, 0xb7ad0317) + 54 bytes
  [21] libmwm_interpreter.so:in_local_call_eval_function(int*, _pcodeheader*, int*, mxArray_tag**, inDebugCheck)(0, 0xbfffcb20, 0xbfffcbb0, 0xbfffcbe8) + 163 bytes
  [22] libmwm_interpreter.so:inEvalStringWithIsVarFcn(_memory_context*, char const*, unsigned, EvalType, int, mxArray_tag**, inDebugCheck, _pcodeheader*, int*, bool (*)(void*, char const*), void*)(0xb7fd7464, 0x08c0e3e0 "plot(x,y,x,z,x,w)\n", 18, 0) + 2358 bytes
  [23] libmwm_interpreter.so:inEvalCmdNoEnd(0x08c0e3e0 "plot(x,y,x,z,x,w)\n", 0x08c0e3e0 "plot(x,y,x,z,x,w)\n", 0xbfffcd98, 0xb7dd5dc3) + 110 bytes
  [24] libmwbridge.so:mnParser(0xb7dabe8b "@@@", 0xb7dabf7b "mnParser", 1, 0xb7d9e669 "_ZN24mcrGlobalOptionsInternal14m..") + 471 bytes
  [25] libmwmcr.so:mcrInstance::mnParser()(0x080a1f60, 0, 0xbffff0d8, 0x0804a90e) + 96 bytes
  [26] MATLAB:mcrMain(int, char**)(1, 0xbffff184 ", 0x0804ad28, 0xbffff0f8) + 308 bytes
  [27] MATLAB:main(1, 0xbffff184 ", 0xbffff18c, 0xb7ff7014) + 23 bytes
  [28] libc.so.6:__libc_start_main~(0x0804a7d0, 1, 0xbffff184 ", 0x0804a3e4) + 203 bytes

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:
       /home/shanpeng/matlab_crash_dump.16431

  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.

Unexpected error status flag encountered.  Resetting to proper state.


不能 画图不知道为什么
 楼主| 发表于 2005-5-8 13:27:41 | 显示全部楼层
刚才结束了KDE下的会话,进入 Gnome 重启后又可以了,可能是资源紧张了
回复 支持 反对

使用道具 举报

发表于 2005-5-18 21:55:19 | 显示全部楼层
楼主在哪里下载的,可否告诉我一下,谢谢谢谢!
mail:tigeroar@163.com
QQ:57976304
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表