Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

An unexpected exception has been detected in native code outside the VM

Please login with a confirmed email address before reporting spam

Hi:
I export comsol model to matlab as a simulink block, it works well at beging, but suddenly matlab closed, and left a error message as follow:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x250CC33B
Function=Callback::Arg::Arg+0x36B
Library=E:\COMSOL35a\lib\win32\flarray.dll

Current Java thread:
at com.femlab.xmesh.PostInterp.eval(Native Method)
at com.femlab.xmesh.PostInterp.eval(Unknown Source)

Dynamic libraries:
0x00400000 - 0x004D8000 E:\matlab7.0\bin\win32\matlab.exe
0x7C920000 - 0x7C9B6000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C91E000 C:\WINDOWS\system32\kernel32.dll
0x792F0000 - 0x7938E000 E:\matlab7.0\bin\win32\mcr.dll
0x77D10000 - 0x77DA0000 C:\WINDOWS\system32\USER32.dll
0x77EF0000 - 0x77F39000 C:\WINDOWS\system32\GDI32.dll
0x76320000 - 0x76367000 C:\WINDOWS\system32\comdlg32.dll
0x77DA0000 - 0x77E49000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E50000 - 0x77EE3000 C:\WINDOWS\system32\RPCRT4.dll
0x77FC0000 - 0x77FD1000 C:\WINDOWS\system32\Secur32.dll
0x5D170000 - 0x5D20A000 C:\WINDOWS\system32\COMCTL32.dll
0x7D590000 - 0x7DD84000 C:\WINDOWS\system32\SHELL32.dll
0x77BE0000 - 0x77C38000 C:\WINDOWS\system32\msvcrt.dll
0x77F40000 - 0x77FB6000 C:\WINDOWS\system32\SHLWAPI.dll
0x76990000 - 0x76ACE000 C:\WINDOWS\system32\ole32.dll
0x78800000 - 0x78815000 E:\matlab7.0\bin\win32\mpath.dll
0x78700000 - 0x78788000 E:\matlab7.0\bin\win32\libut.dll
0x76C60000 - 0x76C88000 C:\WINDOWS\system32\imagehlp.dll
0x78500000 - 0x78576000 E:\matlab7.0\bin\win32\icuuc24.dll
0x78430000 - 0x78435000 E:\matlab7.0\bin\win32\icudt24l.dll
0x7C340000 - 0x7C396000 E:\matlab7.0\bin\win32\MSVCR71.dll
0x78440000 - 0x784C2000 E:\matlab7.0\bin\win32\icuin24.dll
0x784D0000 - 0x784DD000 E:\matlab7.0\bin\win32\icuio24.dll
0x7C3A0000 - 0x7C41B000 E:\matlab7.0\bin\win32\MSVCP71.dll
0x770F0000 - 0x7717B000 C:\WINDOWS\system32\OLEAUT32.dll
0x79AC0000 - 0x79AD1000 E:\matlab7.0\bin\win32\mwoles05.dll
0x787F0000 - 0x787FE000 E:\matlab7.0\bin\win32\mvalue.dll
0x78790000 - 0x787C5000 E:\matlab7.0\bin\win32\libmx.dll
0x786E0000 - 0x786F2000 E:\matlab7.0\bin\win32\libz.dll
0x79B70000 - 0x79BA5000 E:\matlab7.0\bin\win32\comcli.dll
0x78930000 - 0x78993000 E:\matlab7.0\bin\win32\m_dispatcher.dll
0x78580000 - 0x786D6000 E:\matlab7.0\bin\win32\xerces-c_2_1_0.dll
0x78F70000 - 0x78FD4000 E:\matlab7.0\bin\win32\libmwservices.dll
0x78F50000 - 0x78F61000 E:\matlab7.0\bin\win32\datasvcs.dll
0x788B0000 - 0x7892D000 E:\matlab7.0\bin\win32\udd.dll
0x78820000 - 0x788A5000 E:\matlab7.0\bin\win32\mcos.dll
0x79020000 - 0x7909B000 E:\matlab7.0\bin\win32\uiw.dll
0x792C0000 - 0x792EA000 E:\matlab7.0\bin\win32\libmwhardcopy.dll
0x789A0000 - 0x78C28000 E:\matlab7.0\bin\win32\m_interpreter.dll
0x78E30000 - 0x78E87000 E:\matlab7.0\bin\win32\m_ir.dll
0x787D0000 - 0x787DE000 E:\matlab7.0\bin\win32\libmex.dll
0x78ED0000 - 0x78F43000 E:\matlab7.0\bin\win32\mlib.dll
0x78C30000 - 0x78E29000 E:\matlab7.0\bin\win32\m_parser.dll
0x78EC0000 - 0x78ECA000 E:\matlab7.0\bin\win32\ir_xfmr.dll
0x787E0000 - 0x787E9000 E:\matlab7.0\bin\win32\libmat.dll
0x78EB0000 - 0x78EBF000 E:\matlab7.0\bin\win32\m_pcodeio.dll
0x78E90000 - 0x78EA1000 E:\matlab7.0\bin\win32\m_pcodegen.dll
0x790D0000 - 0x79145000 E:\matlab7.0\bin\win32\libmwgui.dll
0x79BF0000 - 0x79D18000 E:\matlab7.0\bin\win32\bridge.dll
0x77BD0000 - 0x77BD8000 C:\WINDOWS\system32\VERSION.dll
0x79B40000 - 0x79B6B000 E:\matlab7.0\bin\win32\jmi.dll
0x79150000 - 0x79291000 E:\matlab7.0\bin\win32\hg.dll
0x790A0000 - 0x790BA000 E:\matlab7.0\bin\win32\libuij.dll
0x79390000 - 0x794AF000 E:\matlab7.0\bin\win32\numerics.dll
0x794F0000 - 0x79576000 E:\matlab7.0\bin\win32\libfftw3.dll
0x79580000 - 0x79601000 E:\matlab7.0\bin\win32\libfftw3f.dll
0x794B0000 - 0x794CC000 E:\matlab7.0\bin\win32\libmwlapack.dll
0x79A80000 - 0x79AB2000 E:\matlab7.0\bin\win32\libmwumfpack.dll
0x7C140000 - 0x7C243000 E:\matlab7.0\bin\win32\MFC71.DLL
0x72F70000 - 0x72F96000 C:\WINDOWS\system32\WINSPOOL.DRV
0x79AE0000 - 0x79B31000 E:\matlab7.0\bin\win32\udd_mi.dll
0x5FDD0000 - 0x5FE25000 C:\WINDOWS\system32\NETAPI32.dll
0x71A20000 - 0x71A37000 C:\WINDOWS\system32\WS2_32.dll
0x71A10000 - 0x71A18000 C:\WINDOWS\system32\WS2HELP.dll
0x790C0000 - 0x790C5000 E:\matlab7.0\bin\win32\uinone.dll
0x79BB0000 - 0x79BB9000 E:\matlab7.0\bin\win32\mlautoregister.dll
0x5CC30000 - 0x5CC56000 C:\WINDOWS\system32\ShimEng.dll
0x715F0000 - 0x71669000 C:\WINDOWS\AppPatch\AcLayers.DLL
0x759D0000 - 0x75A7F000 C:\WINDOWS\system32\USERENV.dll
0x58FB0000 - 0x5917A000 C:\WINDOWS\AppPatch\AcGenral.DLL
0x76B10000 - 0x76B3A000 C:\WINDOWS\system32\WINMM.dll
0x77BB0000 - 0x77BC5000 C:\WINDOWS\system32\MSACM32.dll
0x5ADC0000 - 0x5ADF7000 C:\WINDOWS\system32\UxTheme.dll
0x76300000 - 0x7631D000 C:\WINDOWS\system32\IMM32.DLL
0x62C20000 - 0x62C29000 C:\WINDOWS\system32\LPK.DLL
0x73FA0000 - 0x7400B000 C:\WINDOWS\system32\USP10.dll
0x77180000 - 0x77283000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll
0x7A7B0000 - 0x7A9C8000 E:\matlab7.0\bin\win32\atlas_PIII.dll
0x79610000 - 0x79A64000 E:\matlab7.0\bin\win32\lapack.dll
0x7C040000 - 0x7C0B5000 E:\matlab7.0\bin\win32\DFORRT.dll
0x7C300000 - 0x7C30A000 E:\matlab7.0\bin\win32\MFC71CHS.DLL
0x02AC0000 - 0x02B2D000 C:\Program Files\360\360safe\safemon\safemon.dll
0x75FF0000 - 0x76055000 C:\WINDOWS\system32\MSVCP60.dll
0x3E410000 - 0x3E4F6000 C:\WINDOWS\system32\WININET.dll
0x02B40000 - 0x02B49000 C:\WINDOWS\system32\Normaliz.dll
0x43CE0000 - 0x43E13000 C:\WINDOWS\system32\urlmon.dll
0x3EAB0000 - 0x3EC9B000 C:\WINDOWS\system32\iertutil.dll
0x76BC0000 - 0x76BCB000 C:\WINDOWS\system32\PSAPI.DLL
0x74680000 - 0x746CC000 C:\WINDOWS\system32\MSCTF.dll
0x5EF10000 - 0x5EFDC000 C:\WINDOWS\system32\opengl32.dll
0x68E20000 - 0x68E40000 C:\WINDOWS\system32\GLU32.dll
0x736D0000 - 0x7371B000 C:\WINDOWS\system32\DDRAW.dll
0x73B30000 - 0x73B36000 C:\WINDOWS\system32\DCIMAN32.dll
0x69030000 - 0x6A1BB000 C:\WINDOWS\system32\atioglxx.dll
0x10000000 - 0x10031000 C:\WINDOWS\system32\atiadlxx.dll
0x76060000 - 0x761B6000 C:\WINDOWS\system32\SETUPAPI.dll
0x78130000 - 0x781CB000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\MSVCR80.dll
0x76C00000 - 0x76C2E000 C:\WINDOWS\system32\WINTRUST.dll
0x765E0000 - 0x76673000 C:\WINDOWS\system32\CRYPT32.dll
0x76DB0000 - 0x76DC2000 C:\WINDOWS\system32\MSASN1.dll
0x06120000 - 0x06256000 E:\matlab7.0\sys\java\jre\win32\jre1.4.2\bin\client\jvm.dll
0x78240000 - 0x78247000 E:\matlab7.0\sys\java\jre\win32\jre1.4.2\bin\hpi.dll
0x78250000 - 0x7825E000 E:\matlab7.0\sys\java\jre\win32\jre1.4.2\bin\verify.dll
0x78260000 - 0x78278000 E:\matlab7.0\sys\java\jre\win32\jre1.4.2\bin\java.dll
0x78280000 - 0x7828D000 E:\matlab7.0\sys\java\jre\win32\jre1.4.2\bin\zip.dll
0x79D20000 - 0x79D32000 E:\matlab7.0\bin\win32\jmi_mi.dll
0x78290000 - 0x7839A000 E:\matlab7.0\sys\java\jre\win32\jre1.4.2\bin\awt.dll
0x783E0000 - 0x78430000 E:\matlab7.0\sys\java\jre\win32\jre1.4.2\bin\fontmanager.dll
0x76D70000 - 0x76D92000 C:\WINDOWS\system32\apphelp.dll
0x73640000 - 0x7366E000 C:\WINDOWS\system32\msctfime.ime
0x08BE0000 - 0x08E7F000 C:\WINDOWS\system32\SOGOUPY.IME
0x762F0000 - 0x762F5000 C:\WINDOWS\system32\MSIMG32.dll
0x08FB0000 - 0x0901D000 E:\excution program\SogouInput\6.0.0.6236\Resource.dll
0x7A780000 - 0x7A78A000 E:\matlab7.0\bin\win32\nativejava.dll
0x60800000 - 0x60809000 C:\WINDOWS\system32\mslbui.dll
0x792A0000 - 0x792BD000 E:\matlab7.0\bin\win32\glren.dll
0x0DD50000 - 0x0DD60000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\ZSDNT5UI.DLL
0x0E220000 - 0x0E240000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\ZSDDM.DLL
0x0F450000 - 0x0F46A000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\ZSPOOL.dll
0x0F480000 - 0x0F498000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\ZGDI.dll
0x0F4B0000 - 0x0F4BE000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\ZTAG.dll
0x71060000 - 0x7108C000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\ZSDDMUI.DLL
0x0F520000 - 0x0F570000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\ZSR.dll
0x78FE0000 - 0x7901E000 E:\matlab7.0\bin\win32\libmwbuiltins.dll
0x0FE40000 - 0x0FE45000 E:\matlab7.0\toolbox\matlab\datatypes\cellfun.dll
0x0FE50000 - 0x0FE56000 E:\COMSOL35a\lib\win32\fldynload.dll
0x0FE70000 - 0x0FEEF000 E:\COMSOL35a\lib\win32\flutil.dll
0x24040000 - 0x24208000 E:\COMSOL35a\lib\win32\ipv4\flnutil.dll
0x71A40000 - 0x71A4B000 C:\WINDOWS\system32\WSOCK32.dll
0x7C420000 - 0x7C4A7000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\MSVCP80.dll
0x72880000 - 0x72890000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.OpenMP_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0ee63867\vcomp.dll
0x24210000 - 0x24365000 E:\COMSOL35a\lib\win32\fljni.dll
0x0FF20000 - 0x0FF5C000 E:\COMSOL35a\lib\win32\flpost.dll
0x24370000 - 0x24AC5000 E:\COMSOL35a\lib\win32\flxmesh.dll
0x24AD0000 - 0x24D34000 E:\COMSOL35a\lib\win32\flmesh.dll
0x24D40000 - 0x250BE000 E:\COMSOL35a\lib\win32\flgeom.dll
0x250C0000 - 0x252FC000 E:\COMSOL35a\lib\win32\flarray.dll
0x25300000 - 0x2535A000 E:\COMSOL35a\lib\win32\flumfpack.dll
0x0FFB0000 - 0x0FFD8000 E:\COMSOL35a\lib\win32\flcutil.dll
0x0FFE0000 - 0x0FFEB000 E:\COMSOL35a\lib\win32\flblas.dll
0x25360000 - 0x25383000 E:\COMSOL35a\lib\win32\flspecfun.dll
0x25390000 - 0x25525000 E:\COMSOL35a\lib\win32\fllapack.dll
0x0FFF0000 - 0x0FFFF000 E:\COMSOL35a\lib\win32\flcluster.dll
0x25540000 - 0x2554D000 E:\COMSOL35a\lib\win32\clmpi.dll
0x25550000 - 0x256D7000 E:\COMSOL35a\lib\win32\flsolver.dll
0x256F0000 - 0x2571E000 E:\COMSOL35a\lib\win32\flarpack.dll
0x25720000 - 0x25755000 E:\COMSOL35a\lib\win32\fltaucs.dll
0x25760000 - 0x25880000 E:\COMSOL35a\lib\win32\flspooles.dll
0x25880000 - 0x2589A000 E:\COMSOL35a\lib\win32\fldaspk.dll
0x258A0000 - 0x258AF000 E:\COMSOL35a\lib\win32\sundials.dll
0x25A30000 - 0x25A3F000 E:\matlab7.0\sys\java\jre\win32\jre1.4.2\bin\net.dll
0x25A40000 - 0x25A66000 C:\WINDOWS\system32\ikutm.dll
0x25AA0000 - 0x25AEE000 C:\WINDOWS\system32\TcpIpDog0.dll
0x719C0000 - 0x719FE000 C:\WINDOWS\system32\mswsock.dll
0x60FD0000 - 0x61025000 C:\WINDOWS\system32\hnetcfg.dll
0x71A00000 - 0x71A08000 C:\WINDOWS\System32\wshtcpip.dll
0x76EF0000 - 0x76F17000 C:\WINDOWS\system32\DNSAPI.dll
0x76D30000 - 0x76D48000 C:\WINDOWS\system32\iphlpapi.dll
0x76F80000 - 0x76F88000 C:\WINDOWS\System32\winrnr.dll
0x76F30000 - 0x76F5C000 C:\WINDOWS\system32\WLDAP32.dll
0x76F90000 - 0x76F96000 C:\WINDOWS\system32\rasadhlp.dll
0x0C700000 - 0x0C70F000 E:\COMSOL35a\lib\win32\flmklblas.dll
0x26D60000 - 0x27634000 E:\COMSOL35a\lib\win32\flmklblaswrap.dll
0x7BD80000 - 0x7BFD1000 E:\matlab7.0\bin\win32\libguide40.dll
0x76FA0000 - 0x7701F000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77020000 - 0x770BA000 C:\WINDOWS\system32\COMRes.dll
0x76960000 - 0x76984000 C:\WINDOWS\system32\ntshrui.dll
0x76AF0000 - 0x76B01000 C:\WINDOWS\system32\ATL.DLL
0x29F40000 - 0x29FD8000 E:\matlab7.0\toolbox\matlab\imagesci\hdf.dll
0x29FE0000 - 0x2A07E000 E:\matlab7.0\bin\win32\mwhd413m.dll
0x0C950000 - 0x0C966000 E:\matlab7.0\bin\win32\mwhm413m.dll
0x79E50000 - 0x7A493000 E:\matlab7.0\bin\win32\simulink.dll
0x7A4A0000 - 0x7A4E0000 E:\matlab7.0\bin\win32\sl_solver.dll
0x7A5C0000 - 0x7A69B000 E:\matlab7.0\bin\win32\glee.dll
0x7B540000 - 0x7B95C000 E:\matlab7.0\bin\win32\qt-mt312.dll
0x0C970000 - 0x0C9A5000 E:\matlab7.0\bin\win32\qaxcontainer.dll
0x7A6A0000 - 0x7A771000 E:\matlab7.0\bin\win32\cg_ir.dll
0x7A4E0000 - 0x7A50E000 E:\matlab7.0\bin\win32\libfixedpoint.dll
0x7A510000 - 0x7A5BC000 E:\matlab7.0\bin\win32\fitools.dll
0x6E600000 - 0x6E645000 E:\matlab7.0\bin\win32\gmp.dll
0x79D40000 - 0x79E4B000 E:\matlab7.0\bin\win32\dastudio.dll
0x2A080000 - 0x2A2AE000 E:\matlab7.0\toolbox\stateflow\stateflow\sf.dll
0x0CF70000 - 0x0CFA5000 E:\matlab7.0\bin\win32\eml.dll
0x0C9B0000 - 0x0C9B5000 E:\matlab7.0\toolbox\matlab\timefun\datenummx.dll
0x73250000 - 0x73255000 C:\WINDOWS\system32\riched32.dll
0x74D90000 - 0x74DFD000 C:\WINDOWS\system32\RICHED20.dll
0x2A730000 - 0x2AC79000 C:\WINDOWS\system32\xpsp2res.dll
0x7A790000 - 0x7A797000 E:\matlab7.0\bin\win32\nativelex.dll
0x7A7A0000 - 0x7A7A5000 E:\matlab7.0\bin\win32\nativehg.dll
0x783A0000 - 0x783A5000 E:\matlab7.0\sys\java\jre\win32\jre1.4.2\bin\jawt.dll
0x28E40000 - 0x28E45000 E:\COMSOL35a\mli\multiphysics\ml65\flgetarray.dll
0x28E50000 - 0x28E55000 E:\COMSOL35a\mli\multiphysics\ml65\flsetarray.dll
0x28E60000 - 0x28E65000 E:\matlab7.0\toolbox\matlab\datafun\sortrowsc.dll
0x28E70000 - 0x28E75000 E:\matlab7.0\toolbox\matlab\ops\ismembc.dll
0x28E80000 - 0x28E85000 E:\matlab7.0\toolbox\matlab\datafun\sortcellchar.dll
0x29820000 - 0x2982A000 E:\matlab7.0\toolbox\matlab\iofun\dataread.dll
0x68D60000 - 0x68E01000 C:\WINDOWS\system32\DBGHELP.dll

Heap at VM Abort:
Heap
def new generation total 3264K, used 1628K [0x10040000, 0x103c0000, 0x124d0000)
eden space 2944K, 54% used [0x10040000, 0x101d4500, 0x10320000)
from space 320K, 3% used [0x10370000, 0x10372e18, 0x103c0000)
to space 320K, 0% used [0x10320000, 0x10320000, 0x10370000)
tenured generation total 20856K, used 13659K [0x124d0000, 0x1392e000, 0x20040000)
the space 20856K, 65% used [0x124d0000, 0x13226cf0, 0x13226e00, 0x1392e000)
compacting perm gen total 17664K, used 17439K [0x20040000, 0x21180000, 0x24040000)
the space 17664K, 98% used [0x20040000, 0x21147f28, 0x21148000, 0x21180000)

Local Time = Fri Jan 06 18:24:02 2012
Elapsed Time = 4198
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode)
#
Can anyone tell me what's happened?
Thanks in advance!

4 Replies Last Post 10 gen 2012, 20:20 GMT-5
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 6 gen 2012, 07:13 GMT-5
Hi

I would say try "support". I'm not sure anybody outside COMSOL's developers understands the details of these log reports ;)

--
Good luck
Ivar
Hi I would say try "support". I'm not sure anybody outside COMSOL's developers understands the details of these log reports ;) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 8 gen 2012, 11:03 GMT-5
It is a interesting problem, for the sofeware not always close automatically, if the parameters changes a little, maybe if will continue computing smoothly.
Thank you Ivar for your kind heart!
It is a interesting problem, for the sofeware not always close automatically, if the parameters changes a little, maybe if will continue computing smoothly. Thank you Ivar for your kind heart!

Jim Freels mechanical side of nuclear engineering, multiphysics analysis, COMSOL specialist

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 8 gen 2012, 11:33 GMT-5
Question: is COMSOL 3.5a supported under Windows-7 ?

Did Windows-7 come out after COMSOL 3.5a ?

Similar question about MATLAB versions. Make sure all is compatible.
Question: is COMSOL 3.5a supported under Windows-7 ? Did Windows-7 come out after COMSOL 3.5a ? Similar question about MATLAB versions. Make sure all is compatible.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 10 gen 2012, 20:20 GMT-5
My computor OS is windows XP, service pack 3, and the version of MATLAB is 7.0.0.1992. So I think there is no compatbility problem. Furhermore, the problem not always apperars, it some times disappears when I choose other parameter in MATLAB.
My computor OS is windows XP, service pack 3, and the version of MATLAB is 7.0.0.1992. So I think there is no compatbility problem. Furhermore, the problem not always apperars, it some times disappears when I choose other parameter in MATLAB.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.