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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:55:30+00:00 2026-05-22T15:55:30+00:00

At shutdown (initiated by an UPS) my application crashes and a messagebox appears. The

  • 0

At shutdown (initiated by an UPS) my application crashes and a messagebox appears.

The text in the messagebox is “The exception unknown software exception (0x40000015) occurred in the application”.

I browsed ntstatus.h and found STATUS_FATAL_APP_EXIT? If it were right, why the message box say “unknown software exception”?

  • 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-22T15:55:31+00:00Added an answer on May 22, 2026 at 3:55 pm

    Yes, 0x40000015 means STATUS_FATAL_APP_EXIT. Your app causes an unhandled runtime exception during shutdown. Some runtime exceptions are actually handled if you don’t handle them yourself, and some of these default handlers call abort(). By default, abort calls:

    _call_reportfault(_CRT_DEBUGGER_ABORT, STATUS_FATAL_APP_EXIT, EXCEPTION_NONCONTINUABLE);
    

    abort is a generic termination – it doesn’t know what specific exception prompted it to be called, hence the generic ‘unknown software exception’ message.

    One path to abort is via the _purecall exception – calling an unimplemented pure virtual call.

    Gleaned from purevirt.c and abort.c in the Visual Studio\VC\crt\src directory.

    MSDN has documentation on overriding the default pure call exception handler.

    Here are some related questions:

    • Capturing R6025 pure virtual call
    • Where do "pure virtual function call" crashes come from?
    • Shutdown exception handling for Win32/C++
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to check in my application programmatically if user shutdown/restart/logoff the computer. I
I have a shutdown hook handler defined in a SINGLE threaded C application. int
At application shutdown I want to send a file to a server via Internet
I have a service application that on startup and shutdown logs an event log
I have a finalizer that seems to always fail during application shutdown. I think
What is the win32 function to check whether a shutdown is initiated or not?
How can I shutdown web application before each webtest?
How do I shutdown a WPF application after 'n' seconds of inactivity?
I'm trying to shutdown a MonoMac application by using Environment.Exit(0) . However, this call
Should Application.Current.Shutdown() NOT be used as a best practice to close a WPF application?

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.