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 3632404
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T00:31:18+00:00 2026-05-19T00:31:18+00:00

I have a very complex cross-platform application. Recently my team and I have been

  • 0

I have a very complex cross-platform application. Recently my team and I have been running stress tests and have encountered several crashes (and core dumps accompanying them). Some of these core dumps are very precise, and show me the exact location where the crash occurred with around 10 or more stack frames. Others sometimes have just one stack frame with ?? being the only symbol!

What I’d like to know is:

  1. Is there a way to increase the probability of core dumps pointing in the right direction?
  2. Why isn’t the number of stack frames reported consistent?
  3. Any best practice advise for managing core dumps.

Here’s how I compile the binaries (in release mode):

  1. Compiler and platform: g++ with glibc-2.3.2-95.50 on CentOS 3.6 x86_64 — This helps me maintain compatibility with older versions of Linux.
  2. All files are compiled with the -g flag.
  3. Debug symbols are stripped from the final binary and saved in a separate file.
  4. When I have a core dump, I use GDB with the executable which created the core, and the symbols file. GDB never complains that there’s a mismatch between the core/binary/symbols.

Yet I sometimes get core dumps with no symbols at all! It’s understandable that I’m linking against non-debug version of libstdc++ and libgcc, but it would be nice if at least the stack trace shows me where in my code did the faulty instruction call originate (although it may ultimately end in ??).

  • 1 1 Answer
  • 2 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-19T00:31:18+00:00Added an answer on May 19, 2026 at 12:31 am

    Others sometimes have just one stack frame with “??” being the only symbol!

    There can be many reasons for that, among others:

    • the stack frame was trashed (overwritten)
    • EBP/RBP (on x86/x64) is currently not holding any meaningful value — this can happen e.g. in units compiled with -fomit-frame-pointer or asm units that do so

    Note that the second point may occur simply by, for example, glibc being compiled in such a way. Having the debug info for such system libraries installed could mitigate this (something like what the glibc-debug{info,source} packages are on openSUSE).

    gdb has more control over the program than glibc, so glibc’s backtrace call would naturally be unable to print a backtrace if gdb cannot do so either.

    But shipping the source would be much easier 🙂

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

Sidebar

Related Questions

I have a very complex issue that Me and my coworker have been discussing
I have a very complex application (let's say enterprise application) deployed in Websphere 7
I have a very complex Flash application (think Photoshop in Flash). There is a
I have a very complex Backbone application with many views/Models and collections. at times
I have a very complex controller with a very complex set of views and
I have a very complex web app project I want to re-structure. Naturally, it
We have a very complex Oracle package here (over 4,100 lines of code) that's
I have a very complex Microsoft Access report. This report is run for multiple
I have a rather complex data source for my UITableView. I am very carefully
I have a very complex task - create a software that imports XMl files

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.