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

  • Home
  • SEARCH
  • 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 9137065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:02:43+00:00 2026-06-17T09:02:43+00:00

My application ran into a disk full error and somehow, as a result of

  • 0

My application ran into a disk full error and somehow, as a result of the disk being full, an unhandled exception was thrown resulting in the set_terminate() handler being invoked.

Normally, I would get some kind of stack trace in my log file so I could see what went wrong, however, in this case, because the disk was full, no stack trace was recorded and it is not clear that the program terminated due to lack of disk space.

Reading what I can from the last things written to the disk, it appears std::clog was being written to, which has been set up to go to disk (the one which got full).

I’m wondering if using operator<< to write to clog could result in an exception being thrown and if so what exception might have been thrown?

Additionally, I’m interested in ideas of how to improve my application such that if this condition recurs in the future, I might update my application to leave behind a better trail of what exactly went wrong so that I can know the disk was full and not some other shortcoming of the application.

However, the key issue is detection of the failure, without that, ideas of how to mitigate are of no use.

  • 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-06-17T09:02:44+00:00Added an answer on June 17, 2026 at 9:02 am

    In Linux, you can use filenames [in a special directory?] to create a trail of where you were – as files only use up “i-node space”, which there is usually plenty of.

    Another option is to create a large(ish) file as an “emergency log store” – if disk is full, then open your emergency log-store, and write to that file. Make it a few megabytes, and no one will notice on a modern disk, but it gives you plenty of space to dump the context of where you were.

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

Sidebar

Related Questions

While developer a client side application I ran into an error that I believe
I'm in the process of building a WPF application and ran into an error
I somehow ran into the issue when I was working on an application that
I just ran into a little error in my MVC application. Administrators can edit
Recently I ran into this error in my web application: java.lang.OutOfMemoryError: PermGen space It's
Doing my first SL4 MVVM RIA based application and i ran into the following
I ran into this dilemma when working on an ASP.net web application using Web
While creating an online shop application using play-1.2.4 ,I ran into some problems with
My application requires the .NET Framework version 3.5. I recently ran into a customer
I'm nearly finished with writing my first iOS application, but I ran into a

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.