This discussion is archived
1 Reply Latest reply: Oct 11, 2009 11:20 AM by 843810 RSS


843810 Newbie
Currently Being Moderated
I have encountered to a problem. I use AnyLogic. AnyLogic is connected to another program with DLL's. But when I try to execute the AnyLogic the program is terminated and gives me the error log. Following is the report in the error log. I check both the java part and the C part of my code to find any possible errors, but it seems everything work fine, I would appreciate any one to support me.


# An unexpected error has been detected by Java Runtime Environment:
# EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x0091cea9, pid=4016, tid=2856
# Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode)
# Problematic frame:
# v ~RuntimeStub::resolve_opt_virtual_call
# If you would like to submit a bug report, please visit:

--------------- T H R E A D ---------------

Current thread (0x0b090000): JavaThread "AnyLogic user input event processor" daemon [_thread_in_Java, id=2856]

siginfo: ExceptionCode=0xc0000092, ExceptionInformation=0x00000000 0x0c06f544

EAX=0x02990df0, EBX=0x02e6ae28, ECX=0x02990df0, EDX=0x00000007
ESP=0x0c06f4d8, EBP=0x0c06f5e8, ESI=0x02e84570, EDI=0x00000007
EIP=0x0091cea9, EFLAGS=0x00010216

Top of Stack: (sp=0x0c06f4d8)
0x0c06f4d8: ffff1372 ffff0020 ffffffff 6d985f89
0x0c06f4e8: 00eb001b 0c06f7b0 ffff0023 0bb7f29c
0x0c06f4f8: 0b002548 955c9168 00000afb cd9d0000
0x0c06f508: 0b00208c 0b010c00 f0b020a0 99320bb7
0x0c06f518: ffe76d93 00000029 0bb7f0cc 0000f0d0
0x0c06f528: 00000000 3ffa8000 00000000 80000000
0x0c06f538: 0000bfff 00000000 00000000 7ffa7c10
0x0c06f548: 7c910435 7c91043e 00008ed0 0c06f4c8

Instructions: (pc=0x0091cea9)
0x0091ce99: 00 00 83 ec 6c dd 34 24 9b dd 24 24 dd 5c 24 6c
0x0091cea9: dd 5c 24 74 dd 5c 24 7c dd 9c 24 84 00 00 00 dd

Stack: [0x0c020000,0x0c070000), sp=0x0c06f4d8, free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
v ~RuntimeStub::resolve_opt_virtual_call
J sun.nio.cs.SingleByteEncoder.encodeArrayLoop(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;
j sun.nio.cs.SingleByteEncoder.encodeLoop(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;+17
j java.nio.charset.CharsetEncoder.encode(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;+57
j sun.nio.cs.StreamEncoder.implWrite([CII)V+41
j sun.nio.cs.StreamEncoder.write([CII)V+60
j simple_model_of_agents.WDS.EPANET([DI)[D+423
j simple_model_of_agents.WDS.enterState(SZ)V+296
j simple_model_of_agents.WDS.executeActionOf(Lcom/xj/anylogic/engine/Statechart;)V+11
j com.xj.anylogic.engine.Statechart.start()V+5
j simple_model_of_agents.WDS.start()V+4
j simple_model_of_agents.Main.start()V+4
j com.xj.anylogic.engine.Engine.start(Lcom/xj/anylogic/engine/ActiveObject;)Z+104
j com.xj.anylogic.engine.ExperimentSimulation.a()V+46
j simple_model_of_agents.Simulation.executeShapeControlAction(II)V+28
j simple_model_of_agents.Simulation$1.action()V+6
j com.xj.anylogic.engine.presentation.ShapeControl.a()V+1
j com.xj.anylogic.engine.presentation.ShapeControlManager$
j com.xj.anylogic.engine.internal.a.d$
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
=>0x0b090000 JavaThread "AnyLogic user input event processor" daemon [_thread_in_Java, id=2856]
0x0afc3800 JavaThread "TimerQueue" daemon [_thread_blocked, id=2336]
0x0b05c400 JavaThread "AnyLogic presentation frame manager" daemon [_thread_blocked, id=2756]
0x00396800 JavaThread "DestroyJavaVM" [_thread_blocked, id=1252]
0x0b051400 JavaThread "AnyLogic simulation performance monitor" [_thread_blocked, id=636]
0x0b010c00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3544]
0x0afd0400 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=320]
0x0afb8800 JavaThread "Image Fetcher 3" daemon [_thread_blocked, id=3668]
0x0af91400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3868]
0x0af8f000 JavaThread "AWT-Shutdown" [_thread_blocked, id=3128]
0x0af8e800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=916]
0x0aa9c000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1232]
0x0aa97400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1672]
0x0aa96400 JavaThread "Attach Listener" daemon [_thread_blocked, id=3712]
0x0aa95400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3856]
0x0aa87400 JavaThread "Finalizer" daemon [_thread_blocked, id=2696]
0x0aa83000 JavaThread "Reference Handler" daemon [_thread_blocked, id=480]

Other Threads:
0x0aa7e400 VMThread [id=1544]
0x0aa9d800 WatcherThread [id=2104]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None
  • 1. Re: ExceptionCode=0xc0000092
    843810 Newbie
    Currently Being Moderated
    Continue of the log

    def new generation total 960K, used 198K [0x02970000, 0x02a70000, 0x02e50000)
    [error occurred during error reporting, step 190, id 0xc0000092]

    Dynamic libraries:
    0x00400000 - 0x00423000      C:\Program Files\AnyLogic 6\jre\bin\javaw.exe
    0x7c900000 - 0x7c9b2000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f6000      C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f02000      C:\WINDOWS\system32\RPCRT4.dll
    0x77fe0000 - 0x77ff1000      C:\WINDOWS\system32\Secur32.dll
    0x7e410000 - 0x7e4a1000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f59000      C:\WINDOWS\system32\GDI32.dll
    0x76390000 - 0x763ad000      C:\WINDOWS\system32\IMM32.DLL
    0x7c340000 - 0x7c396000      C:\Program Files\AnyLogic 6\jre\bin\msvcr71.dll
    0x6d7c0000 - 0x6da0a000      C:\Program Files\AnyLogic 6\jre\bin\client\jvm.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x6d310000 - 0x6d318000      C:\Program Files\AnyLogic 6\jre\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d770000 - 0x6d77c000      C:\Program Files\AnyLogic 6\jre\bin\verify.dll
    0x6d3b0000 - 0x6d3cf000      C:\Program Files\AnyLogic 6\jre\bin\java.dll
    0x6d7b0000 - 0x6d7bf000      C:\Program Files\AnyLogic 6\jre\bin\zip.dll
    0x6d000000 - 0x6d1c3000      C:\Program Files\AnyLogic 6\jre\bin\awt.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\msvcrt.dll
    0x774e0000 - 0x7761d000      C:\WINDOWS\system32\ole32.dll
    0x5ad70000 - 0x5ada8000      C:\WINDOWS\system32\uxtheme.dll
    0x73760000 - 0x737ab000      C:\WINDOWS\system32\ddraw.dll
    0x73bc0000 - 0x73bc6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x74720000 - 0x7476c000      C:\WINDOWS\system32\MSCTF.dll
    0x755c0000 - 0x755ee000      C:\WINDOWS\system32\msctfime.ime
    0x7c9c0000 - 0x7d1d7000      C:\WINDOWS\system32\shell32.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x773d0000 - 0x774d3000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
    0x5d090000 - 0x5d12a000      C:\WINDOWS\system32\comctl32.dll
    0x6d2b0000 - 0x6d303000      C:\Program Files\AnyLogic 6\jre\bin\fontmanager.dll
    0x6d570000 - 0x6d583000      C:\Program Files\AnyLogic 6\jre\bin\net.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x6d590000 - 0x6d599000      C:\Program Files\AnyLogic 6\jre\bin\nio.dll
    0x0bb80000 - 0x0bb8d000      C:\PROGRA~1\CAPTUR~1\QCAPHK.DLL
    0x77120000 - 0x771ab000      C:\WINDOWS\system32\oleaut32.dll
    0x10000000 - 0x10011000      C:\WINDOWS\system32\SLAgent.dll
    0x76c90000 - 0x76cb8000      C:\WINDOWS\system32\imagehlp.dll
    0x77690000 - 0x776b1000      C:\WINDOWS\system32\NTMARTA.DLL
    0x71bf0000 - 0x71c03000      C:\WINDOWS\system32\SAMLIB.dll
    0x76f60000 - 0x76f8c000      C:\WINDOWS\system32\WLDAP32.dll
    0x605d0000 - 0x605d9000      C:\WINDOWS\system32\mslbui.dll
    0x6d220000 - 0x6d243000      C:\Program Files\AnyLogic 6\jre\bin\dcpr.dll
    0x0c070000 - 0x0c085000      C:\SimulationOfWDS\code9\Sim.WDS.1.1.9\jepanet.dll
    0x0c090000 - 0x0c0c5000      C:\WINDOWS\system32\EPANET2.DLL
    0x0bd60000 - 0x0bd70000      C:\SimulationOfWDS\code9\Sim.WDS.1.1.9\Enodetype.dll

    VM Arguments:
    jvm_args: -Xmx64m -DlanguageId_xjal=en
    java_command: simple_model_of_agents.Simulation
    Launcher Type: SUN_STANDARD

    Environment Variables:
    CLASSPATH=C:\Program Files\Java\j2re1.4.2_03\lib\ext\;C:\LINGO11\Lingo11_0.jar
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 3, GenuineIntel

    --------------- S Y S T E M ---------------

    OS: Windows XP Build 2600 Service Pack 3

    CPU:total 2 (1 cores per cpu, 2 threads per core) family 15 model 4 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht

    Memory: 4k page, physical 2086980k(891720k free), swap 4194303k(4194303k free)

    vm_info: Java HotSpot(TM) Client VM (1.6.0_03-b05) for windows-x86, built on Sep 24 2007 22:24:33 by "java_re" with unknown MS VC++:1310