JVM crashes with problematic frame [libjvm.so+0x7f582e] PerfLongVariant::sample()+0x1e - java-8
The application is basically a Servlet on top of Apaches Tomcat 8 and crashes every 3 to n days. The most interesting part is, that the last 3 crashes happened at 1.30 PM + 3 to 4 seconds. Every other crash happens at 15, 30, 45 or the full hour. The same application worked for months on Windows 7 with Java 7 something.
I found this report so I checked the available space at /tmp and I have plenty of space here. However, the next time I ran the VM with:
-XX:-UsePerfData
-XX:+PerfDisableSharedMem
and the hsperfdata file is no longer written but the problem persist. According to this report PerfData might be still used to some extend even if it is disabled.
It seems to be this piece of code:
void PerfLongVariant::sample() {
// JJJ - This should not happen. Maybe the first sample is taken
// while the _sample_helper is being null'ed out.
// assert(_sample_helper != NULL || _sampled != NULL, "unexpected state");
if (_sample_helper == NULL) return;
if (_sample_helper != NULL) {
*(jlong*)_valuep = _sample_helper->take_sample();
}
else if (_sampled != NULL) {
*(jlong*)_valuep = *_sampled;
}
}
I assume the problem occures here:
*(jlong*)_valuep = _sample_helper->take_sample();
but I am not sure which implementation is used at runtime:
statSampler seems unlikely as I don't see the connection to elapsed_counter except for the above mentioned phenomena with the crash time.
/*
* helper class to provide for sampling of the elapsed_counter value
* maintained in the OS class.
*/
class HighResTimeSampler : public PerfSampleHelper {
public:
jlong take_sample() { return os::elapsed_counter(); }
};
or gSpaceCounter
inline jlong take_sample() {
return _gen->used();
}
and spaceCounters and cSpaceCounter I have the impression that the size of one of the pools in the Java memory pool is returned before it is updated. Which ultimately lead to SIGBUS 7, bad memory access.
What are my options?
The last crash report (dynamic libraries removed):
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x00007f463c87a82e, pid=10876, tid=0x00007f4624cfc700
#
# JRE version: OpenJDK Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: OpenJDK 64-Bit Server VM (25.101-b13 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 3.1.0
# Distribution: Custom build (Fri Jul 29 23:44:32 UTC 2016)
# Problematic frame:
# V [libjvm.so+0x7f582e] PerfLongVariant::sample()+0x1e
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
#
--------------- T H R E A D ---------------
Current thread (0x00007f46340ce800): WatcherThread [stack: 0x00007f4624bfc000,0x00007f4624cfd000] [id=10909]
siginfo: si_signo: 7 (SIGBUS), si_code: 2 (BUS_ADRERR), si_addr: 0x00007f463dc89420
Registers:
RAX=0x0000000007114e40, RBX=0x00007f463dc89420, RCX=0x0000000000000000, RDX=0x00007f463ce2d210
RSP=0x00007f4624cfbe00, RBP=0x00007f4624cfbe10, RSI=0x0000000000000032, RDI=0x00007f4634018fa0
R8 =0x00007f463ce69a48, R9 =0x0000000000000001, R10=0x00182e09a9af66e8, R11=0x0000000000000000
R12=0x0000000000000008, R13=0x00007f463401b1a0, R14=0x0000000000000002, R15=0x00007f463ce6f3c0
RIP=0x00007f463c87a82e, EFLAGS=0x0000000000010202, CSGSFS=0x0000000000000033, ERR=0x0000000000000007
TRAPNO=0x000000000000000e
Top of Stack: (sp=0x00007f4624cfbe00)
0x00007f4624cfbe00: 00007f46340ce800 0000000000000001
0x00007f4624cfbe10: 00007f4624cfbe40 00007f463c8ecd44
0x00007f4624cfbe20: 00007f4624cfbe40 0000000000000001
0x00007f4624cfbe30: 0000000000000032 0000000000000032
0x00007f4624cfbe40: 00007f4624cfbe90 00007f463c92e380
0x00007f4624cfbe50: 00007f46340cfad0 00007f4634007630
0x00007f4624cfbe60: 0000000000000000 0000000000000032
0x00007f4624cfbe70: 00007f46340ce800 00007f46340ce800
0x00007f4624cfbe80: 0000000000000000 00007f4624cfc700
0x00007f4624cfbe90: 00007f4624cfbf10 00007f463c954bf7
0x00007f4624cfbea0: 0000000000000000 0000000000000000
0x00007f4624cfbeb0: 0000000000000001 00007f46340ce800
0x00007f4624cfbec0: 00007f4624cfbf10 00007f463c80b8cf
0x00007f4624cfbed0: 0000000000000000 00007f46340cfbc0
0x00007f4624cfbee0: 00007f46340cfad0 00007f46340cfbc0
0x00007f4624cfbef0: 00007f46340cfad0 00007f46340ce800
0x00007f4624cfbf00: 0000000000000000 00007f4624cfc700
0x00007f4624cfbf10: 00007f4624cfbf50 00007f463c83e6d2
0x00007f4624cfbf20: 0000000000000000 0000000000000000
0x00007f4624cfbf30: 0000000000000000 00007f463dc70b5f
0x00007f4624cfbf40: 0000000000000000 00007f4624cfc700
0x00007f4624cfbf50: 0000000000000000 00007f463ce92734
0x00007f4624cfbf60: 0000000000000000 00007f4624cfc700
0x00007f4624cfbf70: 00007f4624cfc700 c5fe0a2abaafece4
0x00007f4624cfbf80: 0000000000000000 00007f463dc70b5f
0x00007f4624cfbf90: 0000000000000000 00007f4624cfc700
0x00007f4624cfbfa0: 3b7243b5c46fece4 3b7273f8f755ece4
0x00007f4624cfbfb0: 0000000000000000 0000000000000000
0x00007f4624cfbfc0: 0000000000000000 0000000000000000
0x00007f4624cfbfd0: 0000000000000000 0000000000000000
0x00007f4624cfbfe0: 0000000000000000 0000000000000000
0x00007f4624cfbff0: 00007f4624cfc700 00007f463d5aad3d
Instructions: (pc=0x00007f463c87a82e)
0x00007f463c87a80e: a0 ff 48 8b 47 38 48 85 c0 74 1e 55 48 89 e5 53
0x00007f463c87a81e: 48 83 ec 08 48 8b 5f 28 48 8b 10 48 89 c7 ff 12
0x00007f463c87a82e: 48 89 03 48 83 c4 08 5b 5d f3 c3 90 66 0f 1f 44
0x00007f463c87a83e: 00 00 55 48 8d 05 08 02 5b 00 48 89 e5 41 57 41
Stack: [0x00007f4624bfc000,0x00007f4624cfd000], sp=0x00007f4624cfbe00, free space=1023k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x7f582e] PerfLongVariant::sample()+0x1e
V [libjvm.so+0x867d44] StatSampler::sample_data(PerfDataList*)+0x34
V [libjvm.so+0x8a9380] PeriodicTask::real_time_tick(int)+0x90
V [libjvm.so+0x8cfbf7] WatcherThread::run()+0x47
V [libjvm.so+0x7b96d2] java_start(Thread*)+0xe2
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x00007f45f0011000 JavaThread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2" daemon [_thread_blocked, id=15853, stack(0x00007f45e72f9000,0x00007f45e73fa000)]
0x00007f45f0010000 JavaThread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1" daemon [_thread_blocked, id=15852, stack(0x00007f45f48ce000,0x00007f45f49cf000)]
0x00007f45f0018800 JavaThread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" daemon [_thread_blocked, id=15851, stack(0x00007f45e75fa000,0x00007f45e76fb000)]
0x00007f4600699000 JavaThread "BackendCache" daemon [_thread_blocked, id=15363, stack(0x00007f45e76fb000,0x00007f45e77fc000)]
0x00007f46352da800 JavaThread "Thread-9" daemon [_thread_blocked, id=15362, stack(0x00007f45e77fc000,0x00007f45e78fd000)]
0x00007f45ea07c800 JavaThread "Timer-0" daemon [_thread_blocked, id=15356, stack(0x00007f45f4063000,0x00007f45f4164000)]
0x00007f4634dd2000 JavaThread "Thread-4" daemon [_thread_blocked, id=15355, stack(0x00007f45f4564000,0x00007f45f4665000)]
0x00007f45ec04b000 JavaThread "http-apr-8080-exec-10" daemon [_thread_blocked, id=11253, stack(0x00007f45f49cf000,0x00007f45f4ad0000)]
0x00007f45f000b000 JavaThread "http-apr-8080-exec-9" daemon [_thread_blocked, id=11252, stack(0x00007f45f4ad0000,0x00007f45f4bd1000)]
0x00007f45f0009800 JavaThread "http-apr-8080-exec-8" daemon [_thread_blocked, id=11251, stack(0x00007f45f4bd1000,0x00007f45f4cd2000)]
0x00007f45f0007800 JavaThread "http-apr-8080-exec-7" daemon [_thread_blocked, id=11250, stack(0x00007f45f4cd2000,0x00007f45f4dd3000)]
0x00007f45f0006000 JavaThread "http-apr-8080-exec-6" daemon [_thread_blocked, id=11249, stack(0x00007f45f4dd3000,0x00007f45f4ed4000)]
0x00007f45ec03f800 JavaThread "http-apr-8080-exec-5" daemon [_thread_blocked, id=11248, stack(0x00007f45f4ed4000,0x00007f45f4fd5000)]
0x00007f45f0004000 JavaThread "http-apr-8080-exec-4" daemon [_thread_blocked, id=11247, stack(0x00007f45f4fd5000,0x00007f45f50d6000)]
0x00007f45f0002800 JavaThread "http-apr-8080-exec-3" daemon [_thread_blocked, id=10969, stack(0x00007f45f50d6000,0x00007f45f51d7000)]
0x00007f45ec079000 JavaThread "http-apr-8080-exec-2" daemon [_thread_blocked, id=10968, stack(0x00007f45f60c4000,0x00007f45f61c5000)]
0x00007f45f0001800 JavaThread "http-apr-8080-exec-1" daemon [_thread_blocked, id=10967, stack(0x00007f45f5fc3000,0x00007f45f60c4000)]
0x00007f463459b800 JavaThread "ajp-apr-8009-AsyncTimeout" daemon [_thread_blocked, id=10930, stack(0x00007f45f53d7000,0x00007f45f54d8000)]
0x00007f4634599800 JavaThread "ajp-apr-8009-Acceptor-0" daemon [_thread_in_native, id=10929, stack(0x00007f45f54d8000,0x00007f45f55d9000)]
0x00007f4634597800 JavaThread "ajp-apr-8009-Poller" daemon [_thread_blocked, id=10928, stack(0x00007f45f55d9000,0x00007f45f56da000)]
0x00007f4634595800 JavaThread "http-apr-8080-AsyncTimeout" daemon [_thread_blocked, id=10927, stack(0x00007f45f56da000,0x00007f45f57db000)]
0x00007f4634594800 JavaThread "http-apr-8080-Acceptor-0" daemon [_thread_in_native, id=10926, stack(0x00007f45f59db000,0x00007f45f5adc000)]
0x00007f4634592800 JavaThread "http-apr-8080-Sendfile" daemon [_thread_blocked, id=10925, stack(0x00007f45f5adc000,0x00007f45f5bdd000)]
0x00007f4634591000 JavaThread "http-apr-8080-Poller" daemon [_thread_blocked, id=10924, stack(0x00007f45f5c94000,0x00007f45f5d95000)]
0x00007f463458d800 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=10923, stack(0x00007f45f5ec2000,0x00007f45f5fc3000)]
0x00007f4634515800 JavaThread "GC Daemon" daemon [_thread_blocked, id=10911, stack(0x00007f45f7434000,0x00007f45f7535000)]
0x00007f4634145800 JavaThread "AsyncFileHandlerWriter-1878246837" daemon [_thread_blocked, id=10910, stack(0x00007f4624afb000,0x00007f4624bfc000)]
0x00007f46340cc000 JavaThread "Service Thread" daemon [_thread_blocked, id=10908, stack(0x00007f4624cfd000,0x00007f4624dfe000)]
0x00007f46340c7800 JavaThread "C1 CompilerThread1" daemon [_thread_blocked, id=10907, stack(0x00007f4624dfe000,0x00007f4624eff000)]
0x00007f46340ba000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=10906, stack(0x00007f4624eff000,0x00007f4625000000)]
0x00007f46340b8000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10905, stack(0x00007f4638052000,0x00007f4638153000)]
0x00007f463408d800 JavaThread "Finalizer" daemon [_thread_blocked, id=10904, stack(0x00007f4638197000,0x00007f4638298000)]
0x00007f4634089000 JavaThread "Reference Handler" daemon [_thread_blocked, id=10903, stack(0x00007f4638298000,0x00007f4638399000)]
0x00007f4634008000 JavaThread "main" [_thread_in_native, id=10899, stack(0x00007f463db71000,0x00007f463dc72000)]
Other Threads:
0x00007f463407f800 VMThread [stack: 0x00007f4638399000,0x00007f463849a000] [id=10902]
=>0x00007f46340ce800 WatcherThread [stack: 0x00007f4624bfc000,0x00007f4624cfd000] [id=10909]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x00007f4634007630] PeriodicTask_lock - owner thread: 0x00007f46340ce800
Heap:
PSYoungGen total 161792K, used 115891K [0x00000000f6180000, 0x0000000100000000, 0x0000000100000000)
eden space 161280K, 71% used [0x00000000f6180000,0x00000000fd294e40,0x00000000fff00000)
from space 512K, 18% used [0x00000000fff00000,0x00000000fff18020,0x00000000fff80000)
to space 512K, 0% used [0x00000000fff80000,0x00000000fff80000,0x0000000100000000)
ParOldGen total 36352K, used 23540K [0x00000000e2400000, 0x00000000e4780000, 0x00000000f6180000)
object space 36352K, 64% used [0x00000000e2400000,0x00000000e3afd378,0x00000000e4780000)
Metaspace used 31407K, capacity 31972K, committed 32256K, reserved 1077248K
class space used 3342K, capacity 3473K, committed 3584K, reserved 1048576K
Card table byte_map: [0x00007f463aaea000,0x00007f463abd9000] byte_map_base: 0x00007f463a3d8000
Marking Bits: (ParMarkBitMap*) 0x00007f463ce6d740
Begin Bits: [0x00007f4639a08000, 0x00007f463a178000)
End Bits: [0x00007f463a178000, 0x00007f463a8e8000)
Polling page: 0x00007f463dc91000
CodeCache: size=245760Kb used=13583Kb max_used=14910Kb free=232176Kb
bounds [0x00007f4625000000, 0x00007f4625ec0000, 0x00007f4634000000]
total_blobs=4397 nmethods=3905 adapters=407
compilation: enabled
GC Heap History (10 events):
Event: 241117.477 GC heap before
{Heap before GC invocations=451 (full 2):
PSYoungGen total 161792K, used 161456K [0x00000000f6180000, 0x0000000100000000, 0x0000000100000000)
eden space 161280K, 100% used [0x00000000f6180000,0x00000000fff00000,0x00000000fff00000)
from space 512K, 34% used [0x00000000fff80000,0x00000000fffac030,0x0000000100000000)
to space 512K, 0% used [0x00000000fff00000,0x00000000fff00000,0x00000000fff80000)
ParOldGen total 36352K, used 23540K [0x00000000e2400000, 0x00000000e4780000, 0x00000000f6180000)
object space 36352K, 64% used [0x00000000e2400000,0x00000000e3afd378,0x00000000e4780000)
Metaspace used 31406K, capacity 31972K, committed 32256K, reserved 1077248K
class space used 3342K, capacity 3473K, committed 3584K, reserved 1048576K
Event: 241117.480 GC heap after
Heap after GC invocations=451 (full 2):
PSYoungGen total 161792K, used 128K [0x00000000f6180000, 0x0000000100000000, 0x0000000100000000)
eden space 161280K, 0% used [0x00000000f6180000,0x00000000f6180000,0x00000000fff00000)
from space 512K, 25% used [0x00000000fff00000,0x00000000fff20020,0x00000000fff80000)
to space 512K, 0% used [0x00000000fff80000,0x00000000fff80000,0x0000000100000000)
ParOldGen total 36352K, used 23540K [0x00000000e2400000, 0x00000000e4780000, 0x00000000f6180000)
object space 36352K, 64% used [0x00000000e2400000,0x00000000e3afd378,0x00000000e4780000)
Metaspace used 31406K, capacity 31972K, committed 32256K, reserved 1077248K
class space used 3342K, capacity 3473K, committed 3584K, reserved 1048576K
}
Event: 241985.401 GC heap before
{Heap before GC invocations=453 (full 2):
PSYoungGen total 161792K, used 161408K [0x00000000f6180000, 0x0000000100000000, 0x0000000100000000)
eden space 161280K, 100% used [0x00000000f6180000,0x00000000fff00000,0x00000000fff00000)
from space 512K, 25% used [0x00000000fff80000,0x00000000fffa0020,0x0000000100000000)
to space 512K, 0% used [0x00000000fff00000,0x00000000fff00000,0x00000000fff80000)
ParOldGen total 36352K, used 23540K [0x00000000e2400000, 0x00000000e4780000, 0x00000000f6180000)
object space 36352K, 64% used [0x00000000e2400000,0x00000000e3afd378,0x00000000e4780000)
Metaspace used 31407K, capacity 31972K, committed 32256K, reserved 1077248K
class space used 3342K, capacity 3473K, committed 3584K, reserved 1048576K
Event: 241985.404 GC heap after
Heap after GC invocations=453 (full 2):
PSYoungGen total 161792K, used 96K [0x00000000f6180000, 0x0000000100000000, 0x0000000100000000)
eden space 161280K, 0% used [0x00000000f6180000,0x00000000f6180000,0x00000000fff00000)
from space 512K, 18% used [0x00000000fff00000,0x00000000fff18020,0x00000000fff80000)
to space 512K, 0% used [0x00000000fff80000,0x00000000fff80000,0x0000000100000000)
ParOldGen total 36352K, used 23540K [0x00000000e2400000, 0x00000000e4780000, 0x00000000f6180000)
object space 36352K, 64% used [0x00000000e2400000,0x00000000e3afd378,0x00000000e4780000)
Metaspace used 31407K, capacity 31972K, committed 32256K, reserved 1077248K
class space used 3342K, capacity 3473K, committed 3584K, reserved 1048576K
}
Event: 242421.299 GC heap before
{Heap before GC invocations=454 (full 2):
PSYoungGen total 161792K, used 161376K [0x00000000f6180000, 0x0000000100000000, 0x0000000100000000)
eden space 161280K, 100% used [0x00000000f6180000,0x00000000fff00000,0x00000000fff00000)
from space 512K, 18% used [0x00000000fff00000,0x00000000fff18020,0x00000000fff80000)
to space 512K, 0% used [0x00000000fff80000,0x00000000fff80000,0x0000000100000000)
ParOldGen total 36352K, used 23540K [0x00000000e2400000, 0x00000000e4780000, 0x00000000f6180000)
object space 36352K, 64% used [0x00000000e2400000,0x00000000e3afd378,0x00000000e4780000)
Metaspace used 31407K, capacity 31972K, committed 32256K, reserved 1077248K
class space used 3342K, capacity 3473K, committed 3584K, reserved 1048576K
Event: 242421.301 GC heap after
Heap after GC invocations=454 (full 2):
PSYoungGen total 161792K, used 112K [0x00000000f6180000, 0x0000000100000000, 0x0000000100000000)
eden space 161280K, 0% used [0x00000000f6180000,0x00000000f6180000,0x00000000fff00000)
from space 512K, 21% used [0x00000000fff80000,0x00000000fff9c010,0x0000000100000000)
to space 512K, 0% used [0x00000000fff00000,0x00000000fff00000,0x00000000fff80000)
ParOldGen total 36352K, used 23540K [0x00000000e2400000, 0x00000000e4780000, 0x00000000f6180000)
object space 36352K, 64% used [0x00000000e2400000,0x00000000e3afd378,0x00000000e4780000)
Metaspace used 31407K, capacity 31972K, committed 32256K, reserved 1077248K
class space used 3342K, capacity 3473K, committed 3584K, reserved 1048576K
}
Event: 242856.234 GC heap before
{Heap before GC invocations=455 (full 2):
PSYoungGen total 161792K, used 161392K [0x00000000f6180000, 0x0000000100000000, 0x0000000100000000)
eden space 161280K, 100% used [0x00000000f6180000,0x00000000fff00000,0x00000000fff00000)
from space 512K, 21% used [0x00000000fff80000,0x00000000fff9c010,0x0000000100000000)
to space 512K, 0% used [0x00000000fff00000,0x00000000fff00000,0x00000000fff80000)
ParOldGen total 36352K, used 23540K [0x00000000e2400000, 0x00000000e4780000, 0x00000000f6180000)
object space 36352K, 64% used [0x00000000e2400000,0x00000000e3afd378,0x00000000e4780000)
Metaspace used 31407K, capacity 31972K, committed 32256K, reserved 1077248K
class space used 3342K, capacity 3473K, committed 3584K, reserved 1048576K
Event: 242856.236 GC heap after
Heap after GC invocations=455 (full 2):
PSYoungGen total 161792K, used 96K [0x00000000f6180000, 0x0000000100000000, 0x0000000100000000)
eden space 161280K, 0% used [0x00000000f6180000,0x00000000f6180000,0x00000000fff00000)
from space 512K, 18% used [0x00000000fff00000,0x00000000fff18020,0x00000000fff80000)
to space 512K, 0% used [0x00000000fff80000,0x00000000fff80000,0x0000000100000000)
ParOldGen total 36352K, used 23540K [0x00000000e2400000, 0x00000000e4780000, 0x00000000f6180000)
object space 36352K, 64% used [0x00000000e2400000,0x00000000e3afd378,0x00000000e4780000)
Metaspace used 31407K, capacity 31972K, committed 32256K, reserved 1077248K
class space used 3342K, capacity 3473K, committed 3584K, reserved 1048576K
}
Internal exceptions (10 events):
Event: 57534.673 Thread 0x00007f4634dd2000 Exception <a 'java/lang/ClassNotFoundException': org/hibernate/util/CloneableCustomizer> (0x00000000faf05e08) thrown at [/home/abuild/rpmbuild/BUILD/icedtea-3.1.0/openjdk/hotspot/src/share/vm/classfile/systemDictionary.cpp, line 210]
Event: 57534.674 Thread 0x00007f4634dd2000 Exception <a 'java/lang/ClassNotFoundException': org/hibernate/event/EventListenersCustomizer> (0x00000000faf3abc8) thrown at [/home/abuild/rpmbuild/BUILD/icedtea-3.1.0/openjdk/hotspot/src/share/vm/classfile/systemDictionary.cpp, line 210]
Event: 57540.284 Thread 0x00007f4634bee000 Exception <a 'java/net/SocketTimeoutException': connect timed out> (0x00000000fcb2fac8) thrown at [/home/abuild/rpmbuild/BUILD/icedtea-3.1.0/openjdk/hotspot/src/share/vm/prims/jni.cpp, line 735]
Event: 57943.337 Thread 0x00007f46352da800 Implicit null exception at 0x00007f4625d42a9f to 0x00007f4625d4931d
Event: 57943.340 Thread 0x00007f4600699000 Implicit null exception at 0x00007f4625d42a9f to 0x00007f4625d4931d
Event: 58820.887 Thread 0x00007f45ea078800 Implicit null exception at 0x00007f462514eab4 to 0x00007f462514f049
Event: 61135.304 Thread 0x00007f4634dd2000 Implicit null exception at 0x00007f46258c9192 to 0x00007f46258ca9a4
Event: 61135.314 Thread 0x00007f4634dd2000 Implicit null exception at 0x00007f46256f414e to 0x00007f46256f4371
Event: 61135.315 Thread 0x00007f4634dd2000 Implicit null exception at 0x00007f4625902079 to 0x00007f4625903285
Event: 63765.574 Thread 0x00007f45f0012800 Exception <a 'java/lang/InterruptedException'> (0x00000000fb423328) thrown at [/home/abuild/rpmbuild/BUILD/icedtea-3.1.0/openjdk/hotspot/src/share/vm/runtime/objectMonitor.cpp, line 1495]
VM Arguments:
jvm_args: -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat/temp -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
java_command: org.apache.catalina.startup.Bootstrap start
java_class_path (initial): /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=/usr/lib/jvm/jre
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SHELL=/bin/sh
--------------- S Y S T E M ---------------
OS:SUSE Linux Enterprise Server 12 (x86_64)
VERSION = 12
PATCHLEVEL = 2
uname:Linux 4.4.49-92.11-default #1 SMP Fri Feb 17 08:29:30 UTC 2017 (8f9478a) x86_64
libc:glibc 2.22 NPTL 2.22
rlimit: STACK 8192k, CORE 0k, NPROC 7522, NOFILE 4096, AS infinity
load average:0.00 0.00 0.00
/proc/meminfo:
MemTotal: 1943796 kB
MemFree: 117384 kB
MemAvailable: 1056832 kB
Buffers: 8 kB
Cached: 1116816 kB
SwapCached: 3152 kB
Active: 1430656 kB
Inactive: 284260 kB
Active(anon): 438228 kB
Inactive(anon): 233656 kB
Active(file): 992428 kB
Inactive(file): 50604 kB
Unevictable: 80 kB
Mlocked: 80 kB
SwapTotal: 4187132 kB
SwapFree: 4181900 kB
Dirty: 156 kB
Writeback: 0 kB
AnonPages: 595020 kB
Mapped: 68856 kB
Shmem: 73792 kB
Slab: 75320 kB
SReclaimable: 55520 kB
SUnreclaim: 19800 kB
KernelStack: 3664 kB
PageTables: 5648 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 5159028 kB
Committed_AS: 1247032 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
HardwareCorrupted: 0 kB
AnonHugePages: 471040 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 366528 kB
DirectMap2M: 1730560 kB
CPU:total 2 (1 cores per cpu, 1 threads per core) family 6 model 37 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, aes, clmul, tsc, tscinvbit
/proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Xeon(R) CPU E5645 # 2.40GHz
stepping : 1
microcode : 0x13
cpu MHz : 2400.085
cache size : 12288 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt aes hypervisor lahf_lm ida arat epb dtherm
bugs :
bogomips : 4800.17
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Xeon(R) CPU E5645 # 2.40GHz
stepping : 1
microcode : 0x13
cpu MHz : 2400.085
cache size : 12288 KB
physical id : 2
siblings : 1
core id : 0
cpu cores : 1
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt aes hypervisor lahf_lm ida arat epb dtherm
bugs :
bogomips : 4800.17
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
Memory: 4k page, physical 1943796k(117384k free), swap 4187132k(4181900k free)
vm_info: OpenJDK 64-Bit Server VM (25.101-b13) for linux-amd64 JRE (1.8.0_101-b13), built on Jul 30 2016 00:00:27 by "abuild" with gcc 4.8.5
time: Sat Nov 11 13:30:04 2017
elapsed time: 243167 seconds (2d 19h 32m 47s)
Register to memory mapping:
RAX=0x0000000007114e40 is an unknown value
RBX=0x00007f463dc89420 is an unknown value
RCX=0x0000000000000000 is an unknown value
RDX=0x00007f463ce2d210: <offset 0xda8210> in /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/server/libjvm.so at 0x00007f463c085000
RSP=0x00007f4624cfbe00 is an unknown value
RBP=0x00007f4624cfbe10 is an unknown value
RSI=0x0000000000000032 is an unknown value
RDI=0x00007f4634018fa0 is an unknown value
R8 =0x00007f463ce69a48: <offset 0xde4a48> in /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/server/libjvm.so at 0x00007f463c085000
R9 =0x0000000000000001 is an unknown value
R10=0x00182e09a9af66e8 is an unknown value
R11=0x0000000000000000 is an unknown value
R12=0x0000000000000008 is an unknown value
R13=0x00007f463401b1a0 is an unknown value
R14=0x0000000000000002 is an unknown value
R15=0x00007f463ce6f3c0: <offset 0xdea3c0> in /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/server/libjvm.so at 0x00007f463c085000
Related
Golang linux RSS shows more bytes than pprof runtime.MemStats
I have a socket client Golang program. when it just start up, Linux /proc/PID/status show the process RSS is 15204 kB, but the pprof report shows that HeapAlloc is about 1408 kB, there is a gap of about 14000kB. My Questions: 1、Why is there such a big difference? 2、How is the go application memory distributed? Besides heap and stack, are there other memory areas? and how can I find these areas? 3、More importantly, how can I lower its rss? cat /proc/PID/status: Umask: 0000 State: S (sleeping) Tgid: 3393 Ngid: 0 Pid: 3393 PPid: 2882 TracerPid: 0 Uid: 500 500 500 500 Gid: 500 500 500 500 FDSize: 32 Groups: 500 NStgid: 3393 NSpid: 3393 NSpgid: 2881 NSsid: 2881 VmPeak: 806492 kB VmSize: 806492 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 15204 kB VmRSS: 15204 kB RssAnon: 5024 kB RssFile: 10180 kB RssShmem: 0 kB VmData: 10988 kB VmStk: 132 kB VmExe: 5164 kB VmLib: 8 kB VmPTE: 28 kB VmPMD: 0 kB VmSwap: 0 kB Threads: 6 SigQ: 0/937 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000000000001 SigCgt: fffffffe7fc1fefe CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 0000003fffffffff CapAmb: 0000000000000000 Cpus_allowed: 3 Cpus_allowed_list: 0-1 voluntary_ctxt_switches: 261951 nonvoluntary_ctxt_switches: 21327 go tool pprof heap: # runtime.MemStats # Alloc = 1408048 # TotalAlloc = 45071968 # Sys = 10828924 # Lookups = 0 # Mallocs = 889174 # Frees = 885421 # HeapAlloc = 1408048 # HeapSys = 7929856 # HeapIdle = 5677056 # HeapInuse = 2252800 # HeapReleased = 5480448 # HeapObjects = 3753 # Stack = 458752 / 458752 # MSpan = 25120 / 32768 # MCache = 1736 / 16384 # BuckHashSys = 725549 # GCSys = 886912 # OtherSys = 778703 # NextGC = 4194304 # LastGC = 1645757614280889245
"Why is there such a big difference?" These are two different metrics. What people call "memory consumption" is incredibly hard to even define on modern machines. "How is the go application memory distributed?" This is an implementation detail and varies. Nothing actuable to know here. "Besides heap and stack, are there other memory areas?" No, but note that the heap/stack dichotomy is an implementation detail of a certain (albeit common) compiler/compiler version/system combination. "and how can I find these areas?" You cannot. "More importantly, how can I lower its rss?" By reducing how much memory you allocate. But note that lowering RSS most probably simply isn't needed. You probably overestimate how "problematic" a "large" RSS is.
Boot of embedded Linux is stuck. How to debug?
In embedded platform built by petalinux, during boot(from u-boot), the last print I see is(sometimes) mmcblk0boot1 print. What are the good ways to debug/trace/fix the problem? As you can see at the end of the log is the start of another boot The attached log ======================================================================= > U-Boot 2015.07 (Jul 22 2018 - 14:04:29 +0300) > DRAM: ECC disabled 511 MiB > MMC: Max clock 26000000, Min clock 0 > zynq_sdhci: 0 > SF: Detected S25FL128S_64K with page size 256 Bytes, erase size 64 KiB, total 16 MiB > *** Warning - bad CRC, using default environment > In: serial > Out: serial > Err: serial > Net: Gem.e000b000 > U-BOOT for AAS_TOP_V0_00_12 > Hit any key to stop autoboot: 4 3 2 1 0 > Device: zynq_sdhci > Manufacturer ID: fe > OEM: 14e > Name: MMC04 > Tran Speed: 26000000 > Rd Block Len: 512 > MMC version 4.4.1 > High Capacity: Yes > Capacity: 3.5 GiB > Bus Width: 4-bit > Erase Group Size: 512 KiB > HC WP Group Size: 4 MiB > User Capacity: 3.5 GiB > Boot Capacity: 16 MiB ENH > RPMB Capacity: 128 KiB ENH > reading image.ub > 7775932 bytes read in 750 ms (9.9 MiB/s) > ## Loading kernel from FIT Image at 01000000 ... > Using 'conf#1' configuration > Verifying Hash Integrity ... OK > Trying 'kernel#1' kernel subimage > Description: PetaLinux Kernel > Type: Kernel Image > Compression: gzip compressed > Data Start: 0x010000f0 > Data Size: 7760664 Bytes = 7.4 MiB > Architecture: ARM > OS: Linux > Load Address: 0x00008000 > Entry Point: 0x00008000 > Hash algo: crc32 > Hash value: 53e3bbd8 > Verifying Hash Integrity ... crc32+ OK > ## Loading fdt from FIT Image at 01000000 ... > Using 'conf#1' configuration > Trying 'fdt#1' fdt subimage > Description: Flattened Device Tree blob > Type: Flat Device Tree > Compression: uncompressed > Data Start: 0x01766cec > Data Size: 13972 Bytes = 13.6 KiB > Architecture: ARM > Hash algo: crc32 > Hash value: bdcc1805 > Verifying Hash Integrity ... crc32+ OK > Booting using the fdt blob at 0x1766cec > Uncompressing Kernel Image ... OK > Loading Device Tree to 07ff9000, end 07fff693 ... OK Starting kernel: > Starting kernel ... > Booting Linux on physical CPU 0x0 > Linux version 4.0.0-xilinx (alex#ubuntu) (gcc version 4.9.2 > (SourceryCodeBench Lite 2015.05-17) ) #3 SMP PREEMPT Sun Nov 12 10:10:19 > CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d > CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache > Machine model: MY_MACHINE > bootconsole [earlycon0] enabled > cma: Reserved 16 MiB at 0x1ec00000 > Memory policy: Data cache writealloc > PERCPU: Embedded 11 pages/cpu #dfecf000 s12672 r8192 d24192 u45056 > Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129794 > Kernel command line: console=ttyPS0,115200 earlyprintk > PID hash table entries: 2048 (order: 1, 8192 bytes) > Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) > Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) > Memory: 490876K/523264K available (4763K kernel code, 223K rwdata, 1708K > rodata, 4376K init, 208K bss, 16004K reserved, 16384K cma-reserved, 0K >highmem) > Virtual kernel memory layout: > vector : 0xffff0000 - 0xffff1000 ( 4 kB) > fixmap : 0xffc00000 - 0xfff00000 (3072 kB) > vmalloc : 0xe0000000 - 0xff000000 ( 496 MB) > lowmem : 0xc0000000 - 0xdff00000 ( 511 MB) > pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) > modules : 0xbf000000 - 0xbfe00000 ( 14 MB) > .text : 0xc0008000 - 0xc0659f7c (6472 kB) > .init : 0xc065a000 - 0xc0aa0000 (4376 kB) > .data : 0xc0aa0000 - 0xc0ad7e60 ( 224 kB) > .bss : 0xc0ad7e60 - 0xc0b0c174 ( 209 kB) > Preemptible hierarchical RCU implementation. > Additional per-CPU info printed with stalls. > RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. > RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 > NR_IRQS:16 nr_irqs:16 16 > L2C: platform modifies aux control register: 0x72360000 -> 0x72760000 > L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000 > L2C-310 erratum 769419 enabled > L2C-310 enabling early BRESP for Cortex-A9 > L2C-310 full line of zeros enabled for Cortex-A9 > L2C-310 ID prefetch enabled, offset 1 lines > L2C-310 dynamic clock gating enabled, standby mode enabled > L2C-310 cache controller enabled, 8 ways, 512 kB > L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001 > slcr mapped to e0004000 > zynq_clock_init: clkc starts at e0004100 > Zynq clock init > sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 3298534883328ns > timer #0 at e0008000, irq=17 > Console: colour dummy device 80x30 > Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096) > pid_max: default: 32768 minimum: 301 > Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) > Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) > CPU: Testing write buffer coherency: ok > CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 > Setting up static identity map for 0x482348 - 0x4823a0 > CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 > Brought up 2 CPUs > SMP: Total of 2 processors activated (2664.03 BogoMIPS). > CPU: All CPU(s) started in SVC mode. > devtmpfs: initialized > VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 > pinctrl core: initialized pinctrl subsystem > NET: Registered protocol family 16 > DMA: preallocated 256 KiB pool for atomic coherent allocations > cpuidle: using governor ladder > cpuidle: using governor menu > hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. > hw-breakpoint: maximum watchpoint size is 4 bytes. > zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB # 0xe0080000 > vgaarb: loaded > SCSI subsystem initialized > usbcore: registered new interface driver usbfs > usbcore: registered new interface driver hub > usbcore: registered new device driver usb > media: Linux media interface: v0.10 > Linux video capture interface: v2.00 > pps_core: LinuxPPS API ver. 1 registered > pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti > <giometti#linux.it> > PTP clock support registered > EDAC MC: Ver: 3.0.0 > Advanced Linux Sound Architecture Driver Initialized. > Switched to clocksource arm_global_timer > NET: Registered protocol family 2 > TCP established hash table entries: 4096 (order: 2, 16384 bytes) > TCP bind hash table entries: 4096 (order: 3, 32768 bytes) > TCP: Hash tables configured (established 4096 bind 4096) > TCP: reno registered > UDP hash table entries: 256 (order: 1, 8192 bytes) > UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) > NET: Registered protocol family 1 > RPC: Registered named UNIX socket transport module. > RPC: Registered udp transport module. > RPC: Registered tcp transport module. > RPC: Registered tcp NFSv4.1 backchannel transport module. > hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters > available > futex hash table entries: 512 (order: 3, 32768 bytes) > jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. > io scheduler noop registered > io scheduler deadline registered > io scheduler cfq registered (default) > zynq-pinctrl 700.pinctrl: zynq pinctrl initialized > dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330 > dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 > Num_Events-16 > e0000000.serial: ttyPS1 at MMIO 0xe0000000 (irq = 144, base_baud = 3125000) > is a xuartps > e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 145, base_baud = 3125000) > is a xuartps > �console [ttyPS0] enabled > console [ttyPS0] enabled > bootconsole [earlycon0] disabled > bootconsole [earlycon0] disabled > xdevcfg f8007000.devcfg: ioremap 0xf8007000 to e006c000 > [drm] Initialized drm 1.1.0 20060810 > brd: module loaded > loop: module loaded > CAN device driver interface > libphy: MACB_mii_bus: probed > macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq > 149 (00:0a:35:00:1e:53) > macb e000b000.ethernet eth0: attached PHY driver [Marvell 88E1510] > (mii_bus:phy_addr=e000b000.etherne:00, irq=-1) > e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k > e1000e: Copyright(c) 1999 - 2014 Intel Corporation. > ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver > ehci-pci: EHCI PCI platform driver > usbcore: registered new interface driver usb-storage > mousedev: PS/2 mouse device common for all mice > i2c /dev entries driver > at24 0-0050: 1024 byte 24c08 EEPROM, writable, 1 bytes/write > cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 141 > Xilinx Zynq CpuIdle Driver started > Driver 'mmcblk' needs updating - please use bus_type methods > sdhci: Secure Digital Host Controller Interface driver > sdhci: Copyright(c) Pierre Ossman > sdhci-pltfm: SDHCI platform and OF driver helper > sdhci-arasan e0101000.sdhci: No vmmc regulator found > sdhci-arasan e0101000.sdhci: No vqmmc regulator found > mmc0: SDHCI controller on e0101000.sdhci [e0101000.sdhci] using ADMA > ledtrig-cpu: registered to indicate activity on CPUs > usbcore: registered new interface driver usbhid > usbhid: USB HID core driver > TCP: cubic registered > NET: Registered protocol family 17 > can: controller area network core (rev 20120528 abi 9) > NET: Registered protocol family 29 > can: raw protocol (rev 20120528) > can: broadcast manager protocol (rev 20120528 t) > can: netlink gateway (rev 20130117) max_hops=1 > Registering SWP/SWPB emulation handler > /home/alex/Petalinux/petalinux-v2015.4-final/components/linux-kernel/xlnx- > 4.0/drivers/rtc/hctosys.c: unable to open rtc device (rtc0) > ALSA device list: > No soundcards found. > Freeing unused kernel memory: 4376K (c065a000 - c0aa0000) > mmc0: MAN_BKOPS_EN bit is not set > mmc0: new high speed MMC card at address 0001 > > INIT: mmcblk0: mmc0:0001 MMC04G 3.52 GiB > mmcblk0boot0: mmc0:0001 MMC04G partition 1 16.0 MiB > mmcblk0boot1: mmc0:0001 MMC04G partition 2 16.0 MiB > U-Boot 2015.07 (Jul 22 2018 - 14:04:29 +0300)
Unable to run linux 3.10(mips) on qemu 2.5
I want to run linux 3.10 with mips64r2 on qemu. But it fails, the boot log as follows, I compile the kernel with the gcc 4.9.3 which is modified by loongson. The kernel config file is the malta_defconfig and i change it to mips64r2 cpu and 64 bit kernel. The qemu 2.5 is the default application on the ubuntu 16.04. zlp#lab302i-ES:~/projs/linux-3.10$ qemu-system-mips64el -M malta -m 1G -cpu 5KEf -kernel vmlinux -nographic Linux version 3.10.0 (zlp#lab302i-ES) (gcc version 4.9.3 20150626 (Red Hat 4.9.3-2) (GCC) ) #8 SMP Tue Nov 19 19:16:32 CST 2019 Config serial console: console=ttyS0,38400n8r bootconsole [early0] enabled CPU revision is: 00018900 (MIPS 5KE) FPU revision is: 00738900 Checking for the multiply/shift bug... no. Checking for the daddiu bug... no. Software DMA cache coherency enabled Determined physical RAM map: memory: 0000000000001000 # 0000000000000000 (reserved) memory: 00000000000ef000 # 0000000000001000 (ROM data) memory: 0000000000539000 # 00000000000f0000 (reserved) memory: 000000000f9d7000 # 0000000000629000 (usable) Wasting 88312 bytes for tracking 1577 unused pages Zone ranges: DMA [mem 0x00000000-0x00ffffff] Normal [mem 0x01000000-0x0fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x00000000-0x0fffffff] Primary instruction cache 8kB, VIPT, 2-way, linesize 32 bytes. Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 32 bytes PERCPU: Embedded 10 pages/cpu #9800000001384000 s10816 r8192 d21952 u40960 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64640 Kernel command line: console=ttyS0,38400n8r PID hash table entries: 1024 (order: 1, 8192 bytes) Dentry cache hash table entries: 32768 (order: 6, 262144 bytes) Inode-cache hash table entries: 16384 (order: 5, 131072 bytes) Cache parity protection disabled Memory: 251796k/255836k available (3695k kernel code, 4040k reserved, 1150k data, 272k init, 0k highmem) Hierarchical RCU implementation. CONFIG_RCU_FANOUT set to non-default value of 32 RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1. NR_IRQS:256 CPU frequency 200.00 MHz Console: colour dummy device 80x25 Calibrating delay loop... 1076.42 BogoMIPS (lpj=5382144) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 256 Checking for the daddi bug... no. Brought up 1 CPUs NET: Registered protocol family 16 bio: create slab <bio-0> at 0 vgaarb: loaded PCI host bridge to bus 0000:00 pci_bus 0000:00: root bus resource [mem 0x10000000-0x17ffffff] pci_bus 0000:00: root bus resource [io 0x2000-0x1fffff] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] pci 0000:00:0a.3: no compatible bridge window for [io 0x1100-0x110f] vgaarb: device added: PCI:0000:00:12.0,decodes=io+mem,owns=none,locks=none pci 0000:00:0a.3: BAR 8: [io 0x1100-0x110f] has bogus alignment pci 0000:00:12.0: BAR 0: assigned [mem 0x10000000-0x11ffffff pref] pci 0000:00:0b.0: BAR 6: assigned [mem 0x12000000-0x1203ffff pref] pci 0000:00:12.0: BAR 6: assigned [mem 0x12040000-0x1204ffff pref] pci 0000:00:12.0: BAR 1: assigned [mem 0x12050000-0x12050fff] pci 0000:00:0a.2: BAR 4: assigned [io 0x2000-0x201f] pci 0000:00:0b.0: BAR 0: assigned [io 0x2020-0x203f] pci 0000:00:0b.0: BAR 1: assigned [mem 0x12051000-0x1205101f] pci 0000:00:0a.1: BAR 4: assigned [io 0x2040-0x204f] Switching to clocksource pit NET: Registered protocol family 2 TCP established hash table entries: 2048 (order: 3, 32768 bytes) TCP bind hash table entries: 2048 (order: 3, 32768 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP: reno registered UDP hash table entries: 256 (order: 1, 8192 bytes) UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: Enabling device 0000:00:0a.2 (0000 -> 0001) CPU 0 Unable to handle kernel paging request at virtual address 0000000000000000, epc == ffffffff8016bef4, ra == ffffffff805c51a0 Oops[#1]: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0 #8 task: 980000000fc433f0 ti: 980000000fc44000 task.ti: 980000000fc44000 $ 0 : 0000000000000000 0000000000000008 0000000000000000 0000000000000000 $ 4 : 980000000fc47de0 0000000000000000 0000000000000000 0000000000000000 $ 8 : 0000000000000000 980000000fd84e60 fffffffffffffffc ffffffff8061cd30 $12 : 0000000000000010 ffffffff802e3bd4 0000000000000000 000000000000001a $16 : ffffffff80600000 ffffffff805c5184 0000000000000000 ffffffff80600000 $20 : ffffffff805e6368 ffffffff805e6338 ffffffff805bc1d8 ffffffff805e62f8 $24 : 0000000000000018 ffffffff803451b0 $28 : 980000000fc44000 980000000fc47de0 ffffffff80600000 ffffffff805c51a0 Hi : 0000000000000001 Lo : 1111111111111112 epc : ffffffff8016bef4 cmpxchg_futex_value_locked+0x2c/0x78 Not tainted ra : ffffffff805c51a0 futex_init+0x1c/0x6c Status: 1400a7e3 KX SX UX KERNEL EXL IE Cause : 00800008 BadVA : 0000000000000000 PrId : 00018900 (MIPS 5KE) Modules linked in: Process swapper/0 (pid: 1, threadinfo=980000000fc44000, task=980000000fc433f0, tls=0000000000000000) Stack : ffffffff805c4f3c 0000000000000000 ffffffff80600000 ffffffff801004f0 ffffffff805e6368 0000000000000006 0000000000000030 ffffffff805f0a30 ffffffff80600000 ffffffff805bca24 0000000000000066 0000000000000000 ffffffff80494a48 0000000000000000 ffffffff80600000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ffffffff80494a64 ffffffff80494a48 0000000000000000 0000000000000000 ffffffff80101f18 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ... Call Trace: [<ffffffff8016bef4>] cmpxchg_futex_value_locked+0x2c/0x78 [<ffffffff805c51a0>] futex_init+0x1c/0x6c [<ffffffff801004f0>] do_one_initcall+0xe0/0x160 [<ffffffff805bca24>] kernel_init_freeable+0x16c/0x220 [<ffffffff80494a64>] kernel_init+0x1c/0x160 [<ffffffff80101f18>] ret_from_kernel_thread+0x14/0x1c Code: 00000000 0000102d 0000000f <c0a30000> 14660005 00000000 00e0082d e0a10000 1020fff9 ---[ end trace 47a33b7db369802c ]--- note: swapper/0[1] exited with preempt_count 1 Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
Several possible issues here: (1) QEMU 2.5 is now pretty old. You could retry with something more modern. (2) You're building the kernel with "a gcc modified by loongson", but you're not actually running this on a Loongson CPU. Try using a stock gcc to build your kernel, and make sure that your kernel config matches the board model and CPU model you're asking QEMU to emulate. (The kernel log you give shows it crashing in a low level function which is going to try to do an atomic cmpxchg operation, and I have a vague recollection that this is an area where different MIPS CPUs have different sets of supported instructions, and in particular that Loongson might have made some changes here. So my first guess would be that your problem is here.)
ClassNotFoundException: org/springframework/beans/factory/SmartInitializingSingletonCustomizer
Following is error log file content, anybody help me?thanks # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006e7ea1be, pid=17964, tid=0x00000000000046d8 # # JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode windows-amd64 compressed oops) # Problematic frame: # V [jvm.dll+0x14a1be] # # 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.java.com/bugreport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x000000001c619000): JavaThread "Disp-1" [_thread_in_vm, id=18136, stack(0x000000001df70000,0x000000001e070000)] siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000000 Registers: RAX=0x0000000000000000, RBX=0x0000000000000000, RCX=0x0000000000000900, RDX=0x0000000000000000 RSP=0x000000001e06e190, RBP=0x000000001e06f2a8, RSI=0x000000001c6191f8, RDI=0x000000001c619000 R8 =0x0000000000000000, R9 =0x000000001a2fafb8, R10=0x000000001d410550, R11=0x00000000d696d810 R12=0x0000000000000000, R13=0x000000001d7e55a8, R14=0x000000001e06f2d0, R15=0x000000001c619000 RIP=0x000000006e7ea1be, EFLAGS=0x0000000000010246 Top of Stack: (sp=0x000000001e06e190) 0x000000001e06e190: 000000001db87860 000000006e7fc623 0x000000001e06e1a0: 0000b1be7181fe0f 000000006e7e13cd 0x000000001e06e1b0: 000000001d7e55a8 000000001c6191f8 0x000000001e06e1c0: 000000001c619000 000000006e7ddd28 0x000000001e06e1d0: 000000001c619000 0000000000000000 0x000000001e06e1e0: 0000000000000000 000000001c619000 0x000000001e06e1f0: 0000000000000000 0000000002a3460c 0x000000001e06e200: 000000001d7e55b0 000000001e06f2a8 0x000000001e06e210: 000000001c619000 000000001e06f2a8 0x000000001e06e220: 000000001d410aa0 000000001c6191f8 0x000000001e06e230: 000000001dbac750 0000000000000034 0x000000001e06e240: 000000001d410aa0 000000001a2fafc8 0x000000001e06e250: 0000000002c9835d 000000001c619000 0x000000001e06e260: 000000001d7e55b0 0000000002a3446f 0x000000001e06e270: 000000001c6191f8 000000001db87860 0x000000001e06e280: 0000000000000000 000000001a2fafb8 Instructions: (pc=0x000000006e7ea1be) 0x000000006e7ea19e: 00 48 83 7f 08 00 48 89 7c 24 58 48 c7 44 24 60 0x000000006e7ea1ae: 00 00 00 00 74 0a 48 8d 4c 24 58 e8 02 18 13 00 0x000000006e7ea1be: 48 8b 0b e8 aa e3 f1 ff 4c 8b c7 33 d2 48 8b d8 0x000000006e7ea1ce: 48 8b 00 48 8b cb ff 50 78 48 83 7f 08 00 74 04 Register to memory mapping: RAX=0x0000000000000000 is an unknown value RBX=0x0000000000000000 is an unknown value RCX=0x0000000000000900 is an unknown value RDX=0x0000000000000000 is an unknown value RSP=0x000000001e06e190 is pointing into the stack for thread: 0x000000001c619000 RBP=0x000000001e06f2a8 is pointing into the stack for thread: 0x000000001c619000 RSI=0x000000001c6191f8 is an unknown value RDI=0x000000001c619000 is a thread R8 =0x0000000000000000 is an unknown value R9 =0x000000001a2fafb8 is an unknown value R10=0x000000001d410550 is an unknown value R11=0x00000000d696d810 is an oop [error occurred during error reporting (printing register info), id 0xc0000005] Stack: [0x000000001df70000,0x000000001e070000], sp=0x000000001e06e190, free space=1016k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x14a1be] C [tibrvj.dll+0x446f] C [tibrvj.dll+0x46fe] C [tibrvj.dll+0x6357] C [tibrvcmq.dll+0xad17] C [tibrv.dll+0x4ce28] C [tibrv.dll+0x4d4a5] C [tibrv.dll+0x4d633] C [tibrvj.dll+0x16f6] C 0x0000000002ca7f74 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j com.tibco.tibrv.TibrvImplQueueC.natDispatch(I)V+0 j com.tibco.tibrv.TibrvImplQueueC.dispatch()V+5 j com.tibco.tibrv.TibrvQueue.dispatch()V+14 j com.tibco.tibrv.TibrvDispatcher.run()V+112 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) =>0x000000001c619000 JavaThread "Disp-1" [_thread_in_vm, id=18136, stack(0x000000001df70000,0x000000001e070000)] 0x000000001778c000 JavaThread "Service Thread" daemon [_thread_blocked, id=416, stack(0x00000000193f0000,0x00000000194f0000)] 0x000000001774d000 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=16164, stack(0x00000000192f0000,0x00000000193f0000)] 0x000000001774c000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=7268, stack(0x00000000191f0000,0x00000000192f0000)] 0x0000000017747000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=15800, stack(0x00000000190f0000,0x00000000191f0000)] 0x0000000017745800 JavaThread "Attach Listener" daemon [_thread_blocked, id=18400, stack(0x0000000018ff0000,0x00000000190f0000)] 0x0000000018b33800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=14912, stack(0x0000000018ef0000,0x0000000018ff0000)] 0x000000001771a800 JavaThread "Finalizer" daemon [_thread_blocked, id=9832, stack(0x0000000018990000,0x0000000018a90000)] 0x0000000002c7f000 JavaThread "Reference Handler" daemon [_thread_blocked, id=12364, stack(0x0000000018890000,0x0000000018990000)] 0x0000000002b90800 JavaThread "main" [_thread_blocked, id=13568, stack(0x0000000002a90000,0x0000000002b90000)] Other Threads: 0x00000000176f8000 VMThread [stack: 0x0000000018790000,0x0000000018890000] [id=16944] 0x0000000018bb6000 WatcherThread [stack: 0x00000000194f0000,0x00000000195f0000] [id=1016] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap: PSYoungGen total 70656K, used 12341K [0x00000000d6300000, 0x00000000dad00000, 0x0000000100000000) eden space 65536K, 11% used [0x00000000d6300000,0x00000000d6a113e8,0x00000000da300000) from space 5120K, 99% used [0x00000000da800000,0x00000000dacfc060,0x00000000dad00000) to space 5120K, 0% used [0x00000000da300000,0x00000000da300000,0x00000000da800000) ParOldGen total 86016K, used 1328K [0x0000000082800000, 0x0000000087c00000, 0x00000000d6300000) object space 86016K, 1% used [0x0000000082800000,0x000000008294c390,0x0000000087c00000) Metaspace used 15572K, capacity 15896K, committed 16128K, reserved 1062912K class space used 1932K, capacity 2012K, committed 2048K, reserved 1048576K Card table byte_map: [0x0000000012050000,0x0000000012440000] byte_map_base: 0x0000000011c3c000 Marking Bits: (ParMarkBitMap*) 0x000000006eebb6d0 Begin Bits: [0x0000000012ae0000, 0x0000000014a40000) End Bits: [0x0000000014a40000, 0x00000000169a0000) Polling page: 0x0000000002670000 CodeCache: size=245760Kb used=7054Kb max_used=7082Kb free=238705Kb bounds [0x0000000002c90000, 0x0000000003390000, 0x0000000011c90000] total_blobs=2306 nmethods=1958 adapters=260 compilation: enabled Compilation events (10 events): Event: 3.200 Thread 0x000000001774c000 nmethod 1721 0x000000000335a690 code [0x000000000335a7c0, 0x000000000335a818] Event: 3.200 Thread 0x000000001774c000 1954 4 java.util.AbstractMap::<init> (5 bytes) Event: 3.200 Thread 0x000000001774c000 nmethod 1954 0x0000000003357a90 code [0x0000000003357bc0, 0x0000000003357c18] Event: 3.200 Thread 0x000000001774c000 1790 4 java.util.LinkedList$ListItr::hasNext (20 bytes) Event: 3.201 Thread 0x000000001774c000 nmethod 1790 0x0000000003357850 code [0x0000000003357980, 0x0000000003357a18] Event: 3.201 Thread 0x000000001774c000 1654 4 java.util.HashMap$EntryIterator::next (5 bytes) Event: 3.203 Thread 0x000000001774c000 nmethod 1654 0x000000000335b990 code [0x000000000335bae0, 0x000000000335bcb8] Event: 3.203 Thread 0x000000001774c000 1657 4 org.springframework.core.type.classreading.AnnotationMetadataReadingVisitor::getAnnotationAttributes (50 bytes) Event: 3.207 Thread 0x000000001774c000 nmethod 1657 0x000000000335d290 code [0x000000000335d400, 0x000000000335d698] Event: 3.221 Thread 0x0000000017747000 nmethod 1656 0x00000000033729d0 code [0x0000000003372ee0, 0x00000000033791e0] GC Heap History (8 events): Event: 1.198 GC heap before {Heap before GC invocations=1 (full 0): PSYoungGen total 37888K, used 32768K [0x00000000d6300000, 0x00000000d8d00000, 0x0000000100000000) eden space 32768K, 100% used [0x00000000d6300000,0x00000000d8300000,0x00000000d8300000) from space 5120K, 0% used [0x00000000d8800000,0x00000000d8800000,0x00000000d8d00000) to space 5120K, 0% used [0x00000000d8300000,0x00000000d8300000,0x00000000d8800000) ParOldGen total 86016K, used 0K [0x0000000082800000, 0x0000000087c00000, 0x00000000d6300000) object space 86016K, 0% used [0x0000000082800000,0x0000000082800000,0x0000000087c00000) Metaspace used 8557K, capacity 8842K, committed 9088K, reserved 1056768K class space used 1058K, capacity 1119K, committed 1152K, reserved 1048576K Event: 1.206 GC heap after Heap after GC invocations=1 (full 0): PSYoungGen total 37888K, used 4074K [0x00000000d6300000, 0x00000000d8d00000, 0x0000000100000000) eden space 32768K, 0% used [0x00000000d6300000,0x00000000d6300000,0x00000000d8300000) from space 5120K, 79% used [0x00000000d8300000,0x00000000d86fa8d8,0x00000000d8800000) to space 5120K, 0% used [0x00000000d8800000,0x00000000d8800000,0x00000000d8d00000) ParOldGen total 86016K, used 80K [0x0000000082800000, 0x0000000087c00000, 0x00000000d6300000) object space 86016K, 0% used [0x0000000082800000,0x0000000082814010,0x0000000087c00000) Metaspace used 8557K, capacity 8842K, committed 9088K, reserved 1056768K class space used 1058K, capacity 1119K, committed 1152K, reserved 1048576K } Event: 2.106 GC heap before {Heap before GC invocations=2 (full 0): PSYoungGen total 37888K, used 36842K [0x00000000d6300000, 0x00000000d8d00000, 0x0000000100000000) eden space 32768K, 100% used [0x00000000d6300000,0x00000000d8300000,0x00000000d8300000) from space 5120K, 79% used [0x00000000d8300000,0x00000000d86fa8d8,0x00000000d8800000) to space 5120K, 0% used [0x00000000d8800000,0x00000000d8800000,0x00000000d8d00000) ParOldGen total 86016K, used 80K [0x0000000082800000, 0x0000000087c00000, 0x00000000d6300000) object space 86016K, 0% used [0x0000000082800000,0x0000000082814010,0x0000000087c00000) Metaspace used 13165K, capacity 13474K, committed 13568K, reserved 1060864K class space used 1653K, capacity 1747K, committed 1792K, reserved 1048576K Event: 2.113 GC heap after Heap after GC invocations=2 (full 0): PSYoungGen total 37888K, used 5106K [0x00000000d6300000, 0x00000000d8d00000, 0x0000000100000000) eden space 32768K, 0% used [0x00000000d6300000,0x00000000d6300000,0x00000000d8300000) from space 5120K, 99% used [0x00000000d8800000,0x00000000d8cfc860,0x00000000d8d00000) to space 5120K, 0% used [0x00000000d8300000,0x00000000d8300000,0x00000000d8800000) ParOldGen total 86016K, used 473K [0x0000000082800000, 0x0000000087c00000, 0x00000000d6300000) object space 86016K, 0% used [0x0000000082800000,0x0000000082876530,0x0000000087c00000) Metaspace used 13165K, capacity 13474K, committed 13568K, reserved 1060864K class space used 1653K, capacity 1747K, committed 1792K, reserved 1048576K } Event: 2.487 GC heap before {Heap before GC invocations=3 (full 0): PSYoungGen total 37888K, used 37874K [0x00000000d6300000, 0x00000000d8d00000, 0x0000000100000000) eden space 32768K, 100% used [0x00000000d6300000,0x00000000d8300000,0x00000000d8300000) from space 5120K, 99% used [0x00000000d8800000,0x00000000d8cfc860,0x00000000d8d00000) to space 5120K, 0% used [0x00000000d8300000,0x00000000d8300000,0x00000000d8800000) ParOldGen total 86016K, used 473K [0x0000000082800000, 0x0000000087c00000, 0x00000000d6300000) object space 86016K, 0% used [0x0000000082800000,0x0000000082876530,0x0000000087c00000) Metaspace used 13907K, capacity 14176K, committed 14336K, reserved 1062912K class space used 1720K, capacity 1784K, committed 1792K, reserved 1048576K Event: 2.496 GC heap after Heap after GC invocations=3 (full 0): PSYoungGen total 37888K, used 5032K [0x00000000d6300000, 0x00000000dad00000, 0x0000000100000000) eden space 32768K, 0% used [0x00000000d6300000,0x00000000d6300000,0x00000000d8300000) from space 5120K, 98% used [0x00000000d8300000,0x00000000d87ea1b0,0x00000000d8800000) to space 5120K, 0% used [0x00000000da800000,0x00000000da800000,0x00000000dad00000) ParOldGen total 86016K, used 481K [0x0000000082800000, 0x0000000087c00000, 0x00000000d6300000) object space 86016K, 0% used [0x0000000082800000,0x0000000082878530,0x0000000087c00000) Metaspace used 13907K, capacity 14176K, committed 14336K, reserved 1062912K class space used 1720K, capacity 1784K, committed 1792K, reserved 1048576K } Event: 2.911 GC heap before {Heap before GC invocations=4 (full 0): PSYoungGen total 37888K, used 37800K [0x00000000d6300000, 0x00000000dad00000, 0x0000000100000000) eden space 32768K, 100% used [0x00000000d6300000,0x00000000d8300000,0x00000000d8300000) from space 5120K, 98% used [0x00000000d8300000,0x00000000d87ea1b0,0x00000000d8800000) to space 5120K, 0% used [0x00000000da800000,0x00000000da800000,0x00000000dad00000) ParOldGen total 86016K, used 481K [0x0000000082800000, 0x0000000087c00000, 0x00000000d6300000) object space 86016K, 0% used [0x0000000082800000,0x0000000082878530,0x0000000087c00000) Metaspace used 15169K, capacity 15480K, committed 15616K, reserved 1062912K class space used 1891K, capacity 1980K, committed 2048K, reserved 1048576K Event: 2.922 GC heap after Heap after GC invocations=4 (full 0): PSYoungGen total 70656K, used 5104K [0x00000000d6300000, 0x00000000dad00000, 0x0000000100000000) eden space 65536K, 0% used [0x00000000d6300000,0x00000000d6300000,0x00000000da300000) from space 5120K, 99% used [0x00000000da800000,0x00000000dacfc060,0x00000000dad00000) to space 5120K, 0% used [0x00000000da300000,0x00000000da300000,0x00000000da800000) ParOldGen total 86016K, used 1328K [0x0000000082800000, 0x0000000087c00000, 0x00000000d6300000) object space 86016K, 1% used [0x0000000082800000,0x000000008294c390,0x0000000087c00000) Metaspace used 15169K, capacity 15480K, committed 15616K, reserved 1062912K class space used 1891K, capacity 1980K, committed 2048K, reserved 1048576K } Deoptimization events (10 events): Event: 2.145 Thread 0x0000000002b90800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000000030441fc method=java.util.regex.Pattern$CharProperty.match(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Z # 37 Event: 2.145 Thread 0x0000000002b90800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000000030441fc method=java.util.regex.Pattern$CharProperty.match(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Z # 37 Event: 2.145 Thread 0x0000000002b90800 Uncommon trap: reason=predicate action=maybe_recompile pc=0x0000000003026da8 method=java.util.regex.Pattern$Slice.match(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Z # 21 Event: 2.523 Thread 0x0000000002b90800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003247108 method=java.util.AbstractCollection.isEmpty()Z # 4 Event: 2.524 Thread 0x0000000002b90800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003261fd0 method=org.springframework.core.type.classreading.AnnotationReadingVisitorUtils.convertClassValues(Ljava/lang/Object;Ljava/lang/ClassLoader;Lorg/springframework/core/annotation/Ann Event: 2.683 Thread 0x0000000002b90800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000000030f7a68 method=java.util.concurrent.ConcurrentHashMap.putVal(Ljava/lang/Object;Ljava/lang/Object;Z)Ljava/lang/Object; # 192 Event: 2.813 Thread 0x0000000002b90800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000030f7ae4 method=java.util.concurrent.ConcurrentHashMap.putVal(Ljava/lang/Object;Ljava/lang/Object;Z)Ljava/lang/Object; # 206 Event: 2.989 Thread 0x0000000002b90800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000030ec124 method=java.util.Properties$LineReader.readLine()I # 180 Event: 3.017 Thread 0x0000000002b90800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003179698 method=java.lang.String.startsWith(Ljava/lang/String;I)Z # 25 Event: 3.017 Thread 0x0000000002b90800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002e2ca94 method=java.lang.String.startsWith(Ljava/lang/String;I)Z # 25 Internal exceptions (10 events): Event: 2.974 Thread 0x0000000002b90800 Exception <a 'java/lang/ClassNotFoundException': org/springframework/beans/factory/SmartInitializingSingletonCustomizer> (0x00000000d66e33c8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\classfile\systemDict Event: 2.974 Thread 0x0000000002b90800 Exception <a 'java/lang/ClassNotFoundException': org/springframework/context/ApplicationContextAwareCustomizer> (0x00000000d66f6548) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\classfile\systemDictionary.cp Event: 2.975 Thread 0x0000000002b90800 Exception <a 'java/lang/ClassNotFoundException': java/lang/ObjectCustomizer> (0x00000000d6701db0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210] Event: 2.976 Thread 0x0000000002b90800 Exception <a 'java/lang/ClassNotFoundException': org/springframework/context/event/DefaultEventListenerFactoryCustomizer> (0x00000000d6719af8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\classfile\systemDic Event: 2.976 Thread 0x0000000002b90800 Exception <a 'java/lang/ClassNotFoundException': org/springframework/context/event/EventListenerFactoryCustomizer> (0x00000000d6733d78) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\classfile\systemDictionary Event: 2.977 Thread 0x0000000002b90800 Exception <a 'java/lang/ClassNotFoundException': org/springframework/core/OrderedCustomizer> (0x00000000d6746268) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210] Event: 2.977 Thread 0x0000000002b90800 Exception <a 'java/lang/ClassNotFoundException': java/lang/ObjectCustomizer> (0x00000000d6751a50) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210] Event: 2.978 Thread 0x0000000002b90800 Exception <a 'java/lang/ClassNotFoundException': com/example/ControllerDemo/ControllerDemoApplicationCustomizer> (0x00000000d6767c20) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\classfile\systemDictionary.c Event: 2.978 Thread 0x0000000002b90800 Exception <a 'java/lang/ClassNotFoundException': com/example/ControllerDemo/ControllerDemoApplication$$EnhancerBySpringCGLIB$$b10776ccCustomizer> (0x00000000d6781448) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\shar Event: 2.979 Thread 0x0000000002b90800 Exception <a 'java/lang/ClassNotFoundException': org/springframework/context/annotation/ConfigurationClassEnhancer$EnhancedConfigurationCustomizer> (0x00000000d679f4c8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\sh Events (10 events): Event: 3.025 loading class com/tibco/tibrv/TibrvImplCmTPortC done Event: 3.031 loading class com/tibco/tibrv/TibrvCmListener Event: 3.031 loading class com/tibco/tibrv/TibrvCmListener done Event: 3.035 loading class com/tibco/tibrv/TibrvDispatcher Event: 3.035 loading class com/tibco/tibrv/TibrvDispatcher done Event: 3.037 loading class com/tibco/tibrv/TibrvQueueGroup Event: 3.037 loading class com/tibco/tibrv/TibrvQueueGroup done Event: 3.038 Thread 0x000000001c619000 Thread added: 0x000000001c619000 Event: 4.093 Executing VM operation: EnableBiasedLocking Event: 4.093 Executing VM operation: EnableBiasedLocking done Dynamic libraries: 0x00007ff6d9c80000 - 0x00007ff6d9cb7000 C:\ProgramData\Oracle\Java\javapath\java.exe 0x00007ffd2dde0000 - 0x00007ffd2dfbb000 C:\Windows\SYSTEM32\ntdll.dll 0x00007ffd2b780000 - 0x00007ffd2b82e000 C:\Windows\System32\KERNEL32.DLL 0x00007ffd2a650000 - 0x00007ffd2a899000 C:\Windows\System32\KERNELBASE.dll 0x00007ffd2b3b0000 - 0x00007ffd2b451000 C:\Windows\System32\ADVAPI32.dll 0x00007ffd2d5e0000 - 0x00007ffd2d67d000 C:\Windows\System32\msvcrt.dll 0x00007ffd2b6f0000 - 0x00007ffd2b749000 C:\Windows\System32\sechost.dll 0x00007ffd2cf70000 - 0x00007ffd2d095000 C:\Windows\System32\RPCRT4.dll 0x00007ffd2d490000 - 0x00007ffd2d5da000 C:\Windows\System32\USER32.dll 0x00007ffd2b270000 - 0x00007ffd2b28e000 C:\Windows\System32\win32u.dll 0x00007ffd2ddb0000 - 0x00007ffd2ddd7000 C:\Windows\System32\GDI32.dll 0x00007ffd2a410000 - 0x00007ffd2a597000 C:\Windows\System32\gdi32full.dll 0x00007ffd2a370000 - 0x00007ffd2a40a000 C:\Windows\System32\msvcp_win.dll 0x00007ffd2a8a0000 - 0x00007ffd2a996000 C:\Windows\System32\ucrtbase.dll 0x00007ffd080c0000 - 0x00007ffd08327000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.15063.483_none_26002d27e7c744a2\COMCTL32.dll 0x00007ffd2d110000 - 0x00007ffd2d409000 C:\Windows\System32\combase.dll 0x00007ffd2a300000 - 0x00007ffd2a36a000 C:\Windows\System32\bcryptPrimitives.dll 0x00007ffd2b8f0000 - 0x00007ffd2b91d000 C:\Windows\System32\IMM32.DLL 0x000000006fe40000 - 0x000000006ff12000 C:\Program Files\Java\jre1.8.0_121\bin\msvcr100.dll 0x000000006e6a0000 - 0x000000006ef3b000 C:\Program Files\Java\jre1.8.0_121\bin\server\jvm.dll 0x00007ffd2b3a0000 - 0x00007ffd2b3a8000 C:\Windows\System32\PSAPI.DLL 0x00007ffd1e1b0000 - 0x00007ffd1e1ba000 C:\Windows\SYSTEM32\VERSION.dll 0x00007ffd227c0000 - 0x00007ffd227e3000 C:\Windows\SYSTEM32\WINMM.dll 0x00007ffd12a10000 - 0x00007ffd12a19000 C:\Windows\SYSTEM32\WSOCK32.dll 0x00007ffd2d0a0000 - 0x00007ffd2d10c000 C:\Windows\System32\WS2_32.dll 0x00007ffd22640000 - 0x00007ffd2266b000 C:\Windows\SYSTEM32\winmmbase.dll 0x00007ffd2a5a0000 - 0x00007ffd2a5e9000 C:\Windows\System32\cfgmgr32.dll 0x0000000070b20000 - 0x0000000070b2f000 C:\Program Files\Java\jre1.8.0_121\bin\verify.dll 0x000000006fff0000 - 0x0000000070019000 C:\Program Files\Java\jre1.8.0_121\bin\java.dll 0x000000006ffd0000 - 0x000000006ffe6000 C:\Program Files\Java\jre1.8.0_121\bin\zip.dll 0x00007ffd2ba80000 - 0x00007ffd2ceb7000 C:\Windows\System32\SHELL32.dll 0x00007ffd2cec0000 - 0x00007ffd2cf6a000 C:\Windows\System32\shcore.dll 0x00007ffd2ab70000 - 0x00007ffd2b261000 C:\Windows\System32\windows.storage.dll 0x00007ffd2b340000 - 0x00007ffd2b391000 C:\Windows\System32\shlwapi.dll 0x00007ffd2a250000 - 0x00007ffd2a261000 C:\Windows\System32\kernel.appcore.dll 0x00007ffd2a290000 - 0x00007ffd2a2dc000 C:\Windows\System32\powrprof.dll 0x00007ffd2a2e0000 - 0x00007ffd2a2f5000 C:\Windows\System32\profapi.dll 0x000000006e690000 - 0x000000006e69d000 C:\Program Files\Java\jre1.8.0_121\bin\management.dll 0x000000006e670000 - 0x000000006e68a000 C:\Program Files\Java\jre1.8.0_121\bin\net.dll 0x00007ffd29b00000 - 0x00007ffd29b5c000 C:\Windows\system32\mswsock.dll 0x00007ffd1d840000 - 0x00007ffd1d856000 C:\Windows\system32\napinsp.dll 0x00007ffd1d820000 - 0x00007ffd1d83a000 C:\Windows\system32\pnrpnsp.dll 0x00007ffd24140000 - 0x00007ffd24158000 C:\Windows\system32\NLAapi.dll 0x00007ffd298e0000 - 0x00007ffd29984000 C:\Windows\SYSTEM32\DNSAPI.dll 0x00007ffd2b750000 - 0x00007ffd2b758000 C:\Windows\System32\NSI.dll 0x00007ffd298a0000 - 0x00007ffd298d7000 C:\Windows\SYSTEM32\IPHLPAPI.DLL 0x00007ffd1d810000 - 0x00007ffd1d81e000 C:\Windows\System32\winrnr.dll 0x00007ffd1d7f0000 - 0x00007ffd1d805000 C:\Windows\System32\wshbth.dll 0x00007ffd1d7e0000 - 0x00007ffd1d7ea000 C:\Windows\System32\rasadhlp.dll 0x00007ffd22940000 - 0x00007ffd229ab000 C:\Windows\System32\fwpuclnt.dll 0x00007ffd2a120000 - 0x00007ffd2a145000 C:\Windows\SYSTEM32\bcrypt.dll 0x0000000002a30000 - 0x0000000002a41000 C:\tibco\tibrv\8.4\bin\tibrvj.dll 0x0000000070a50000 - 0x0000000070b19000 C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.9307_none_88daf3492fb349de\MSVCR80.dll 0x0000000002a60000 - 0x0000000002a75000 C:\tibco\tibrv\8.4\bin\tibrvcmq.dll 0x000000001c040000 - 0x000000001c0ca000 C:\tibco\tibrv\8.4\bin\tibrv.dll 0x000000001c0d0000 - 0x000000001c0f2000 C:\tibco\tibrv\8.4\bin\tibrvcm.dll 0x000000001c120000 - 0x000000001c12d000 C:\tibco\tibrv\8.4\bin\tibrvft.dll 0x00007ffd2a150000 - 0x00007ffd2a180000 C:\Windows\SYSTEM32\SspiCli.dll 0x00007ffd244c0000 - 0x00007ffd24669000 C:\Windows\SYSTEM32\dbghelp.dll VM Arguments: java_command: ControllerDemo-0.0.1-SNAPSHOT.jar java_class_path (initial): ControllerDemo-0.0.1-SNAPSHOT.jar Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=C:\Program Files\Java\jdk1.8.0_121 CLASSPATH=C:\tibco\tibrv\8.4\lib\tibrvnative.jar;.;C:\Users\YaQingHe\AppData\Local\Temp\LREC93D.tmp\lib\dt.jar;C:\Users\YaQingHe\AppData\Local\Temp\LREC93D.tmp\lib\tools.jar; PATH=C:\app\YaQingHe\product\12.1.0\dbhome_1\bin;C:\tibco\tibrv\8.4\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;"C:\Users\YaQingHe\AppData\Local\Temp\LREC93D.tmp\bin;C:\Users\YaQingHe\AppData\Local\Temp\LREC93D.tmp\jre\bin;";C:\0\project\csot\apache-maven-3.5.0\bin;C:\0\project\csot\apache-activemq-5.15.0\bin;C:\Users\YaQingHe\AppData\Local\Microsoft\WindowsApps; USERNAME=YaQingHe OS=Windows_NT PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 142 Stepping 9, GenuineIntel --------------- S Y S T E M --------------- OS: Windows 10.0 , 64 bit Build 15063 (10.0.15063.296) CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 142 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx Memory: 4k page, physical 8223584k(2894684k free), swap 12024672k(1774324k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (25.121-b13) for windows-amd64 JRE (1.8.0_121-b13), built on Dec 12 2016 18:21:36 by "java_re" with MS VC++ 10.0 (VS2010) time: Fri Mar 02 15:49:06 2018 elapsed time: 15 seconds (0d 0h 0m 15s)
Shot in the dark answer since there is not much info: I had a similar problem, jvm crashed when receiving TIB-reply, after upgrading tib client stuff from 8.1.2 to 8.3+. What helped me was to use tibrvnative.jar instead of tibrvj.jar.
Could you provide additional info about external dependencies that you are using? Try to use compatible versions of dependencies.
Win dbg Dump OOM exception in IIS
Occasionally, we get an OutOfMemoryException in one of our IIS processes. I tried to analyze the dump but wasn't able to reach concrete conclusions. I also tried looking into MS hotfixes, found similar problems and resolutions, but not sure if its related or not: link Below is the output of the !analyze -v command in WinDbg: !analyze -v [...] CoInitialize failed 80010106 CoInitialize failed 80010106 CoInitialize failed 80010106 GetPageUrlData failed, server returned HTTP status 404 URL requested: http://watson.microsoft.com/StageOne/w3wp_exe/7_5_7601_17514/4ce7a5f8/unknown/0_0_0_0/bbbbbbb4/80000007/00000000.htm?Retriage=1 FAULTING_IP: +75d2faf02afdbf0 00000000 ?? ??? EXCEPTION_RECORD: ffffffff -- (.exr 0xffffffffffffffff) ExceptionAddress: 00000000 ExceptionCode: 80000007 (Wake debugger) ExceptionFlags: 00000000 NumberParameters: 0 BUGCHECK_STR: 80000007 PROCESS_NAME: w3wp.exe ERROR_CODE: (NTSTATUS) 0x80000007 - {Kernel Debugger Awakened} the system debugger was awakened by an interrupt. EXCEPTION_CODE: (HRESULT) 0x80000007 (2147483655) - Operation aborted MOD_LIST: *** ERROR: Could not build analysis XML NTGLOBALFLAG: 0 APPLICATION_VERIFIER_FLAGS: 0 MANAGED_STACK: !dumpstack -EE OS Thread Id: 0x2364 (0) Current frame: ChildEBP RetAddr Caller, Callee DERIVED_WAIT_CHAIN: Dl Eid Cid WaitType -- --- ------- -------------------------- 0 370.2364 Event WAIT_CHAIN_COMMAND: ~0s;k;; BLOCKING_THREAD: 00002364 DEFAULT_BUCKET_ID: APPLICATION_HANG_BlockedOn_EventHandle PRIMARY_PROBLEM_CLASS: APPLICATION_HANG_BlockedOn_EventHandle LAST_CONTROL_TRANSFER: from 758e149d to 778df8c1 FAULTING_THREAD: 00000000 STACK_TEXT: 002efb8c 758e149d 000001d4 00000000 00000000 ntdll!ZwWaitForSingleObject+0x15 002efbf8 75c71194 000001d4 ffffffff 00000000 KERNELBASE!WaitForSingleObjectEx+0x98 002efc10 75c71148 000001d4 ffffffff 00000000 kernel32!WaitForSingleObjectExImplementation+0x75 002efc24 7470765a 000001d4 ffffffff 747057c1 kernel32!WaitForSingleObject+0x12 002efc30 747057c1 00000000 74706f84 00a21320 w3wphost!WP_IPM::WaitForShutdown+0xb 002efc38 74706f84 00a21320 00a215d0 002efd58 w3wphost!W3WP_HOST::WaitForShutdown+0x11 002efc48 00a22bdb 002efc68 00a25708 00000001 w3wphost!AppHostInitialize+0x11e 002efd58 00a23584 0000000f 00702828 00703b48 w3wp!wmain+0x373 002efd9c 75c733aa fffde000 002efde8 778f9ed2 w3wp!_initterm_e+0x163 002efda8 778f9ed2 fffde000 71b16c75 00000000 kernel32!BaseThreadInitThunk+0xe 002efde8 778f9ea5 00a236b5 fffde000 ffffffff ntdll!__RtlUserThreadStart+0x70 002efe00 00000000 00a236b5 fffde000 00000000 ntdll!_RtlUserThreadStart+0x1b FOLLOWUP_IP: w3wphost!WP_IPM::WaitForShutdown+b 7470765a f60520d0707403 test byte ptr [w3wphost!g_dwDebugFlags (7470d020)],3 SYMBOL_STACK_INDEX: 4 SYMBOL_NAME: w3wphost!WP_IPM::WaitForShutdown+b FOLLOWUP_NAME: MachineOwner MODULE_NAME: w3wphost IMAGE_NAME: w3wphost.dll DEBUG_FLR_IMAGE_TIMESTAMP: 4ce7a5d0 STACK_COMMAND: ~0s ; kb BUCKET_ID: 80000007_w3wphost!WP_IPM::WaitForShutdown+b FAILURE_BUCKET_ID: APPLICATION_HANG_BlockedOn_EventHandle_80000007_w3wphost.dll!WP_IPM::WaitForShutdown WATSON_STAGEONE_URL: http://watson.microsoft.com/StageOne/w3wp_exe/7_5_7601_17514/4ce7a5f8/unknown/0_0_0_0/bbbbbbb4/80000007/00000000.htm?Retriage=1 Followup: MachineOwner Additional information as requested from comments: [0:000> !AnalyzeOOM ---------Heap 11--------- Managed OOM occured after GC #15967 (Requested to allocate 0 bytes) Reason: Low on memory during GC Detail: SOH: Failed to reserve memory (16777216 bytes) ---------Heap 20--------- Managed OOM occured after GC #15977 (Requested to allocate 0 bytes) Reason: Low on memory during GC Detail: SOH: Failed to reserve memory (16777216 bytes) ---------Heap 21--------- Managed OOM occured after GC #15979 (Requested to allocate 0 bytes) Reason: Low on memory during GC Detail: SOH: Failed to reserve memory (16777216 bytes) ---------Heap 22--------- Managed OOM occured after GC #15529 (Requested to allocate 0 bytes) Reason: Low on memory during GC Detail: SOH: Failed to reserve memory (16777216 bytes) ---------Heap 23--------- Managed OOM occured after GC #15975 (Requested to allocate 0 bytes) Reason: Low on memory during GC Detail: SOH: Failed to reserve memory (16777216 bytes) ---------Heap 25--------- Managed OOM occured after GC #15985 (Requested to allocate 0 bytes) Reason: Low on memory during GC Detail: SOH: Failed to reserve memory (16777216 bytes) ---------Heap 27--------- Managed OOM occured after GC #40008 (Requested to allocate 0 bytes) Reason: Low on memory during GC Detail: SOH: Failed to reserve memory (16777216 bytes) ---------Heap 30--------- Managed OOM occured after GC #40006 (Requested to allocate 0 bytes) Reason: Low on memory during GC Detail: SOH: Failed to reserve memory (16777216 bytes) 0:000> !vmstat TYPE MINIMUM MAXIMUM AVERAGE BLK COUNT TOTAL ~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~~~ ~~~~~ Free: Small 4K 64K 57K 4,651 266,932K Medium 68K 1,024K 288K 97 27,967K Large 1,088K 6,080K 2,305K 27 62,247K Summary 4K 6,080K 74K 4,775 357,150K Reserve: Small 4K 64K 12K 926 11,567K Medium 68K 1,020K 277K 390 108,263K Large 1,148K 16,376K 12,201K 190 2,318,211K Summary 4K 16,376K 1,618K 1,506 2,438,043K Commit: Small 4K 64K 10K 8,169 85,567K Medium 68K 1,024K 322K 552 178,023K Large 1,028K 23,300K 5,137K 221 1,135,447K Summary 4K 23,300K 156K 8,942 1,399,038K Private: Small 4K 64K 11K 5,939 65,578K Medium 68K 1,024K 311K 472 146,891K Large 1,028K 23,300K 9,725K 316 3,073,339K Summary 4K 23,300K 488K 6,727 3,285,811K Mapped: Small 4K 64K 11K 85 979K Medium 68K 1,004K 366K 12 4,399K Large 1,520K 2,888K 2,206K 4 8,824K Summary 4K 2,888K 140K 101 14,203K Image: Small 4K 64K 9K 3,071 30,575K Medium 68K 1,024K 294K 458 134,995K Large 1,032K 15,480K 4,082K 91 371,495K Summary 4K 15,480K 148K 3,620 537,064K][1] ############################# 0:000> !eeheap -gc Number of GC Heaps: 32 ------------------------------ Heap 0 (1a616d08) generation 0 starts at 0xa062179c generation 1 starts at 0xa0621000 generation 2 starts at 0x1ab91000 ephemeral segment allocation context: none segment begin allocated size 1ab90000 1ab91000 1adce1c8 0x23d1c8(2347464) a0620000 a0621000 a0867db8 0x246db8(2387384) Large object heap starts at 0x3ab91000 segment begin allocated size 3ab90000 3ab91000 3b343490 0x7b2490(8070288) Heap Size: Size: 0xc36410 (12805136) bytes. ------------------------------ Heap 1 (1a619970) generation 0 starts at 0xa965da00 generation 1 starts at 0xa9621000 generation 2 starts at 0x1bb91000 ephemeral segment allocation context: none segment begin allocated size 1bb90000 1bb91000 1be9bbd0 0x30abd0(3189712) a9620000 a9621000 a982dd14 0x20cd14(2149652) Large object heap starts at 0x3b391000 segment begin allocated size 3b390000 3b391000 3bae09f0 0x74f9f0(7666160) Heap Size: Size: 0xc672d4 (13005524) bytes. ------------------------------ Heap 2 (1a6215d8) generation 0 starts at 0xa762370c generation 1 starts at 0xa7621000 generation 2 starts at 0x1cb91000 ephemeral segment allocation context: none segment begin allocated size 1cb90000 1cb91000 1d0a4604 0x513604(5322244) a7620000 a7621000 a78a3a20 0x282a20(2632224) Large object heap starts at 0x3bb91000 segment begin allocated size 3bb90000 3bb91000 3c384cf8 0x7f3cf8(8338680) 736b0000 736b1000 73769790 0xb8790(755600) Heap Size: Size: 0x10424ac (17048748) bytes. ------------------------------ Heap 3 (1a624240) generation 0 starts at 0xb56226d0 generation 1 starts at 0xb5621000 generation 2 starts at 0x1db91000 ephemeral segment allocation context: none segment begin allocated size 1db90000 1db91000 1debd778 0x32c778(3327864) b5620000 b5621000 b56346dc 0x136dc(79580) Large object heap starts at 0x3c391000 segment begin allocated size 3c390000 3c391000 3c88b720 0x4fa720(5220128) Heap Size: Size: 0x83a574 (8627572) bytes. ------------------------------ Heap 4 (1a626ea8) generation 0 starts at 0x9762eb1c generation 1 starts at 0x97621000 generation 2 starts at 0x1eb91000 ephemeral segment allocation context: none segment begin allocated size 1eb90000 1eb91000 1ee6ae1c 0x2d9e1c(2989596) 97620000 97621000 97a87308 0x466308(4612872) Large object heap starts at 0x3cb91000 segment begin allocated size 3cb90000 3cb91000 3d36c7b8 0x7db7b8(8239032) f9e70000 f9e71000 f9e975a0 0x265a0(157088) Heap Size: Size: 0xf41e7c (15998588) bytes. ------------------------------ Heap 5 (1a639b10) generation 0 starts at 0x8f62107c generation 1 starts at 0x8f621000 generation 2 starts at 0x1fb91000 ephemeral segment allocation context: none segment begin allocated size 1fb90000 1fb91000 20b8500c 0xff400c(16728076) 8f620000 8f621000 8f777088 0x156088(1400968) Large object heap starts at 0x3d391000 segment begin allocated size 3d390000 3d391000 3d903cb0 0x572cb0(5713072) Heap Size: Size: 0x16bcd44 (23842116) bytes. ------------------------------ Heap 6 (1a63c778) generation 0 starts at 0xba6611e8 generation 1 starts at 0xba621000 generation 2 starts at 0x20b91000 ephemeral segment allocation context: none segment begin allocated size 20b90000 20b91000 20e66118 0x2d5118(2969880) ba620000 ba621000 ba7051f4 0xe41f4(934388) Large object heap starts at 0x3db91000 segment begin allocated size 3db90000 3db91000 3e348dd8 0x7b7dd8(8093144) Heap Size: Size: 0xb710e4 (11997412) bytes. ------------------------------ Heap 7 (1a63f3e0) generation 0 starts at 0xad621918 generation 1 starts at 0xad621000 generation 2 starts at 0x21b91000 ephemeral segment allocation context: none segment begin allocated size 21b90000 21b91000 21fe7dd0 0x456dd0(4550096) ad620000 ad621000 adad37e8 0x4b27e8(4925416) Large object heap starts at 0x3e391000 segment begin allocated size 3e390000 3e391000 3eaea868 0x759868(7706728) Heap Size: Size: 0x1062e20 (17182240) bytes. ------------------------------ Heap 8 (1a642048) generation 0 starts at 0xf5e724e0 generation 1 starts at 0xf5e71000 generation 2 starts at 0x22b91000 ephemeral segment allocation context: none segment begin allocated size 22b90000 22b91000 22ee2cc8 0x351cc8(3480776) f5e70000 f5e71000 f5eb04ec 0x3f4ec(259308) Large object heap starts at 0x3eb91000 segment begin allocated size 3eb90000 3eb91000 3f03b3c0 0x4aa3c0(4891584) Heap Size: Size: 0x83b574 (8631668) bytes. ------------------------------ Heap 9 (1a648cb0) generation 0 starts at 0x8d630bc4 generation 1 starts at 0x8d621000 generation 2 starts at 0x23b91000 ephemeral segment allocation context: none segment begin allocated size 23b90000 23b91000 23e4d69c 0x2bc69c(2868892) 8d620000 8d621000 8daf7fb4 0x4d6fb4(5074868) Large object heap starts at 0x3f391000 segment begin allocated size 3f390000 3f391000 3f991138 0x600138(6291768) Heap Size: Size: 0xd93788 (14235528) bytes. ------------------------------ Heap 10 (1a64b918) generation 0 starts at 0xa86261d0 generation 1 starts at 0xa8621000 generation 2 starts at 0x24b91000 ephemeral segment allocation context: none segment begin allocated size 24b90000 24b91000 250b5b3c 0x524b3c(5393212) a8620000 a8621000 a891ad34 0x2f9d34(3120436) Large object heap starts at 0x3fb91000 segment begin allocated size 3fb90000 3fb91000 3ff89810 0x3f8810(4163600) Heap Size: Size: 0xc17080 (12677248) bytes. ------------------------------ Heap 11 (1a64e580) generation 0 starts at 0x916238ec generation 1 starts at 0x91621000 generation 2 starts at 0x25b91000 ephemeral segment allocation context: none segment begin allocated size 25b90000 25b91000 25ea5d64 0x314d64(3231076) 91620000 91621000 91930198 0x30f198(3207576) Large object heap starts at 0x40391000 segment begin allocated size 40390000 40391000 40ac8f50 0x737f50(7569232) Heap Size: Size: 0xd5be4c (14007884) bytes. ------------------------------ Heap 12 (1a65b850) generation 0 starts at 0x7c52281c generation 1 starts at 0x7c521000 generation 2 starts at 0x26b91000 ephemeral segment allocation context: none segment begin allocated size 26b90000 26b91000 2702cad8 0x49bad8(4831960) 7c520000 7c521000 7c7b662c 0x29562c(2709036) Large object heap starts at 0x40b91000 segment begin allocated size 40b90000 40b91000 41378c38 0x7e7c38(8289336) e73d0000 e73d1000 e78cce00 0x4fbe00(5225984) Heap Size: Size: 0x1414b3c (21056316) bytes. ------------------------------ Heap 13 (1a65ef20) generation 0 starts at 0xf7e77370 generation 1 starts at 0xf7e71000 generation 2 starts at 0x27b91000 ephemeral segment allocation context: none segment begin allocated size 27b90000 27b91000 27ee43d4 0x3533d4(3486676) f7e70000 f7e71000 f828f6fc 0x41e6fc(4318972) Large object heap starts at 0x41391000 segment begin allocated size 41390000 41391000 41b8edf0 0x7fddf0(8379888) ebc80000 ebc81000 ec460740 0x7df740(8255296) 7e520000 7e521000 7e56dba8 0x4cba8(314280) Heap Size: Size: 0x179bba8 (24755112) bytes. ------------------------------ Heap 14 (1a661458) generation 0 starts at 0x9e65f268 generation 1 starts at 0x9e621000 generation 2 starts at 0x28b91000 ephemeral segment allocation context: none segment begin allocated size 28b90000 28b91000 28f1aacc 0x389acc(3709644) 9e620000 9e621000 9e96f57c 0x34e57c(3466620) Large object heap starts at 0x41b91000 segment begin allocated size 41b90000 41b91000 42268f58 0x6d7f58(7176024) Heap Size: Size: 0xdaffa0 (14352288) bytes. ------------------------------ Heap 15 (1a663990) generation 0 starts at 0x9faacc7c generation 1 starts at 0x9faa8ac4 generation 2 starts at 0x29b91000 ephemeral segment allocation context: none segment begin allocated size 29b90000 29b91000 29cde0e8 0x14d0e8(1364200) 9f620000 9f621000 9fd16c88 0x6f5c88(7298184) Large object heap starts at 0x42391000 segment begin allocated size 42390000 42391000 42adf6a0 0x74e6a0(7661216) Heap Size: Size: 0xf91410 (16323600) bytes. ------------------------------ Heap 16 (1a665ec8) generation 0 starts at 0xc362a47c generation 1 starts at 0xc3621000 generation 2 starts at 0x2ab91000 ephemeral segment allocation context: none segment begin allocated size 2ab90000 2ab91000 2afbc464 0x42b464(4371556) c3620000 c3621000 c3854488 0x233488(2307208) Large object heap starts at 0x42b91000 segment begin allocated size 42b90000 42b91000 42f635f8 0x3d25f8(4007416) Heap Size: Size: 0xa30ee4 (10686180) bytes. ------------------------------ Heap 17 (1a668418) generation 0 starts at 0x94622638 generation 1 starts at 0x94621000 generation 2 starts at 0x2bb91000 ephemeral segment allocation context: none segment begin allocated size 2bb90000 2bb91000 2bfd1374 0x440374(4457332) 94620000 94621000 948da24c 0x2b924c(2855500) Large object heap starts at 0x43391000 segment begin allocated size 43390000 43391000 43b7a280 0x7e9280(8295040) 67350000 67351000 6739db20 0x4cb20(314144) Heap Size: Size: 0xf2f360 (15922016) bytes. ------------------------------ Heap 18 (1a669d20) generation 0 starts at 0x9a621f68 generation 1 starts at 0x9a621000 generation 2 starts at 0x2cb91000 ephemeral segment allocation context: none segment begin allocated size 2cb90000 2cb91000 2ce5c30c 0x2cb30c(2929420) 9a620000 9a621000 9a6e597c 0xc497c(805244) Large object heap starts at 0x43b91000 segment begin allocated size 43b90000 43b91000 43f1f520 0x38e520(3728672) Heap Size: Size: 0x71e1a8 (7463336) bytes. ------------------------------ Heap 19 (1a66b628) generation 0 starts at 0x83641300 generation 1 starts at 0x83621000 generation 2 starts at 0x2db91000 ephemeral segment allocation context: none segment begin allocated size 2db90000 2db91000 2dfaecb8 0x41dcb8(4316344) 83620000 83621000 83855614 0x234614(2311700) Large object heap starts at 0x44391000 segment begin allocated size 44390000 44391000 44a37488 0x6a6488(6972552) Heap Size: Size: 0xcf8754 (13600596) bytes. ------------------------------ Heap 20 (1a66cf30) generation 0 starts at 0x8b621738 generation 1 starts at 0x8b621000 generation 2 starts at 0x2eb91000 ephemeral segment allocation context: none segment begin allocated size 2eb90000 2eb91000 2ef0c5e4 0x37b5e4(3651044) 8b620000 8b621000 8b94d484 0x32c484(3327108) Large object heap starts at 0x44b91000 segment begin allocated size 44b90000 44b91000 450100c0 0x47f0c0(4714688) Heap Size: Size: 0xb26b28 (11692840) bytes. ------------------------------ Heap 21 (1a66e838) generation 0 starts at 0xf31d3830 generation 1 starts at 0xf31d1000 generation 2 starts at 0x2fb91000 ephemeral segment allocation context: none segment begin allocated size 2fb90000 2fb91000 2fe8b854 0x2fa854(3123284) f31d0000 f31d1000 f35a9948 0x3d8948(4032840) Large object heap starts at 0x45391000 segment begin allocated size 45390000 45391000 458c3008 0x532008(5447688) Heap Size: Size: 0xc051a4 (12603812) bytes. ------------------------------ Heap 22 (1a670140) generation 0 starts at 0x9867de74 generation 1 starts at 0x98621000 generation 2 starts at 0x30b91000 ephemeral segment allocation context: none segment begin allocated size 30b90000 30b91000 3102bbdc 0x49abdc(4828124) 98620000 98621000 988edc84 0x2ccc84(2935940) Large object heap starts at 0x45b91000 segment begin allocated size 45b90000 45b91000 462adab8 0x71cab8(7457464) Heap Size: Size: 0xe84318 (15221528) bytes. ------------------------------ Heap 23 (1a671a48) generation 0 starts at 0xe8c810dc generation 1 starts at 0xe8c81000 generation 2 starts at 0x31b91000 ephemeral segment allocation context: none segment begin allocated size 31b90000 31b91000 31de8af0 0x257af0(2456304) e8c80000 e8c81000 e8f756f8 0x2f46f8(3098360) Large object heap starts at 0x46391000 segment begin allocated size 46390000 46391000 467d71b0 0x4461b0(4481456) Heap Size: Size: 0x992398 (10036120) bytes. ------------------------------ Heap 24 (1a673350) generation 0 starts at 0xa1621544 generation 1 starts at 0xa1621000 generation 2 starts at 0x32b91000 ephemeral segment allocation context: none segment begin allocated size 32b90000 32b91000 32f74f04 0x3e3f04(4079364) a1620000 a1621000 a1803858 0x1e2858(1976408) Large object heap starts at 0x46b91000 segment begin allocated size 46b90000 46b91000 4737fc08 0x7eec08(8317960) 67b90000 67b91000 67d11100 0x180100(1573120) Heap Size: Size: 0xf35464 (15946852) bytes. ------------------------------ Heap 25 (1a674c58) generation 0 starts at 0x8c6222b8 generation 1 starts at 0x8c621000 generation 2 starts at 0x33b91000 ephemeral segment allocation context: none segment begin allocated size 33b90000 33b91000 33edff20 0x34ef20(3469088) 8c620000 8c621000 8ca2c690 0x40b690(4241040) Large object heap starts at 0x47391000 segment begin allocated size 47390000 47391000 47a011a0 0x6701a0(6750624) Heap Size: Size: 0xdca750 (14460752) bytes. ------------------------------ Heap 26 (1a676560) generation 0 starts at 0x9b62150c generation 1 starts at 0x9b621000 generation 2 starts at 0x34b91000 ephemeral segment allocation context: none segment begin allocated size 34b90000 34b91000 34fa6200 0x415200(4280832) 9b620000 9b621000 9b8b531c 0x29431c(2704156) Large object heap starts at 0x47b91000 segment begin allocated size 47b90000 47b91000 48373ec0 0x7e2ec0(8269504) 7aa10000 7aa11000 7ab44168 0x133168(1257832) Heap Size: Size: 0xfbf544 (16512324) bytes. ------------------------------ Heap 27 (1a677e68) generation 0 starts at 0x92630b90 generation 1 starts at 0x92621000 generation 2 starts at 0x35b91000 ephemeral segment allocation context: none segment begin allocated size 35b90000 35b91000 361323f0 0x5a13f0(5903344) 92620000 92621000 929fcd4c 0x3dbd4c(4046156) Large object heap starts at 0x48391000 segment begin allocated size 48390000 48391000 48b76c48 0x7e5c48(8281160) f0680000 f0681000 f06f4570 0x73570(472432) Heap Size: Size: 0x11d62f4 (18703092) bytes. ------------------------------ Heap 28 (1a679770) generation 0 starts at 0xe1c610dc generation 1 starts at 0xe1c61000 generation 2 starts at 0x36b91000 ephemeral segment allocation context: none segment begin allocated size 36b90000 36b91000 37076c64 0x4e5c64(5135460) e1c60000 e1c61000 e1ed5044 0x274044(2572356) Large object heap starts at 0x48b91000 segment begin allocated size 48b90000 48b91000 4937c3a8 0x7eb3a8(8303528) f51d0000 f51d1000 f56afdf8 0x4dedf8(5107192) Heap Size: Size: 0x1423e48 (21118536) bytes. ------------------------------ Heap 29 (1a67b078) generation 0 starts at 0xa6621380 generation 1 starts at 0xa6621000 generation 2 starts at 0x37b91000 ephemeral segment allocation context: none segment begin allocated size 37b90000 37b91000 37ecffc0 0x33efc0(3403712) a6620000 a6621000 a6873190 0x252190(2433424) Large object heap starts at 0x49391000 segment begin allocated size 49390000 49391000 49a365c8 0x6a55c8(6968776) Heap Size: Size: 0xc36718 (12805912) bytes. ------------------------------ Heap 30 (1a67c980) generation 0 starts at 0xb36238ac generation 1 starts at 0xb3621000 generation 2 starts at 0x38b91000 ephemeral segment allocation context: none segment begin allocated size 38b90000 38b91000 38eda4b8 0x3494b8(3445944) b3620000 b3621000 b36978b8 0x768b8(485560) Large object heap starts at 0x49b91000 segment begin allocated size 49b90000 49b91000 49ffd360 0x46c360(4637536) Heap Size: Size: 0x82c0d0 (8569040) bytes. ------------------------------ Heap 31 (1a67e288) generation 0 starts at 0x79a11784 generation 1 starts at 0x79a11000 generation 2 starts at 0x39b91000 ephemeral segment allocation context: none segment begin allocated size 39b90000 39b91000 3a35caf0 0x7cbaf0(8174320) 79a10000 79a11000 79ec789c 0x4b689c(4941980) Large object heap starts at 0x4a391000 segment begin allocated size 4a390000 4a391000 4a94e330 0x5bd330(6017840) Heap Size: Size: 0x123f6bc (19134140) bytes. ------------------------------ GC Heap Size: Size: 0x1c1341b8 (471024056) bytes.
Based on the output from !vmstat, you are out of memory. There's some mild address space fragmentation, but you only have a total of ~350MB of free memory, so you're really running close to the address space limit. The largest free block is just 6MB, and the CLR allocates virtual memory segments that are at least 16MB in size. Your total GC heap size is just 470MB (see the last line from the !eeheap -gc output), which means you have other stuff in your process using up address space. Namely, you have >500MB of images (DLLs) and >3GB of memory classified as "Private". This can be a bunch of different things; for example, it can be unmanaged heap allocations. You can try to further zoom in on the space hog by running !heap -s -h 0 to see if you have large unmanaged heaps in your process. I suggest that once you have a direction (is it an unmanaged heap leak? something else?) to ask another question with your findings. From the information you posted so far, we can conclude it's likely unrelated to what the managed part of your application is doing. Do you have large unmanaged components in your application? There are techniques for analyzing unmanaged memory leaks, such as UMDH or ETW heap allocation tracing. One final comment: why are you running a 32-bit app on a system with 32 processors? Looks like a server system, and I bet you have more than 4GB of physical memory. If it's at all under your control, try making the move to 64-bit.