Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
assert_断言
(rt_object_get_type((rt_object_t)thread) == RT_Object_Class_Thread) assertion...
发布于 2019-05-20 17:08:12 浏览:6965
订阅该版
OTA测试下发固件突然出现 ``` (rt_object_get_type((rt_object_t)thread) == RT_Object_Class_Thread) assertion failed at function:rt_thread_suspend, line number:664 ``` LOG如下 ``` > [dbg] iotx_mc_cycle(1542): SUBACK [dbg] iotx_mc_handle_recv_SUBACK(1109): Return Value : 1 [dbg] iotx_mc_handle_recv_SUBACK(1110): Packet ID : 17 [dbg] iotx_mc_handle_recv_SUBACK(1111): Count : 1 [dbg] iotx_mc_handle_recv_SUBACK(1113): Granted QoS[00] : 1 [dbg] _iotx_mqtt_event_handle_sub(1069): packet_id = 17, event_type=3 [dbg] wrapper_mqtt_subscribe_sync(2973): node->ack_type=3 cnt=0 [dbg] wrapper_mqtt_subscribe_sync(2977): success!! [inf] dm_client_subscribe(86): Subscribe Result: 17 [inf] iotx_dm_subscribe(208): Devid 0 Sub Completed [inf] _iotx_linkkit_event_callback(243): Receive Message Type: 10 [inf] _iotx_linkkit_event_callback(245): Receive Message: {"devid":0} [dbg] _iotx_linkkit_event_callback(310): Current Devid: 0 user_initialized.82: Device Initialized [dbg] dm_fota_status_check(173): Fota Status Check [inf] _dm_fota_send_new_config_to_user(51): Send To User: {"version":"iotx_ver_2.0.0"} [dbg] dm_ipc_msg_insert(87): dm msg list size: 1, max size: 50 [inf] _iotx_linkkit_event_callback(243): Receive Message Type: 0 user_connected_event_handler.64: Cloud Connected [inf] _iotx_linkkit_event_callback(243): Receive Message Type: 42 [inf] _iotx_linkkit_event_callback(245): Receive Message: {"version":"iotx_ver_2.0.0"} [dbg] _iotx_linkkit_event_callback(708): Current Firmware Version: iotx_ver_2.0.0 user_fota_event_handler.191: New Firmware Version: iotx_ver_2.0.0 [dbg] httpclient_connect(417): http calling TCP or TLS connect HAL for [1/3] iteration LINUXSOCK 83 HAL_TCP_Establish() | establish tcp connection with server(host=180.163.44.3 port=80) LINUXSOCK 122 HAL_TCP_Establish() | success to establish tcp, fd=4 [dbg] httpclient_connect(426): rc = client->net.connect() = 0, success @ [1/3] iteration [dbg] _http_send_header(171): REQUEST (Length: 301 Bytes) > GET /ota/30041aa8c85fd3cc457bf5cf8425be6c/cjvw2x3tk00003b79pw15n61c.bin?Expires=1558429062&OSSAccessKeyId=cS8uRRy54RszYWna&Signature=t3q9WaDJoDjaKiLkEe3827KiUrI%3D HTTP/1.1 > Host: 180.163.44.3 > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > Accept-Encoding: gzip, deflate > (rt_object_get_type((rt_object_t)thread) == RT_Object_Class_Thread) assertion failed at function:rt_thread_suspend, line number:664 ```
查看更多
6
个回答
默认排序
按发布时间排序
flyboy
2019-05-21
Do my self();
是不是接收线程的栈给的小了,接收的数据大所以溢出了?
bernard
2020-06-28
这家伙很懒,什么也没写!
这个说的是,当要进行thread_suspend操作时,发现这个要操作的对象并不是一个正常、合法的线程。 所以,需要对这个对象进行调试了,看看它为什么会出现这个情况。加断点,或数据断点的方式来调试,是否是哪里修改了这个对象类型或者逻辑上是有问题的
ツxin
2024-04-02
这家伙很懒,什么也没写!
maybe在初始化之前使用了变量
rtthread_user
2019-09-17
这家伙很懒,什么也没写!
我也遇到同样的问题,这个问题解决了没有?
杰瑞鼠
2020-05-29
2025再接再励
我也遇到这个问题,这是什么问题,你门最终都是怎么解决的?
学长啊啊啊
2020-06-28
这家伙很懒,什么也没写!
同问!
hualongguang
2020-06-28
这家伙很懒,什么也没写!
我今天也遇到这个问题了,同问
goodboy
2022-02-16
这家伙很懒,什么也没写!
我在项目里面,经常是在rt_thread_resume里面触发这个断言。触发概率不高,触发随机
wenlong1221
2024-12-19
这家伙很懒,什么也没写!
我的也遇到这个问题,代码也反复检查了,也没发现有越界的地方,你们遇到这个问题最终都是怎么解决的
撰写答案
登录
注册新账号
关注者
0
被浏览
7k
关于作者
jankin
这家伙很懒,什么也没写!
提问
12
回答
19
被采纳
0
关注TA
发私信
相关问题
1
rt_object_init中报assertion failed错误?
2
串口中断读取信号量释放函数断言失败问题
3
请问在新建工程并且添加MAX30102的组件之后编译下载怎么为什么会报这种错呢
4
运行 tls_test 出现错误,这个是什么原因
5
使用ringbuffer时,自检到thread的type不匹配
6
webnet cgi 回调 出现assert
7
keil里面移植RT系统之后,上电直接assertation
8
使用max30102软件包时出现线程断言错误
9
进入到assert后,软看门狗仍在喂狗的问题
10
shall not be used in ISR
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
ART-Pi2移植CMSIS-DAP(基于CherryUSB协议栈)
2
RT-thred的stm32h723对应bsp包CubeMX添加其他外设报错
3
RT-Thread中的time溢出问题,时间戳溢出,解决方法
4
ART-PI使用env驱动ETH网卡,pc和板子可以ping通
5
SystemView线程名字不显示
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
DMA
USB
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
rt-smart
FAL
I2C_IIC
UART
ESP8266
cubemx
WIZnet_W5500
ota在线升级
PWM
BSP
flash
freemodbus
packages_软件包
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
编译报错
中断
Debug
rt_mq_消息队列_msg_queue
keil_MDK
ulog
SFUD
msh
C++_cpp
MicroPython
本月问答贡献
RTT_逍遥
9
个答案
2
次被采纳
xiaorui
3
个答案
2
次被采纳
winfeng
2
个答案
2
次被采纳
三世执戟
8
个答案
1
次被采纳
KunYi
8
个答案
1
次被采纳
本月文章贡献
catcatbing
2
篇文章
5
次点赞
swet123
1
篇文章
4
次点赞
lizimu
1
篇文章
4
次点赞
Days
1
篇文章
4
次点赞
YZRD
1
篇文章
2
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部