title: Failed to write core dump. Core dumps have been disabled
body: <p>I've been working on a vision project and using some C++ libraries in Java by JNI.</p>
  
  <p>OS: <em>Ubuntu 12.04</em></p>
  
  <p>In my project, I'm using <a href="http://www.boost.org/" rel="noreferrer">boost</a> library to generate random number. But sometimes I get an exception as follows:</p>
  
  <pre><code>Core dum140002367330048 also had an error]
  #
  # A fatal error has been detected by the Java Runtime Environment:    
  #
  #  SIGSEGV (0xb) at pc=0x00007f54f72a615a, pid=11979, tid=140002352568064
  #
  # JRE version: Java(TM) SE Runtime Environment (7.0_67-b01) (build 1.7.0_67-b01)
  # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
  # Problematic frame:
  # C  [libCBIR.so+0x3215a]  boost::random::mersenne_twister_engine&lt;unsigned int, 32ul, 624ul, 397ul, 31ul, 2567483615u, 11ul, 4294967295u, 7ul, 2636928640u, 15ul, 4022730752u, 18ul, 1812433253u&gt;::operator()()+0x3a
  #
  # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
  </code></pre>
  
  <p>When I searched for this on StackOverflow, I found some issues related to the IDE (Eclipse). The application is independent of the IDE. So, the solution must be independent from the IDE, too. Any ideas?</p>