Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 571171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:28:45+00:00 2026-05-13T13:28:45+00:00

HI, i am recently in a project in linux written in C. This app

  • 0

HI, i am recently in a project in linux written in C.
This app has several processes and they share a block of shared memory…When the app run for about several hrs, a process collapsed without any footprints so it’s very diffficult to know what the problem was or where i can start to review the codes….
well, it could be memory overflown or pointer malused…but i dunno exactly…
Do you have any tools or any methods to detect the problems…
It will very appreciated if it get resolved. thanx for your advice…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T13:28:45+00:00Added an answer on May 13, 2026 at 1:28 pm

    Before you start the program, enable core dumps:

    ulimit -c unlimited
    

    (and make sure the working directory of the process is writeable by the process)

    After the process crashes, it should leave behind a core file, which you can then examine with gdb:

    gdb /some/bin/executable core
    

    Alternatively, you can run the process under gdb when you start it – gdb will wake up when the process crashes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've become very addicted to Project Euler recently and am trying to do this
recently I downloaded this open source project and I am trying to compile it.
I recently migrated my Qt project from Linux to Vista, and now I'm debugging
I have recently installed Ubuntu Linux on my machine. This machine is on pretty
Recently deployed a project into production and have run into the Invalid postback or
Recently, I'm trying to write a simple OS. This is a big project. when
Recently jrebel has started reloading all of the classes in our project when we
I'm new to RoR and started making a project recently. The project has public/stylesheets
I started a Rails project recently and decided to use RESTful controllers. I created
I got into a mini-argument with my boss recently regarding project failure. After three

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.