Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Dump happens

 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hello all,
iam doing menu driven program after clicking the menu options,
some times they work fine but some time core dump will happen that
result in the closing of application,what exactly is core dump,why it happens. and how to overcome. please help me,and also i have posted this question in protocol forum but did not get the reply , i desparately want the answer thats why posting here .please help me.
 
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
"Core dump" is the usual term on Unix (or Mac OS X, I suppose) for the information produced when a native program crashes. Such a crash might be due to things like Segmentation Fault (illegal memory access) or an unexpected Unix signal.

Given a bug-free JVM, it is not possible to write Pure Java that will cause a core dump. The worst that can happen is a Java Error or Exception, which may cause your Java program to end, if unhandled.

As you are getting a core dump, you are suffering from one of three things: -

  • A bug in the JVM. Which JVM are you using. Look at the core dump and see if there is anything in it for which you might search the Web, or the JVM vendor's bug database.
  • A bug in JNI native code of your own. Do you have any?
  • A bug in third-party JNI native code. Do you have any? A JDBC driver might have some, for instance.

  •  
    Sheriff
    Posts: 67671
    173
    Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Report post to moderator
    Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
     
    With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
      Bookmark Topic Watch Topic
    • New Topic