HarmonyOS 鸿蒙Next Liteos 运行1小时后,一直打印“[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2”

发布于 1周前 作者 ionicwang 来自 鸿蒙OS

HarmonyOS 鸿蒙Next Liteos 运行1小时后,一直打印“[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2”

请问 怎么使用 工具分析频繁打印 

运行一段时间  一只打印 。求组分析 定位

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2

APP|at cmd receive send msg error!

1 回复

针对您提到的HarmonyOS鸿蒙Next LiteOS运行1小时后出现的错误信息“[osal_msg_queue_write_copy:35]:LOS_QueueWriteCopy failed! ret = 0x2000616.qID=0x2”,这通常表明在尝试向消息队列写入数据时发生了错误。错误码0x2000616可能指示特定的资源问题或配置错误。

  1. 检查队列配置:确认消息队列qID=0x2的配置,包括其大小、消息长度等是否满足实际应用需求。队列可能因消息过多或消息体过大而溢出。

  2. 资源使用监控:分析系统资源使用情况,特别是内存和CPU,看是否有资源泄漏或过载现象。

  3. 错误处理机制:检查代码中是否有适当的错误处理逻辑,确保在LOS_QueueWriteCopy失败时能够合理恢复或重启任务。

  4. 固件和库更新:确保您的LiteOS固件和相关库是最新的,有时软件更新能解决已知的问题。

如果问题依旧没法解决请联系官网客服,官网地址是:https://www.itying.com/category-93-b0.html。在那里,您可以获得更专业的技术支持和解决方案。

回到顶部