使用 R 扩展时 NetLogo BehaviourSpace 崩溃

2024-02-20

我正在我的机器上运行动物饲养场的模型。我已将 R 扩展添加到 NetLogo 代码中,以计算每个家庭范围的最小凸多边形。当我在多个内核上的BehaviorSpace 中运行模型时,NetLogo 将在几个时间步骤后消失(即停止运行)。我在 5.04 和 5.1 中尝试过,同样的情况发生。如果我选择 1 个核心而不是机器上可用的 4 个核心,则该模型确实可以在BehaviorSpace 中正常运行。如果我关闭 R 扩展,它也可以正常运行。有什么我应该做的吗?我最终想在具有多个核心的虚拟机上运行它。

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006c7252f7, pid=6620, tid=4264
#
# JRE version: Java(TM) SE Runtime Environment (7.0_65-b20) (build 1.7.0_65-b20)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.65-b04 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [R.dll+0x252f7]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

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

Current thread (0x0000000012b64000):  JavaThread "JobThread" [_thread_in_native, id=4264, stack(0x0000000013c90000,0x0000000014490000)]

siginfo: ExceptionCode=0xc0000005, writing address 0x0000000000000010

Registers:
RAX=0x0000000021f6ebd8, RBX=0x00000000221e2f30, RCX=0x0000000000000000, RDX=0x000000001e28fb70
RSP=0x0000000014487df0, RBP=0x00000000068f0788, RSI=0x000000006c9dc2c0, RDI=0x000000006c95da70
R8 =0x0000000000000000, R9 =0x0000000000000000, R10=0x0000000000000000, R11=0x0000000000000001
R12=0x00000000221e2f38, R13=0x000000006c95db40, R14=0x0000000000000000, R15=0x00000000068f0788
RIP=0x000000006c7252f7, EFLAGS=0x0000000000010202

Top of Stack: (sp=0x0000000014487df0)
0x0000000014487df0:   0000000006928390 000000001e27b9d0
0x0000000014487e00:   000007ffffe203a0 00000000069282b0
0x0000000014487e10:   0000000000000000 0000000000000000
0x0000000014487e20:   0000000010d4b910 0000000100000000
0x0000000014487e30:   0000000000000000 00000000000c7bf3
0x0000000014487e40:   0000000000000000 0000000000000010
0x0000000014487e50:   c1dfffffffc00000 000000002201a070
0x0000000014487e60:   00000000068f0750 000000000000000d
0x0000000014487e70:   00000000068f0788 000000002201a268
0x0000000014487e80:   c1dfffffffc00000 0000000000000000
0x0000000014487e90:   41dfffffffc00000 0000000000000000
0x0000000014487ea0:   c1dfffffffc00000 0000000000000000
0x0000000014487eb0:   41dfffffffc00000 0000000000000000
0x0000000014487ec0:   c1dfffffffc00000 0000000000000000
0x0000000014487ed0:   41dfffffffc00000 0000000000000000
0x0000000014487ee0:   0000000000000000 0000000000000000 

Instructions: (pc=0x000000006c7252f7)
0x000000006c7252d7:   48 85 d2 74 34 44 0f b6 72 03 41 f6 c6 01 75 29
0x000000006c7252e7:   41 83 ce 01 4c 8b 42 10 44 88 72 03 4c 8b 72 18
0x000000006c7252f7:   4d 89 46 10 4d 89 70 18 44 8b 43 20 48 89 42 10
0x000000006c725307:   41 83 f8 ff 74 18 48 89 d0 41 83 c3 01 49 83 c4 


Register to memory mapping:

RAX=0x0000000021f6ebd8 is an unknown value
RBX=0x00000000221e2f30 is an unknown value
RCX=0x0000000000000000 is an unknown value
RDX=0x000000001e28fb70 is an unknown value
RSP=0x0000000014487df0 is pointing into the stack for thread: 0x0000000012b64000
RBP=0x00000000068f0788 is an unknown value
RSI=0x000000006c9dc2c0 is an unknown value
RDI=0x000000006c95da70 is an unknown value
R8 =0x0000000000000000 is an unknown value
R9 =0x0000000000000000 is an unknown value
R10=0x0000000000000000 is an unknown value
R11=0x0000000000000001 is an unknown value
R12=0x00000000221e2f38 is an unknown value
R13=0x000000006c95db40 is an unknown value
R14=0x0000000000000000 is an unknown value
R15=0x00000000068f0788 is an unknown value


Stack: [0x0000000013c90000,0x0000000014490000],  sp=0x0000000014487df0,  free space=8159k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [R.dll+0x252f7]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.rosuda.JRI.Rengine.rniEval(JJ)J+0
j  org.rosuda.REngine.JRI.JRIEngine.eval(Lorg/rosuda/REngine/REXP;Lorg/rosuda/REngine/REXP;Z)Lorg/rosuda/REngine/REXP;+166
j  org.rosuda.REngine.REngine.parseAndEval(Ljava/lang/String;Lorg/rosuda/REngine/REXP;Z)Lorg/rosuda/REngine/REXP;+13
j  org.nlogo.extension.r.HoldRengineX.execute(Lorg/rosuda/REngine/REngine;Ljava/lang/String;Lorg/rosuda/REngine/REXP;Z)Lorg/rosuda/REngine/REXP;+28
j  org.nlogo.extension.r.Entry$Eval.perform([Lorg/nlogo/api/Argument;Lorg/nlogo/api/Context;)V+24
j  org.nlogo.prim._extern.perform(Lorg/nlogo/nvm/Context;)V+60
J 2544 C2 org.nlogo.nvm.ExclusiveJob.run()V (126 bytes) @ 0x0000000002b6f6ec [0x0000000002b6f3e0+0x30c]
J 2776 C2 org.nlogo.nvm.Context.runExclusiveJob(Lorg/nlogo/agent/AgentSet;I)V (54 bytes) @ 0x0000000002bec498 [0x0000000002bec380+0x118]
j  org.nlogo.prim._asm_procedurecalchomerange_ask_4.perform(Lorg/nlogo/nvm/Context;)V+288
j  org.nlogo.nvm.Context.stepConcurrent()V+64
j  org.nlogo.nvm.ConcurrentJob.step()V+64
j  org.nlogo.job.JobThread.org$nlogo$job$JobThread$$runPrimaryJobs()V+347
j  org.nlogo.job.JobThread$$anonfun$run$1.apply$mcV$sp()V+29
j  org.nlogo.job.JobThread$$anonfun$run$1.apply()V+1
j  org.nlogo.job.JobThread$$anonfun$run$1.apply()Ljava/lang/Object;+1
j  scala.util.control.Exception$Catch.apply(Lscala/Function0;)Ljava/lang/Object;+1
j  org.nlogo.util.Exceptions$.handling(Lscala/collection/Seq;Lscala/Function0;)V+18
j  org.nlogo.job.JobThread.run()V+29
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x000000001496d800 JavaThread "pool-2-thread-2" [_thread_blocked, id=4396, stack(0x0000000020ef0000,0x0000000020ff0000)]
  0x000000001496d000 JavaThread "pool-2-thread-1" [_thread_blocked, id=5444, stack(0x000000001a4f0000,0x000000001a5f0000)]
  0x0000000014bd4000 JavaThread "BehaviorSpace Worker" [_thread_blocked, id=2296, stack(0x000000001d870000,0x000000001d970000)]
  0x0000000014bd3800 JavaThread "BehaviorSpace Supervisor" [_thread_blocked, id=1960, stack(0x000000001eb70000,0x000000001ec70000)]
  0x0000000014bd2800 JavaThread "JobThread" [_thread_blocked, id=5128, stack(0x0000000020630000,0x0000000020e30000)]
  0x0000000014bd2000 JavaThread "JobThread" [_thread_blocked, id=4200, stack(0x000000001fdf0000,0x00000000205f0000)]
  0x0000000014bd1000 JavaThread "JobThread" [_thread_blocked, id=5192, stack(0x000000001f500000,0x000000001fd00000)]
  0x0000000014bd0000 JavaThread "JobThread" [_thread_blocked, id=3876, stack(0x000000001ec70000,0x000000001f470000)]
  0x0000000014bcf800 JavaThread "JobThread" [_thread_blocked, id=6912, stack(0x000000001e2c0000,0x000000001eac0000)]
  0x0000000014bce800 JavaThread "JobThread" [_thread_blocked, id=6652, stack(0x000000001da50000,0x000000001e250000)]
  0x0000000014bce000 JavaThread "JobThread" [_thread_blocked, id=3116, stack(0x000000001d060000,0x000000001d860000)]
  0x0000000014bcd000 JavaThread "Thread-4" [_thread_blocked, id=816, stack(0x000000001ad60000,0x000000001ae60000)]
  0x000000001516c000 JavaThread "Swing-Shell" daemon [_thread_blocked, id=2044, stack(0x000000001a960000,0x000000001aa60000)]
  0x000000000213d800 JavaThread "DestroyJavaVM" [_thread_blocked, id=7040, stack(0x0000000002500000,0x0000000002600000)]
  0x0000000012aea000 JavaThread "Lifeguard" [_thread_blocked, id=3644, stack(0x0000000014800000,0x0000000014900000)]
  0x0000000012b01800 JavaThread "TimerQueue" daemon [_thread_blocked, id=6748, stack(0x0000000014510000,0x0000000014610000)]
=>0x0000000012b64000 JavaThread "JobThread" [_thread_in_native, id=4264, stack(0x0000000013c90000,0x0000000014490000)]
  0x000000001288e800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3564, stack(0x00000000135b0000,0x00000000136b0000)]
  0x00000000127af000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5152, stack(0x00000000132d0000,0x00000000133d0000)]
  0x00000000127ae800 JavaThread "AWT-Shutdown" [_thread_blocked, id=4732, stack(0x0000000013000000,0x0000000013100000)]
  0x00000000127a0000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=6000, stack(0x00000000120f0000,0x00000000121f0000)]
  0x000000000fa8e800 JavaThread "Service Thread" daemon [_thread_blocked, id=5224, stack(0x0000000012490000,0x0000000012590000)]
  0x000000000fa8b800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=5044, stack(0x00000000122f0000,0x00000000123f0000)]
  0x000000000fa84000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=1384, stack(0x00000000121f0000,0x00000000122f0000)]
  0x000000000fa83000 JavaThread "Attach Listener" daemon [_thread_blocked, id=3960, stack(0x0000000011f90000,0x0000000012090000)]
  0x000000000fa82800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6316, stack(0x0000000011be0000,0x0000000011ce0000)]
  0x000000000fa71000 JavaThread "Finalizer" daemon [_thread_blocked, id=3424, stack(0x0000000011e90000,0x0000000011f90000)]
  0x0000000002236800 JavaThread "Reference Handler" daemon [_thread_blocked, id=1448, stack(0x0000000011cf0000,0x0000000011df0000)]

Other Threads:
  0x000000000fa6d800 VMThread [stack: 0x0000000011ae0000,0x0000000011be0000] [id=5788]
  0x000000000fa8f000 WatcherThread [stack: 0x0000000012620000,0x0000000012720000] [id=6516]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen      total 755712K, used 203842K [0x00000007aaa80000, 0x00000007e0400000, 0x0000000800000000)
  eden space 665088K, 28% used [0x00000007aaa80000,0x00000007b6347db8,0x00000007d3400000)
  from space 90624K, 16% used [0x00000007d3400000,0x00000007d4248af8,0x00000007d8c80000)
  to   space 86528K, 0% used [0x00000007daf80000,0x00000007daf80000,0x00000007e0400000)
 ParOldGen       total 447488K, used 331809K [0x0000000700000000, 0x000000071b500000, 0x00000007aaa80000)
  object space 447488K, 74% used [0x0000000700000000,0x0000000714408628,0x000000071b500000)
 PSPermGen       total 83968K, used 81937K [0x00000006fae00000, 0x0000000700000000, 0x0000000700000000)
  object space 83968K, 97% used [0x00000006fae00000,0x00000006ffe04558,0x0000000700000000)

Card table byte_map: [0x0000000005600000,0x0000000005e30000] byte_map_base: 0x0000000001e29000

Polling page: 0x0000000000130000

Code Cache  [0x0000000002600000, 0x0000000002c40000, 0x0000000005600000)
 total_blobs=3394 nmethods=2789 adapters=557 free_code_cache=42880Kb largest_free_block=43786304

Compilation events (10 events):
Event: 216.538 Thread 0x000000000fa8b800 2939             org.nlogo.prim._asm_procedureestablishorupdatemalehomerange_myself_218::report (38 bytes)
Event: 216.538 Thread 0x000000000fa84000 2940             org.nlogo.prim._asm_procedureestablishorupdatemalehomerange_self_216::report (5 bytes)
Event: 216.538 Thread 0x000000000fa84000 nmethod 2940 0x0000000002bd6fd0 code [0x0000000002bd7100, 0x0000000002bd7178]
Event: 216.542 Thread 0x000000000fa8b800 nmethod 2939 0x0000000002c2b350 code [0x0000000002c2b4a0, 0x0000000002c2b5b8]
Event: 216.768 Thread 0x000000000fa84000 2941   !         org.rosuda.REngine.JRI.JRIEngine::resolvePointer (1116 bytes)
Event: 216.796 Thread 0x000000000fa8b800 2942  s          org.rosuda.JRI.Mutex::safeLock (70 bytes)
Event: 216.802 Thread 0x000000000fa8b800 nmethod 2942 0x0000000002c1ec10 code [0x0000000002c1ed80, 0x0000000002c1f348]
Event: 216.825 Thread 0x000000000fa8b800 2943             org.nlogo.extension.r.HoldRengineX::resolveListAndVector (251 bytes)
Event: 216.839 Thread 0x000000000fa8b800 nmethod 2943 0x0000000002bf8cd0 code [0x0000000002bf8e80, 0x0000000002bf93a8]
Event: 216.855 Thread 0x000000000fa8b800 2944             org.nlogo.extension.r.HoldRengineX::resolveListAndVector (251 bytes)

GC Heap History (10 events):
Event: 208.053 GC heap before
{Heap before GC invocations=22 (full 5):
 PSYoungGen      total 673792K, used 568320K [0x00000007aaa80000, 0x00000007da480000, 0x0000000800000000)
  eden space 568320K, 100% used [0x00000007aaa80000,0x00000007cd580000,0x00000007cd580000)
  from space 105472K, 0% used [0x00000007d3d80000,0x00000007d3d80000,0x00000007da480000)
  to   space 105984K, 0% used [0x00000007cd580000,0x00000007cd580000,0x00000007d3d00000)
 ParOldGen       total 447488K, used 331801K [0x0000000700000000, 0x000000071b500000, 0x00000007aaa80000)
  object space 447488K, 74% used [0x0000000700000000,0x0000000714406628,0x000000071b500000)
 PSPermGen       total 83968K, used 81658K [0x00000006fae00000, 0x0000000700000000, 0x0000000700000000)
  object space 83968K, 97% used [0x00000006fae00000,0x00000006ffdbe8a0,0x0000000700000000)
Event: 208.087 GC heap after
Heap after GC invocations=22 (full 5):
 PSYoungGen      total 674304K, used 23844K [0x00000007aaa80000, 0x00000007ddb80000, 0x0000000800000000)
  eden space 568320K, 0% used [0x00000007aaa80000,0x00000007aaa80000,0x00000007cd580000)
  from space 105984K, 22% used [0x00000007cd580000,0x00000007cecc9370,0x00000007d3d00000)
  to   space 100864K, 0% used [0x00000007d7900000,0x00000007d7900000,0x00000007ddb80000)
 ParOldGen       total 447488K, used 331801K [0x0000000700000000, 0x000000071b500000, 0x00000007aaa80000)
  object space 447488K, 74% used [0x0000000700000000,0x0000000714406628,0x000000071b500000)
 PSPermGen       total 83968K, used 81658K [0x00000006fae00000, 0x0000000700000000, 0x0000000700000000)
  object space 83968K, 97% used [0x00000006fae00000,0x00000006ffdbe8a0,0x0000000700000000)
}
Event: 209.309 GC heap before
{Heap before GC invocations=23 (full 5):
 PSYoungGen      total 674304K, used 592164K [0x00000007aaa80000, 0x00000007ddb80000, 0x0000000800000000)
  eden space 568320K, 100% used [0x00000007aaa80000,0x00000007cd580000,0x00000007cd580000)
  from space 105984K, 22% used [0x00000007cd580000,0x00000007cecc9370,0x00000007d3d00000)
  to   space 100864K, 0% used [0x00000007d7900000,0x00000007d7900000,0x00000007ddb80000)
 ParOldGen       total 447488K, used 331801K [0x0000000700000000, 0x000000071b500000, 0x00000007aaa80000)
  object space 447488K, 74% used [0x0000000700000000,0x0000000714406628,0x000000071b500000)
 PSPermGen       total 83968K, used 81671K [0x00000006fae00000, 0x0000000700000000, 0x0000000700000000)
  object space 83968K, 97% used [0x00000006fae00000,0x00000006ffdc1df8,0x0000000700000000)
Event: 209.325 GC heap after
Heap after GC invocations=23 (full 5):
 PSYoungGen      total 715264K, used 10486K [0x00000007aaa80000, 0x00000007dce80000, 0x0000000800000000)
  eden space 627712K, 0% used [0x00000007aaa80000,0x00000007aaa80000,0x00000007d0f80000)
  from space 87552K, 11% used [0x00000007d7900000,0x00000007d833db58,0x00000007dce80000)
  to   space 97792K, 0% used [0x00000007d0f80000,0x00000007d0f80000,0x00000007d6f00000)
 ParOldGen       total 447488K, used 331801K [0x0000000700000000, 0x000000071b500000, 0x00000007aaa80000)
  object space 447488K, 74% used [0x0000000700000000,0x0000000714406628,0x000000071b500000)
 PSPermGen       total 83968K, used 81671K [0x00000006fae00000, 0x0000000700000000, 0x0000000700000000)
  object space 83968K, 97% used [0x00000006fae00000,0x00000006ffdc1df8,0x0000000700000000)
}
Event: 214.069 GC heap before
{Heap before GC invocations=24 (full 5):
 PSYoungGen      total 715264K, used 637997K [0x00000007aaa80000, 0x00000007dce80000, 0x0000000800000000)
  eden space 627712K, 99% used [0x00000007aaa80000,0x00000007d0f4dbf0,0x00000007d0f80000)
  from space 87552K, 11% used [0x00000007d7900000,0x00000007d833db58,0x00000007dce80000)
  to   space 97792K, 0% used [0x00000007d0f80000,0x00000007d0f80000,0x00000007d6f00000)
 ParOldGen       total 447488K, used 331801K [0x0000000700000000, 0x000000071b500000, 0x00000007aaa80000)
  object space 447488K, 74% used [0x0000000700000000,0x0000000714406628,0x000000071b500000)
 PSPermGen       total 83968K, used 81866K [0x00000006fae00000, 0x0000000700000000, 0x0000000700000000)
  object space 83968K, 97% used [0x00000006fae00000,0x00000006ffdf29a8,0x0000000700000000)
Event: 214.090 GC heap after
Heap after GC invocations=24 (full 5):
 PSYoungGen      total 725504K, used 14065K [0x00000007aaa80000, 0x00000007dfc00000, 0x0000000800000000)
  eden space 627712K, 0% used [0x00000007aaa80000,0x00000007aaa80000,0x00000007d0f80000)
  from space 97792K, 14% used [0x00000007d0f80000,0x00000007d1d3c480,0x00000007d6f00000)
  to   space 94208K, 0% used [0x00000007da000000,0x00000007da000000,0x00000007dfc00000)
 ParOldGen       total 447488K, used 331809K [0x0000000700000000, 0x000000071b500000, 0x00000007aaa80000)
  object space 447488K, 74% used [0x0000000700000000,0x0000000714408628,0x000000071b500000)
 PSPermGen       total 83968K, used 81866K [0x00000006fae00000, 0x0000000700000000, 0x0000000700000000)
  object space 83968K, 97% used [0x00000006fae00000,0x00000006ffdf29a8,0x0000000700000000)
}
Event: 214.863 GC heap before
{Heap before GC invocations=25 (full 5):
 PSYoungGen      total 725504K, used 641777K [0x00000007aaa80000, 0x00000007dfc00000, 0x0000000800000000)
  eden space 627712K, 100% used [0x00000007aaa80000,0x00000007d0f80000,0x00000007d0f80000)
  from space 97792K, 14% used [0x00000007d0f80000,0x00000007d1d3c480,0x00000007d6f00000)
  to   space 94208K, 0% used [0x00000007da000000,0x00000007da000000,0x00000007dfc00000)
 ParOldGen       total 447488K, used 331809K [0x0000000700000000, 0x000000071b500000, 0x00000007aaa80000)
  object space 447488K, 74% used [0x0000000700000000,0x0000000714408628,0x000000071b500000)
 PSPermGen       total 83968K, used 81884K [0x00000006fae00000, 0x0000000700000000, 0x0000000700000000)
  object space 83968K, 97% used [0x00000006fae00000,0x00000006ffdf70b0,0x0000000700000000)
Event: 214.881 GC heap after
Heap after GC invocations=25 (full 5):
 PSYoungGen      total 735744K, used 13883K [0x00000007aaa80000, 0x00000007de500000, 0x0000000800000000)
  eden space 665088K, 0% used [0x00000007aaa80000,0x00000007aaa80000,0x00000007d3400000)
  from space 70656K, 19% used [0x00000007da000000,0x00000007dad8ee40,0x00000007de500000)
  to   space 90624K, 0% used [0x00000007d3400000,0x00000007d3400000,0x00000007d8c80000)
 ParOldGen       total 447488K, used 331809K [0x0000000700000000, 0x000000071b500000, 0x00000007aaa80000)
  object space 447488K, 74% used [0x0000000700000000,0x0000000714408628,0x000000071b500000)
 PSPermGen       total 83968K, used 81884K [0x00000006fae00000, 0x0000000700000000, 0x0000000700000000)
  object space 83968K, 97% used [0x00000006fae00000,0x00000006ffdf70b0,0x0000000700000000)
}
Event: 215.684 GC heap before
{Heap before GC invocations=26 (full 5):
 PSYoungGen      total 735744K, used 678971K [0x00000007aaa80000, 0x00000007de500000, 0x0000000800000000)
  eden space 665088K, 100% used [0x00000007aaa80000,0x00000007d3400000,0x00000007d3400000)
  from space 70656K, 19% used [0x00000007da000000,0x00000007dad8ee40,0x00000007de500000)
  to   space 90624K, 0% used [0x00000007d3400000,0x00000007d3400000,0x00000007d8c80000)
 ParOldGen       total 447488K, used 331809K [0x0000000700000000, 0x000000071b500000, 0x00000007aaa80000)
  object space 447488K, 74% used [0x0000000700000000,0x0000000714408628,0x000000071b500000)
 PSPermGen       total 83968K, used 81920K [0x00000006fae00000, 0x0000000700000000, 0x0000000700000000)
  object space 83968K, 97% used [0x00000006fae00000,0x00000006ffe000f0,0x0000000700000000)
Event: 215.701 GC heap after
Heap after GC invocations=26 (full 5):
 PSYoungGen      total 755712K, used 14626K [0x00000007aaa80000, 0x00000007e0400000, 0x0000000800000000)
  eden space 665088K, 0% used [0x00000007aaa80000,0x00000007aaa80000,0x00000007d3400000)
  from space 90624K, 16% used [0x00000007d3400000,0x00000007d4248af8,0x00000007d8c80000)
  to   space 86528K, 0% used [0x00000007daf80000,0x00000007daf80000,0x00000007e0400000)
 ParOldGen       total 447488K, used 331809K [0x0000000700000000, 0x000000071b500000, 0x00000007aaa80000)
  object space 447488K, 74% used [0x0000000700000000,0x0000000714408628,0x000000071b500000)
 PSPermGen       total 83968K, used 81920K [0x00000006fae00000, 0x0000000700000000, 0x0000000700000000)
  object space 83968K, 97% used [0x00000006fae00000,0x00000006ffe000f0,0x0000000700000000)
}

Deoptimization events (10 events):
Event: 213.612 Thread 0x0000000012b64000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002a670f0 method=org.nlogo.nvm.Task$class.bindArgs(Lorg/nlogo/nvm/Task;Lorg/nlogo/nvm/Context;[Ljava/lang/Object;)V @ 6
Event: 213.612 Thread 0x0000000014bce000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002a670f0 method=org.nlogo.nvm.Task$class.bindArgs(Lorg/nlogo/nvm/Task;Lorg/nlogo/nvm/Context;[Ljava/lang/Object;)V @ 6
Event: 213.613 Thread 0x0000000014bce000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002a670f0 method=org.nlogo.nvm.Task$class.bindArgs(Lorg/nlogo/nvm/Task;Lorg/nlogo/nvm/Context;[Ljava/lang/Object;)V @ 6
Event: 213.613 Thread 0x0000000012b64000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002a670f0 method=org.nlogo.nvm.Task$class.bindArgs(Lorg/nlogo/nvm/Task;Lorg/nlogo/nvm/Context;[Ljava/lang/Object;)V @ 6
Event: 213.798 Thread 0x000000001496d800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000271f960 method=scala.collection.mutable.HashTable$HashUtils$class.elemHashCode(Lscala/collection/mutable/HashTable$HashUtils;Ljava/lang/Object;)I @ 18
Event: 213.818 Thread 0x000000001288e800 Uncommon trap: reason=unreached action=reinterpret pc=0x0000000002899b34 method=java.awt.event.InvocationEvent.finishedDispatching(Z)V @ 9
Event: 216.419 Thread 0x0000000012b64000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002c02e20 method=org.nlogo.agent.InRadiusOrCone.inRadius(Lorg/nlogo/agent/Agent;Lorg/nlogo/agent/AgentSet;DZ)Ljava/util/List; @ 64
Event: 216.420 Thread 0x0000000012b64000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002c02e20 method=org.nlogo.agent.InRadiusOrCone.inRadius(Lorg/nlogo/agent/Agent;Lorg/nlogo/agent/AgentSet;DZ)Ljava/util/List; @ 64
Event: 216.431 Thread 0x0000000012b64000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002c02e20 method=org.nlogo.agent.InRadiusOrCone.inRadius(Lorg/nlogo/agent/Agent;Lorg/nlogo/agent/AgentSet;DZ)Ljava/util/List; @ 64
Event: 216.432 Thread 0x0000000012b64000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002c02e20 method=org.nlogo.agent.InRadiusOrCone.inRadius(Lorg/nlogo/agent/Agent;Lorg/nlogo/agent/AgentSet;DZ)Ljava/util/List; @ 64

Internal exceptions (10 events):
Event: 210.987 Thread 0x0000000014bce000 Threw 0x00000007c3479a08 at C:\re\jdk7u65\1320\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 210.988 Thread 0x0000000014bce000 Threw 0x00000007c347bc88 at C:\re\jdk7u65\1320\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 210.988 Thread 0x0000000014bce000 Threw 0x00000007c347e660 at C:\re\jdk7u65\1320\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 210.990 Thread 0x0000000014bce000 Threw 0x00000007c3484648 at C:\re\jdk7u65\1320\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 210.991 Thread 0x0000000014bce000 Threw 0x00000007c348a7f0 at C:\re\jdk7u65\1320\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 212.208 Thread 0x0000000014bce000 Threw 0x00000007c349c428 at C:\re\jdk7u65\1320\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 213.610 Thread 0x0000000014bce000 Threw 0x00000007c4974ad8 at C:\re\jdk7u65\1320\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 213.611 Thread 0x0000000012b64000 Threw 0x00000007c4787dc8 at C:\re\jdk7u65\1320\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 213.797 Thread 0x000000001496d800 Threw 0x00000007ac2e0460 at C:\re\jdk7u65\1320\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 213.797 Thread 0x000000001496d800 Threw 0x00000007ac2e38f8 at C:\re\jdk7u65\1320\hotspot\src\share\vm\prims\jvm.cpp:1244

Events (10 events):
Event: 216.419 Thread 0x0000000012b64000 DEOPT UNPACKING pc=0x0000000002639064 sp=0x000000001448ec78 mode 2
Event: 216.420 Thread 0x0000000012b64000 Uncommon trap: trap_request=0xffffffde fr.pc=0x0000000002c02e20
Event: 216.420 Thread 0x0000000012b64000 DEOPT PACKING pc=0x0000000002c02e20 sp=0x000000001448ecf0
Event: 216.420 Thread 0x0000000012b64000 DEOPT UNPACKING pc=0x0000000002639064 sp=0x000000001448ec78 mode 2
Event: 216.431 Thread 0x0000000012b64000 Uncommon trap: trap_request=0xffffffde fr.pc=0x0000000002c02e20
Event: 216.431 Thread 0x0000000012b64000 DEOPT PACKING pc=0x0000000002c02e20 sp=0x000000001448ed70
Event: 216.431 Thread 0x0000000012b64000 DEOPT UNPACKING pc=0x0000000002639064 sp=0x000000001448ecf8 mode 2
Event: 216.432 Thread 0x0000000012b64000 Uncommon trap: trap_request=0xffffffde fr.pc=0x0000000002c02e20
Event: 216.432 Thread 0x0000000012b64000 DEOPT PACKING pc=0x0000000002c02e20 sp=0x000000001448ed70
Event: 216.432 Thread 0x0000000012b64000 DEOPT UNPACKING pc=0x0000000002639064 sp=0x000000001448ecf8 mode 2


VM Arguments:
java_command: NetLogo.jar
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\Program Files\R\R-3.0.1\bin\x64
USERNAME=ncarter
OS=Windows_NT
PROCESSOR_IDENTIFIER=AMD64 Family 21 Model 1 Stepping 2, AuthenticAMD



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

OS: Windows 7 , 64 bit Build 7601 Service Pack 1

CPU:total 8 (4 cores per cpu, 1 threads per core) family 21 model 1 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnowpref, tsc

Memory: 4k page, physical 16776760k(12343996k free), swap 33551656k(28878624k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (24.65-b04) for windows-amd64 JRE (1.7.0_65-b20), built on Jul 11 2014 00:39:37 by "java_re" with unknown MS VC++:1600

time: Tue Sep 02 15:40:40 2014
elapsed time: 216 seconds

None

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

使用 R 扩展时 NetLogo BehaviourSpace 崩溃 的相关文章

  • 为什么在 data.frame 中预先指定类型会比较慢?

    我预先分配了一个大 data frame 以便稍后填写 我通常这样做NA是这样的 n lt 1e6 a lt data frame c1 1 n c2 NA c3 NA 我想知道如果我预先指定数据类型是否会让事情变得更快 所以我测试了 f1
  • 收集四列,其中两个键中包含值

    已经提出了类似的问题 但它们都涉及在一个关键列中收集多个列 我需要两个键中的多个列 这是我的数据框 ID measure A 1 measure A 2 measure B 1 measure B 2 1 8 25 23 5 4 5 2 8
  • R:如何将描述小时、分钟和秒的非直观字符串转换为可行的 POSIXct 格式以执行标准算术?

    我在 R 中有一个数据集 其值采用小时 分钟和秒格式 然而 有些值只有小时和分钟 有些值只有分钟和秒 有些值只有分钟 有些值只有秒 它的格式也不是很有利 样本数据如下 example lt as data frame c 22h28m 17
  • 无效的命令名称“tk_chooseDirectory”错误

    我使用 bioconductor 进行 WES 管道 并使用 tk choose dir 选择用户存储输入文件的目录 并将其存储以供进一步使用 这里是命令行 library tcltk dataDir lt dirname tk choos
  • 配置 fix() 和 edit() 以从 R/RStudio 在 Notepad++ 中打开

    当我在 RStudio 或 RGUI 中执行此操作时 fix SomeFunction 或使用edit 我可以在记事本中看到该函数的代码 有什么方法可以更改此设置 以便代码预览在 Notepad 中打开 而不是在普通的旧记事本中打开 同样
  • data.table 的包装函数

    我有一个已经使用 data frame 上下文编写的项目 为了缩短计算时间 我尝试利用 data table 的速度 我的方法是构造包装函数 读取帧 将它们转换为表 进行计算 然后转换回帧 这是一个简单的例子 FastAgg lt func
  • 使用 roxygen2 导入两个同名函数

    我是 CRAN 包的维护者 在加载时收到以下消息 checking whether package qdap can be installed 10s 10s WARNING Found the following significant
  • 如何在 R Markdown 中的内联 LateX 方程中输出 R 变量的值(即动态更新)

    我无法找到一种方法将 r 代码实现到 R markdown 中的内联 LateX 方程中 目标是如果变量 值 发生变化 则不必对它们的值进行硬编码 Given values lt c 1 4 2 5 7 9 avg lt sum value
  • R中使用余弦距离的层次聚类

    我想通过使用余弦相似度与 R 编程语言对文档语料库进行层次聚类 但出现以下错误 if is na n n gt 65536L stop 大小不能为 NA 或 超过 65536 需要 TRUE FALSE 时缺少值 我应该怎么办 为了重现它
  • R:(中缀)运算符的两个定义之间的冲突:如何指定包?

    在 R 中 每当两个包定义相同的函数时 很容易指定要使用哪个包pkg foo 但是 当冲突的功能是一个时 你该怎么办 infix运算符 即使用定义 举个例子 两者ggplot2 and crayon define 有没有一种方法可以让我默认
  • 使用faceting()时如何连接geom_point()和geom_line?

    我有一个问题 但我在互联网上没有找到任何相关信息 我很高兴得到一些提示 我有一个数据集 其中 x 轴是离散的 但我想将这些点相互连接 我可以做到 我的问题是当我添加分面选项时 我无法再将这些点相互链接起来 我找到了一个替代方案 但看起来不太
  • 在 R 的替换命令中取消引用字符串

    我想知道是否可以unquote通过替换命令传递给表达式的字符串 具体来说 我使用 dplyr 从数据框中过滤和选择 gt w subject sex response 1 1 M 19 08 2 2 M 16 46 6 6 M 23 60
  • 使用 R SOAP (SSOAP) 检索数据/抓取

    在 B cycle 页面 www bcycle com whowantsitmore aspx 上 我试图抓取投票的位置和值 The URL http mapservices bcycle com bcycleservice asmx ht
  • 使用 R 下载压缩数据文件、提取并导入 .csv

    我正在尝试使用以下方法从网页下载并提取 csv 文件R 这个问题是重复的使用 R 下载压缩数据文件 提取和导入数据 https stackoverflow com questions 3053833 using r to download
  • R 中具有 p 值的相关矩阵

    假设我想要传导相关矩阵 library dplyr data iris iris gt select if is numeric gt cor y iris Petal Width method spearman gt round 2 现在
  • 来自大型数据帧的共现

    我有一个数据框 其中包含有关每个用户访问过哪些城市的信息 df visited lt data frame user c john john claire claire doe doe city c Antananarivo Barcelo
  • R 无法回忆起内存中的对象

    我正在构建一个包含多个步骤的函数 其中每个步骤都会创建一个对象 某个步骤失败 temp3 并且无法找到前面的步骤对象 错误 未找到对象 temp2 我不知道为什么 我有类似的函数 遵循完全相同的结构 每个步骤都遵循先前创建的对象 在函数内
  • 基本 dyplr 函数给出错误:“check_dots_used”

    试图找出为什么我会收到此错误 以前从未见过 谷歌没有帮助 check dots used action warn 中的错误 未使用参数 action warn 我在下面的非常基本的试验中收到错误 而且在 group by count 中也收
  • Matlab 中是否有相当于 R 的 dput() 的函数?

    Matlab 中是否有相当于 R 的 dput 的函数 dput 将 R 对象的 ASCII 文本表示形式写入文件或连接 UPDATE 1 添加了递归和对单元格的支持 UPDATE 2 添加了对结构的支持 UPDATE 3 增加了对逻辑 整
  • ggplot 按因子和梯度颜色

    我正在尝试绘制一个对两个变量 一个因子和一个强度 进行着色的图 我希望每个因素都是不同的颜色 并且我希望强度是白色和该颜色之间的渐变 到目前为止 我已经使用了诸如对因子进行分面等技术 将颜色设置为两个变量之间的相互作用 并将颜色设置为因子并

随机推荐

  • Windows Phone 7 上的 HashSet

    Windows Phone 7 上没有 System Collections Generic HashSet 吗 Windows Phone 7 NET 库与 Silverlight 3 0 中提供的库相当 它没有HashSet 你可以构建
  • "/1/2/3/".split("/")

    天气太热了 我可能会迟钝 gt gt gt 1 2 3 split 1 2 3 开头和结尾的空元素是怎么回事 编辑 谢谢大家 我把这归因于热引起的脑衰竭 不过 这些文档并不是最清楚的 来自http docs python org libra
  • 如何保护发送电子邮件的表单的安全

    我有以下代码可以发送电子邮件 这对于生产环境来说足够好 安全吗 即它会阻止机器人 curl 脚本使用它发送垃圾邮件 并阻止电子邮件注入等吗
  • 使用正则表达式处理数学方程中的嵌套括号?

    如果我有 statement 2 3 1 2 我希望能够为我正在编写的数学阅读器处理括号内的多个括号 也许我的处理方式是错误的 但我的目标是递归地深入括号 直到没有括号 然后我将执行数学运算 因此 我首先想关注 2 3 1 然后专注于 3
  • Azure Function 和自托管 SignalR 服务器

    我知道可以使用 Azure SignalR 服务在函数中使用 SignalR 如下所示 https learn microsoft com en us azure azure signalr signalr quickstart azure
  • 为什么我的 Xcode 变得疯狂并忘记了一些明确定义的类?

    当我尝试构建时突然出现这些错误 它说的是MenuViewController是一个未知类型 但它非常明显地存在 甚至是进口的 它在编译源中 我尝试了 清理 清理构建文件夹 退出 Xcode 重新启动等 这个案例到底是怎么回事 我还可以命令单
  • 使用 Antd 上传操作将图像上传到 firebase 存储时出现问题

    我用的是antd图片墙 卡片 https ant design components upload components upload demo picture card使用此将图像上传到我的 firebase 存储的示例参考代码 http
  • 将图像放置在文本字段内

    我有一个像这样的 HTML 输入字段 我想在右侧的文本框中放置一个图像 有人可以帮我解决它的 CSS 问题吗
  • Libgdx 近战攻击碰撞检测

    我有一个带有 3D 模型实例的 3D 场景 我想做碰撞检测 我目前正在关注本教程 http blog xoppa com using the libgdx 3d physicals bullet wrapper part1 http blo
  • Jinja2 检查字典列表中是否存在值

    我正在尝试检查字典列表中是否存在某个值 我使用烧瓶1 0 2 请参阅下面的示例 person list dict name John Doe email email protected cdn cgi l email protection
  • 形成正则表达式来解析数字表达式

    我正在尝试解析字符串形式的数字比较 我想标记一个字符串 例如45 30 2 lt 50这样得到的组是45 30 2 lt and 50 我知道我可以将我的组定义为 w 对于数字项 对于括号内的术语 lt gt 1 2 对于运营商条款 但我不
  • 将 URL 参数添加到 Nutch/Solr 索引和搜索结果

    我找不到任何关于如何设置 nutch 来不过滤 删除我的 URL 参数的提示 我想抓取一些页面并为其建立索引 其中大量内容隐藏在相同的基本 URL 后面 例如 news jsp id 1 news jsp id 2 news jsp id
  • 所有音频频率

    我怎样才能获得 可能吗 所有音频现在都在系统中播放以编写一些声音可视化工具 有没有c 或c 库 提前致谢 基本步骤是 将窗函数应用于样本块 例如 1024 个样本 汉宁窗 对加窗样本执行实数到复数 FFT 取每个 FFT 输出 bin 的幅
  • Chrome 53 在第二页及以后的页面上打印两次表格标题的解决方法?

    我网站的用户需要能够打印包含第一页打印内容和第二页表格的网页 精简版本是 jsFiddle athttps jsfiddle net jaydeedub n3qhvtvx 25 https jsfiddle net jaydeedub n3
  • 根据另一列的排名计算一列的总和

    我有一个数据集 Security market value return Quintile 1 0 07 100 3 2 0 10 88 2 3 0 08 78 1 4 0 12 59 1 5 0 20 106 4 6 0 04 94 3
  • 我可以在运行时指定maven project.artifactId吗?

    我有一个 Maven POM 我想将其用作模板 根据我传递给它的参数生成具有不同名称的工件 但我不知道如何在运行时指定artifactId 如果我参数化
  • 用于 python 3.X 的 OpenCV

    有谁知道我是否可以在 python 3 X 中使用 OpenCV 库 或者我应该坚持使用scikit image用于物体识别之类的任务 我想尝试一下 openCV 但去年决定从 2 7 开始切换 我在这里搜索了数据包 http www lf
  • Java 中的 Windows 7 任务栏进度条

    我想知道是否可以像Windows资源管理器那样在进行文件操作时在任务栏上显示进度条 我看到很多例子 但都是C 的 SWT 不会削减它 我发现这个功能包含在Java 9 它是一部分AWT而且使用起来非常简单 这是一个简短的例子 import
  • 使用 Pandoc 和 Markdown 时出现紧密列表错误

    我在 Mac OS 10 12 上使用 pandoc v 1 18 将此 Markdown 文件转换为 pdf 使用简单的命令行 A list that does not work one two three 我收到此错误 Undefine
  • 使用 R 扩展时 NetLogo BehaviourSpace 崩溃

    我正在我的机器上运行动物饲养场的模型 我已将 R 扩展添加到 NetLogo 代码中 以计算每个家庭范围的最小凸多边形 当我在多个内核上的BehaviorSpace 中运行模型时 NetLogo 将在几个时间步骤后消失 即停止运行 我在 5