间歇性终止

发布于 2024-07-04 10:27:59 字数 318 浏览 7 评论 0原文

有没有人遇到过并解决了程序在没有任何原因的情况下终止的问题? 我大约每 6 个月就会遇到这个问题,我可以通过让我(管理员)登录然后退出机器来停止它。 此后,接下来的 6 个月一切都会恢复正常。 我在 Windows XP 和 Windows 2000 机器上看到过这种情况。

我查看了事件查看器并监控了 API 调用,但没有看到任何异常情况。

更新:在 Windows 2000 计算机上,加载项目时 Visual Basic 6 将终止。 在 Windows XP 计算机上,IIS 停止工作,直到我登录然后退出。

更新:重新启动机器不起作用。

Has anyone had and solved a problem where programs would terminate without any indication of why? I encounter this problem about every 6 months and I can get it to stop by having me (the administrator) log-in then out of the machine. After this things are back to normal for the next 6 months. I've seen this on Windows XP and Windows 2000 machines.

I've looked in the Event Viewer and monitored API calls and I cannot see anything out of the ordinary.

UPDATE: On the Windows 2000 machine, Visual Basic 6 would terminate when loading a project. On the Windows XP machine, IIS stopped working until I logged in then out.

UPDATE: Restarting the machine doesn't work.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

泅渡 2024-07-11 10:27:59

也许不是你登录就能解决的,而是用户注销就能解决的。 这可能是内存泄漏,注销会关闭进程,导致 Windows 回收内存。 我假设程序指示多个应用程序,因此可能是导致问题的共享 dll。 这些程序有什么相似之处吗? .Net、VB6、Office等等,还是电脑上的一切? 您也许可以将范围缩小到共享库。

在 6 个月的“无错误”时间内,系统是否始终处于开启状态并登录? 如果是这种情况,您可以建议用户定期重新启动(也许每周一次),以回收泄漏的内存或未正确关闭的挂起程序占用的内存。

Perhaps it's not solved by you logging in, but by the user logging out. It could be a memory leak and logging out closes the process, causing windows to reclaim the memory. I assume programs indicated multiple applications, so it could be a shared dll that's causing the problem. Is there any kind of similarities in the programs? .Net, VB6, Office, and so on, or is it everything on the computer? You may be able to narrow it down to shared libraries.

During the 6 month "no error" time frame, is the system always on and logged in? If that's the case, you may suggest the user periodically reboot, perhaps once a week, in order to reclaim leaked memory, or memory claimed by hanging programs that didn't close properly.

☆獨立☆ 2024-07-11 10:27:59

您需要将此问题提交给软件开发人员。

You need to take this issue to the software developer.

叫思念不要吵 2024-07-11 10:27:59

您提供的详细信息越多,您就越有可能得到答案:解释到底是什么程序正在“终止”。 终止通常是由内部未处理的错误引起的,并且并非所有程序都会检查它们并在退出之前记录它们。 不过我认为您可以安装 Dr Watson,当崩溃发生时,它至少会给你一个堆栈跟踪。

The more details you provide the more likely it will be that you will get an answer: explain what exact program was 'terminating'. A termination is usually caused by an internal unhandled error, and not all programs check for them, and log them before quitting. However I think you can install Dr Watson, and it will give you at least a stack trace when a crash happens.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文