---
title: 开启watchdog模型运行时出现coredump，报错terminate called after throwing an instance of ‘std::runtime_error’-昇腾社区
description: 开启watchdog模型运行时报错terminate called after throwing an instance of ‘std::runtime_error’。
keywords: 开启,模型运行时出,报错,昇腾社区,问题现象描述,原因分析,解决措施,PyTorch
url: https://www.hiascend.com/document/caselibrary/detail/ptacase_0051
section: (其他)
---

# 开启watchdog模型运行时出现coredump，报错terminate called after throwing an instance of ‘std::runtime_error’-昇腾社区

URL: https://www.hiascend.com/document/caselibrary/detail/ptacase_0051
描述: 开启watchdog模型运行时报错terminate called after throwing an instance of ‘std::runtime_error’。
关键词: 开启,模型运行时出,报错,昇腾社区,问题现象描述,原因分析,解决措施,PyTorch

昇腾文档 [了解详情](https://www.hiascend.com/document)

故障案例 [了解详情](https://www.hiascend.com/document/caselibrary)

开启watchdog模型运行时出现coredump，报错terminate called after throwing an instance of ‘std::runtime_error’

开启watchdog模型运行时出现coredump，报错terminate called after throwing an instance of ‘std::runtime_error’

2025/03/18

545

问题信息

| 问题来源 | 产品大类 | 产品子类 | 关键字 |
| --- | --- | --- | ---|
| 官方 | 模型训练 | PyTorch | -- |

#### 问题现象描述

开启watchdog模型运行时报错terminate called after throwing an instance of ‘std::runtime_error’。

#### 原因分析

开启watchdog子线程，watchdog检测到异常，抛出异常，主线程coredump。

#### 解决措施

根据watchdog抛出的异常和plog日志分析问题根因。

本页内容

- 问题信息
- 问题现象描述
- 原因分析
- 解决措施
