- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I still can hit below issue sometimes on SDK-3.7.0-7.
Basically, the device is useless after this issue happened.
If there is still no fix available for now, how can I detect this issue?
I'd like to make the device reboot if this issue happened.
Any callback or notification I can know this issue happened?
Below is the message for reference:
[15:15:28:663] 00:01:09.010928 GKI_create_task func=0x803f5e5 id=1 name=BTU stack=0x0 stackSize=6144␍␍␊
[15:15:28:669] 00:01:09.018928 GKI_create_task func=0x8040b05 id=0 name=HCISU stack=0x0 stackSize=4096␍␍␊
[15:15:28:776] 00:01:09.062392 GKI_exception(): Task State Table␍␍␊
[15:15:28:781] 00:01:09.000856 GKI_exception 65527 getbuf: Size is too big␍␍␊
[15:15:28:799] 00:01:09.007856 GKI_exception(): Task State Table␍␍␊
[15:15:28:799] 00:01:09.011856 GKI_exception 65535 Send - Buffer corrupted␍␍␊
[15:15:32:776] 00:01:13.062392 GKI_exception(): Task State Table␍␍␊
[15:15:32:781] 00:01:13.000856 GKI_exception 65527 getbuf: Size is too big␍␍␊
[15:15:32:789] 00:01:13.006856 GKI_exception(): Task State Table␍␍␊
[15:15:32:795] 00:01:13.010856 GKI_exception 65535 Send - Buffer corrupted␍␍␊
[15:15:36:775] 00:01:17.062392 GKI_exception(): Task State Table␍␍␊
[15:15:36:782] 00:01:17.000856 GKI_exception 65527 getbuf: Size is too big␍␍␊
[15:15:36:791] 00:01:17.006856 GKI_exception(): Task State Table␍␍␊
[15:15:36:791] 00:01:17.010856 GKI_exception 65535 Send - Buffer corrupted␍␍␊
[15:15:40:775] 00:01:21.062392 GKI_exception(): Task State Table␍␍␊
[15:15:40:779] 00:01:21.000856 GKI_exception 65527 getbuf: Size is too big␍␍␊
[15:15:40:792] 00:01:21.006856 GKI_exception(): Task State Table␍␍␊
[15:15:40:792] 00:01:21.010856 GKI_exception 65535 Send - Buffer corrupted␍␍␊
[15:15:44:774] 00:01:25.062392 GKI_exception(): Task State Table␍␍␊
[15:15:44:779] 00:01:25.000856 GKI_exception 65527 getbuf: Size is too big␍␍␊
[15:15:44:788] 00:01:25.006856 GKI_exception(): Task State Table␍␍␊
.....
- Labels:
-
SDK 3.x
-
Wifi+Bluetooth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Add rash
AFAICT, the GKI_exception() issue is too critical because the device no longer work.
You need to provide a method for application developers to detect the exception.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
axel.lin_1746341 wrote:
Hi,
I still can hit below issue sometimes on SDK-3.7.0-7.
Basically, the device is useless after this issue happened.
If there is still no fix available for now, how can I detect this issue?
I'd like to make the device reboot if this issue happened.
Any callback or notification I can know this issue happened?
Below is the message for reference:
[15:15:28:663] 00:01:09.010928 GKI_create_task func=0x803f5e5 id=1 name=BTU stack=0x0 stackSize=6144␍␍␊
[15:15:28:669] 00:01:09.018928 GKI_create_task func=0x8040b05 id=0 name=HCISU stack=0x0 stackSize=4096␍␍␊
[15:15:28:776] 00:01:09.062392 GKI_exception(): Task State Table␍␍␊
[15:15:28:781] 00:01:09.000856 GKI_exception 65527 getbuf: Size is too big␍␍␊
.....
Hi,
Can someone help on this issue?
It happens randomly in random devices.
The problem is when this happened, the device does not work anymore unless reboot.
I have no way to detect if this happen, in additional, the watchdog does not
work because the device is still alive but only BT no longer work.
I have a batch of devices going to release next Month, I'm worried about this issue.
BTW, do you consider to make the output more verbose?
I think below messages does not help too much to analyze the root cause.
[15:15:36:791] 00:01:17.010856 GKI_exception 65535 Send - Buffer corrupted␍␍␊
[15:15:40:775] 00:01:21.062392 GKI_exception(): Task State Table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I start getting some customers report about such issue.
This problem is annoy for us because the device becomes a dead board.
I tried increasing buffer size but it seems does not help, and I cannot debug it at all because it's binary released code.
Also it seems easier to reproduce it if enable STDIO output.
I'm wondering if the BLE library has STDIO debug print which causes problems? (well, just a guess.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's easy to get GKI_exception 65524 getbuf: out of buffers if the code to handle scan_result callback got block
for a small delay. This can happen if you have another thread doing tcp connect to server.
I have reported this issue for several weeks can someone help?
BTW, I'm wondering why running out of buffers is so fatal which make the BT part complete dead.
The buffer is likely to be available soon even, isn't it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I hit this issue again.
From the timestamp, you can see it happens immediately after GKI_create_task.
[18:18:42:513] 00:00:41.022248 GKI_create_task func=0x8040921 id=1 name=BTU stack=0x0 stackSize=6144␍␍␊
[18:18:42:513] 00:00:41.030248 GKI_create_task func=0x8041e41 id=0 name=HCISU stack=0x0 stackSize=4096␍␍␊
[18:18:42:621] 00:00:41.008176 GKI_exception(): Task State Table␍␍␊
[18:18:42:642] 00:00:41.013176 GKI_exception 65527 getbuf: Size is too big␍␍␊
[18:18:42:642] 00:00:41.018176 GKI_exception(): Task State Table␍␍␊
[18:18:42:642] 00:00:41.023176 GKI_exception 65535 Send - Buffer corrupted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cypress team,
Since you don't response on this issue.
Can you at least tell me how to detect if the exception happens so we have a chance to reboot the device as workaround?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi axel,
Maybe last chance are test string message in wiced_uart_transmit_bytes->platform_uart_send_message...
If debug uart and strstr "GKI_exception 65527 getbuf: Size is too big"...reboot.
Darius
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sqlsql_2244756 wrote:
Hi axel,
Maybe last chance are test string message in wiced_uart_transmit_bytes->platform_uart_send_message...
If debug uart and strstr "GKI_exception 65527 getbuf: Size is too big"...reboot.
Darius
That won't work because we have NOSTDIO in release build.