java - I'd like to understand things behind the scenes: Failed to write core dump -


i going start eclipse terminal, ran error:

a fatal error has been detected java runtime environment: sigsegv (0xb) @ pc=0x00000038d6e08e83, pid=6018, tid=47814740359488 jre version: java(tm) se runtime environment (7.0_76-b13) (build 1.7.0_76-b13) java vm: java hotspot(tm) 64-bit server vm (24.76-b04 mixed mode linux-amd64 compressed oops) problematic frame: c  [ld-linux-x86-64.so.2+0x8e83] failed write core dump. core dumps have been disabled. enable core dumping, try "ulimit -c unlimited" before starting java again 

i'd understand why happens, not run command shows me.

i know there's question: failed write core dump. core dumps have been disabled. enable core dumping, try "ulimit -c unlimited" before starting java again nobody answered yet. please shed light on this, , time appreciated!

three questions:

  1. why core dumped?

  2. why core dumps disabled on machine

  3. what effects of ulimit -c unlimited are?

from information gave assume couldn't write core dump because have been big in terms of file size, @ least beyond ulimit limits. ld-linux shared library loader, job load other shared libraries. if type ulimit @ command line tell limits set

$ ulimit 

maybe 2 gigabytes , eclipse taking more that, possible 64 bit jvm.

the sigsegv eclipse or @ least jvm trying memory shouldn't. accessing protected memory. writing read memory or pointer falling off end of allocated buffer. same error if restart eclipse?

if core dump can use debugger such gdb analyze went wrong.

gdb <executable_path> <coredump_file_path> 

the core dump .pid file. tell more crash, maybe strcpy() has overflowed buffer.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -