Failed to write the main dump. Minidumps are not enabled by default in client versions of Windows in Eclipse

I get the following error when I try to run an Android application in Eclipse. But this happens with only one project in one workspace.

JRE version: 7.0_21-b11 Java VM: Java HotSpot(TM) Client VM (23.21-b01 mixed mode windows-x86 ) Failed to write core dump. Minidumps are not enabled by default on client versions of Windows An error report file with more information is saved as: D:\Projects\<AppName>\hs_err_pid5752.log If you would like to submit a bug report, please visit: http://bugreport.sun.com/bugreport/crash.jsp 

What I've done:

  • Reading the messages, I found out that this can be any memory error (hard disk sector dump error). This way I remove my application from my workspace to another.

  • Installed a new version of java, etc.

But they work.

Full error in the log file:

Fatal error detected in Java Runtime Environment:

Internal error (javaClasses.cpp: 129), pid = 5024, tid = 920 fatal error: invalid pre-loaded class layout

JRE Version: 7.0_21-b11 Java VM: HotSpot (TM) Client Virtual Machine (23.21-b01) Failed to write the main dump. Minidumps are not enabled by default in client versions of Windows

If you want to send a bug report, visit: http://bugreport.sun.com/bugreport/crash.jsp

--------------- THREAD ---------------

Current thread (0x0164b800): JavaThread "Unknown thread" [_thread_in_vm, id = 920, stack (0x01690000,0x016e0000)]

Stack: [0x01690000,0x016e0000], sp = 0x016df438, free space = 317k Native frames: (J = compiled Java code, j = interpreted, Vv = VM code, C = native code) V [jvm.dll + 0x170511] V [jvm.dll + 0x16a6b6] V [jvm.dll + 0x208b6] V [jvm.dll + 0x2e5dd] V [jvm.dll + 0x2e889] V [jvm.dll + 0x77bd1] V [jvm .dll + 0x77f8b] V [jvm.dll + 0x12a1b1] V [jvm.dll + 0x14ac6a] V [jvm.dll + 0xa9eef] C [javaw.exe + 0x13ca] C [javaw.exe + 0x1e3c] C [javaw.exe + 0xa5b1] C [javaw.exe + 0xa63b] C [kernel32.dll + 0x4ed6c] BaseThreadInitThunk + 0x12 C [ntdll.dll + 0x6377b] RtlInitializeExceptionChain + 0xef C [ntdll.dll + 0x6374e] RtlInitializeExceptionChain

--------------- PROCESS ---------------

Java Themes: (=> current thread)

Other topics:

=> 0x0164b800 (completed) JavaThread "Unknown thread" [_thread_in_vm, id = 920, stack (0x01690000,0x016e0000)]

VM state: not in safepoint (not fully initialized)

VM Mutex / Monitor currently owned by stream: None

GC Heap History (0 events): No events

Optimization Events (0 Events): No Events

Internal exceptions (0 events): No events

Events (10 events): Event: 0,010 load class 0x01543e08 done Event: 0,010 load class 0x01542238 done Event: 0,010 load class 0x01542210 Event: 0,010 load class 0x0157e1f8 Event: 0,010 load class 0x0157e1f8 event: 0,010 load class 0x0157e230 0x0157e230 done Event: 0,010 loading class 0x01573718 Event: 0,010 loading class 0x01573718 done Event: 0,010 loading class 0x01542210 done

Dynamic Libraries: 0x00060000 - 0x0008f000 C: \ Program Files \ Java \ jre7 \ bin \ javaw.exe 0x774e0000 - 0x7761c000 C: \ Windows \ SYSTEM32 \ ntdll.dll 0x75ee0000 - 0x75fb4000 C: \ Windows \ system32 \ kernel32.dll 0x75900000 - 0x7594a000 C: \ Windows \ system32 \ KERNELBASE.dll 0x77670000 - 0x77710000 C: \ Windows \ system32 \ ADVAPI32.dll 0x75e10000 - 0x75ebc000 C: \ Windows \ system32 \ msvcrt.dll 0x75c00000 - 0x75c19000 C: \ Windows \ SYSTEM32 \ sechost.dll 0x76ca - 0x76d41000 C: \ Windows \ system32 \ RPCRT4.dll 0x772f0000 - 0x773b9000 C: \ Windows \ system32 \ USER32.dll 0x75dc0000 - 0x75e0e000 C: \ Windows \ system32 \ GDI32.dll 0x77010000 - 0x7701a000 C: \ Windows \ system32 \ LPK. dll 0x76d50000 - 0x76ded000 C: \ Windows \ system32 \ USP10.dll 0x74580000 - 0x7471e000 C: \ Windows \ WinSxS \ x86_microsoft. .dll 0x77650000 - 0x7766f000 C: \ Windows \ system32 \ IMM32.DLL 0x75b30000 - 0x75bfc000 C: \ Windows \ system32 \ MSCTF.dll 0x6b790000 - 0x6b84e000 C: \ Program Files \ Java \ jre7 \ bin \ msvcr100.dll 0x5f390000 - 0x5f6df000 C: \ Program Files \ Java \ jre7 \ bin \ client \ jvm.dll 0x71520000 - 0x71527000 C: \ Windows \ system32 \ WSOCK32.dll 0x771c0000 - 0x771f5000 C: \ Windows \ system32 \ WS2_32.dll 0x75ec0000 - 0x75ec6000 C: \ Windows \ system32 \ NSI.dll 0x738a0000 - 0x738d2000 C: \ Windows \ system32 \ WINMM.dll 0x75ed0000 - 0x75ed5000 C: \ Windows \ system32 \ PSAPI.DLL 0x728f0000 - 0x728fc000 C: \ Program Files \ Java \ jre7 \ bin \ verify.dll 0x72790000 - 0x727b0000 C: \ Program Files \ Java \ jre7 \ bin \ java.dll 0x727b0000 - 0x727c3000 C: \ Program Files \ Java \ jre7 \ bin \ zip.dll 0x72580000 - 0x7266b000 C: \ Windows \ system32 \ dbghelp.dll

VM Arguments: jvm_args: -Dfile.encoding = Cp1252 -Xbootclasspath: D: \ android-sdk-windows \ platform \ android-8 \ android.jar; D: \ android-sdk-windows \ add-ons \ addon-google_apis-google_inc_-8 \ LIES \ maps.jar java_command: com.cipl.CommonCollection.Test Launch type: SUN_STANDARD

Environment variables: JAVA_HOME = C: \ Program Files \ Java \ jdk1.7.0_04 PATH = C: / Program Files / Java / jre7 / bin / client; C: / Program Files / Java / jre7 / bin; C: / Program Files / Java / jre7 / lib / i386; C: \ Program Files \ Common Files \ Microsoft Shared \ Windows Live, C: \ Windows \ system32; C: \ Windows; C: \ Windows \ System32 \ Wbem; C: \ Windows \ System32 \ WindowsPowerShell \ v1.0 \; C: \ Program Files \ Windows Live \ Shared; C: \ Program Files \ Common Files \ Ulead Systems \ MPEG; C: \ Program Files \ Common Files \ Lenovo; C: \ Program Files \ Intel \ Services \ IPT \; C: \ Program Files \ Symantec \ VIP Access Client \; C: \ SWTOOLS \ ReadyApps; C: \ Program Files \ TortoiseSVN \ bin; D: \ android-ndk-r8c; C: \ Program Files \ TortoiseHg \; D: \ android-sdk-windows \ platform- tools: D: \ android-sdk-windows \ tools; D: \ Bucketo \ Tools \ apache- ant -1.9.0-bin \ apache- ant -1.9.0 \ bin; C: \ Program Files \ Java \ jdk1.7.0_04 \ Bin; D: \ Android, SDK windows; C: \ Cygwin \ Bin; D: \ Bucketo \ Tools \ eclipse-SDK-4.2.1-win32_classic \ eclipse; USERNAME = akhilesh.tiwari OS = Windows_NT PROCESSOR_IDENTIFIER = x86 Family 6 Model 42 Step 7, GenuineIntel

--------------- SYSTEM ---------------

OS: Windows 7 Build 7601 Service Pack 1 (SP1)

CPU: total 4 (2 cores per processor, 2 threads per core). Family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, ht, tsc, tscinvbit

Memory: 4k page, physical 1935764k (131636k free), exchange 3871528k (1391032k free)

vm_info: Java HotSpot (TM) client virtual machine (23.21-b01) for the Windows-x86 JRE (1.7.0_21-b11), built on April 4, 2013 04:43:10 using "java_re" with unknown MS VC ++: 1600

time: Wed 19 Jun 19:17:55 2013 elapsed time: 0 seconds

+6
source share
5 answers

A simple change in workspace should do the trick.

+8
source
  • Close Eclipse.
  • Delete the .metadata strong> folder from the workspace directory.
  • Open Eclipse and import the projects from the workspace (do not copy them because they are already in it).
+14
source

How I fixed this problem in my project. Just remove the existing server from the Eclipse Server view. Then a new server was created with my existing project.

0
source

Try to run core dumps (you need to dump core dumps).

To enable a core dump

 unlimit -c unlimited 

* close eclipse first

0
source

One of the jvmargs was causing a problem for me when starting the ant berth job using jrebel args. Removing the jvmargs arguments and just running the mvn jetty:run -javaagent with -javaagent pointed to by jrebel.jar just worked for me.

0
source

Source: https://habr.com/ru/post/947659/


All Articles