unknown software exception

http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/c574e11c-e3df-46f7-948b-b0f4fb5ce56f

http://topic.csdn.net/t/20040609/10/3076169.html




http://stackoverflow.com/questions/5115611/in-windows-does-the-exception-unknown-software-exception-0x40000015-occurred

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"?

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. 



http://answers.microsoft.com/en-us/windows/forum/windows_xp-windows_programs/microsoft-visual-c-runtime-library-runtime-error/9fcd1abc-8c42-40e5-bd95-cd58c898d1f7

Question

Microsoft Visual C++ Runtime Library __Runtime Error!

Applies To: 

My computer shut down or I manually shut down.
I went to boot up my computer and as it was attempting to boot it came to the Windows XP screen and then this error message popped up:
Microsoft Visual C++ Runtime Library 
Runtime Error!
Program: C:\Program Files\Kodak\AIO\Center\EKDiscovery.exe
This application has requested the Runtime to terminate in an unusual way. Please contact the application's support team for more info.

Then I hit OK

Then another windows popped up that stated:
EKDiscovery.exe - application error

The exception unknown software exception (0x40000015) occurred in the applicaiton at location 0x00423B2C
Clickon OK to terminate the program
Click on Cancel to Debug the program

I clicked on OK and then my laptop just stayed on the Windows XP Screen and never booted up to the Startup screen.

I have tried everything -- I put in the green disk that dell had provided and ran the recovery console and did the chkdsk /r and /p and then exited but my computer still pops up the error messages and never boots back up to the start screen.

Need help to resolve this.























This morning VMWare web interface didn't work when I fired up my machine. After some investigation I find the following in the event log:

Faulting application name: vmware-hostd.exe, version: 0.0.0.0, time stamp: 0x4ade2d25
Faulting module name: MSVCR80.dll, version: 8.0.50727.5592, time stamp: 0x4d2be7f2
Exception code: 0x40000015
Fault offset: 0x000046b4
Faulting process id: 0x17f4
Faulting application start time: 0x01cc09cb0c92dbd3
Faulting application path: C:\Program Files (x86)\VMware\VMware Server\vmware-hostd.exe
Faulting module path: C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.5592_none_d09196c24426e2d4\MSVCR80.dll
Report Id: 4d3cc4dc-75be-11e0-8009-5c260a0e99b4

When the machine starts up the VMWare Host Agent service is not started even though its startup type is set to Automatic. If I start it the VMWare web interface does not work. If I restart the web interface then the VMWare Host Agent immediately crashes.

Any ideas?

EDIT: I already tried downloading and installing both the x86 and x64 versions of the Visual C++ 2005 redistributable. My system is Windows Server 2008 R2. I also tried un- and then re-installing VMWare Server 2, which should have taken care of the "datastores.xml" error that's all over google.

EDIT2: I found the following in the hostd log file:

[2011-05-03 20:41:10.959 'App' 1212 info] Trying vimsvc
[2011-05-03 20:41:10.970 'Vimsvc' 1212 info] Initializing vimsvc plugin
[2011-05-03 20:41:10.978 'Libs' 1212 info] [ADS] Failed to get host ADS object in ACE initialization (0x80070005)
[2011-05-03 20:41:10.978 'Libs' 1212 warning] Failed to initialize active directory
[2011-05-03 20:41:10.978 'App' 1212 error] Failed to initialize Active Directory services
[2011-05-03 20:41:10.979 'App' 1212 panic] error: Not initialized
[2011-05-03 20:41:10.979 'App' 1212 panic] backtrace:

This made me think the problem may be that this is on my laptop, and since I work at a client site I had not connected to my company's network in quite some time. So tonight I connected via VPN and restarted the service.... and now it works. I can't say for certain that was the problem but it seems possible.

link | improve this question

44% accept rate
 
feedback

2 Answers

up vote 2 down vote accepted

Great solution is provided on VMWare forums by "dramatik2":http://communities.vmware.com/message/1425952#1425952


Question by "dramatik2":

Am receiving the following error on all our VMWare Server systems this morning. I'm assuming its related to Microsoft Updates since its Wednesday today. Anyone else experiencing problems?

VMWare Host Agent Service stops working shortly after it is started.

The following error message is logged in the event logs:

  • Log Name: Application
  • Source: Application Error
  • Date: 11/25/2009 7:52:28 AM
  • Event ID: 1000
  • Task Category: (100)
  • Level: Error
  • Keywords: Classic
  • User: N/A
  • Computer: *
  • Description:
  • Faulting application vmware-hostd.exe, version 0.0.0.0, time stamp 0x49cc4272, faulting module MSVCR80.dll, version 8.0.50727.4016, time stamp 0x49cc5361, exception code 0x40000015, fault offset 0x000046b4, process id 0x1230, application start time 0x01ca6de724a24d6a. Event Xml:

Answer by "dramatik2":

Resolution:

Ran the following directly from the commandline:

"C:\Program Files (x86)\VMware\VMware Server\vmware-hostd.exe" -u "C:\ProgramData\VMware\VMware Server\hostd\config.xml"

Noticed that it was failing on authorizing a Domain User Account.

Edited the following file removing any lines referring to the offending Domain User Account:

C:\ProgramData\VMware\VMware Server\hostd\authorization.xml

Restarted the service - it worked!

Cause:

The Domain Controllers (AD/DNS) on our network are all virtual. Its a catch 22 situation. The Domain Controllers won't start before VMWare Server can authenticate against them.

Suggestion: Make sure to have at least one Domain Controller running on a physical machine



### 关于异常代码 0x40000015 的原因及解决方案 #### 错误概述 错误代码 0x40000015 是一种常见的计算机错误,通常与编程相关。此错误表明在程序执行期间发生了异常情况,阻止了程序的正常运行[^1]。 #### 可能的原因 此类错误可能由多种因素引起: - **不兼容的软件版本**:如果使用的库文件或其他依赖项版本过旧或存在冲突,则可能导致该类错误。 - **内存管理问题**:应用程序未能正确分配或释放内存资源也可能引发这种类型的错误。 - **硬件故障**:某些情况下,硬件损坏特别是RAM模块出现问题也会造成类似的错误报告。 - **病毒或恶意软件感染**:这些有害程序可能会篡改系统文件从而触发未定义行为并最终抛出这样的异常信息。 #### 推荐的解决措施 针对上述提到的各种可能性,可以采取如下行动来尝试解决问题: - **更新所有必要的驱动器和应用至最新稳定版**;确保操作系统已安装最新的安全补丁和服务包。 - 对于开发人员来说,在编写代码时应严格遵循最佳实践指南,特别是在处理指针操作以及动态内存分配方面要格外小心谨慎。 - 使用可靠的防毒产品进行全面扫描清除潜在威胁,并定期维护以保持其有效性。 - 如果怀疑是物理层面出了状况的话,建议联系专业技术支持团队来进行更深入诊断测试。 ```bash # 更新系统及其组件到最新状态 sudo apt update && sudo apt upgrade -y ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值