Unread channel messages badge stays although all messages read. | Crash with backtrace. #366

Open
opened 2026-10-27 15:50:56 +01:00 by adam · 0 comments
Owner

Describe the bug

Today in the morning I saw that there were new channel messages in a channel.

I opened the channel, read the messages, and wrote two messages.

Then I went back to the channel overview. There were no channels which had a unread messages badge, but on the Msgs button I still see the icon for unread channel messages (envelope on the left side of the text).

I opened each channel and hit the Read button there, the envelope did not disappear.

I then connected the device tp USB and wanted to re-try marking all channels as read, to see if anything is on the USB serial log.

Then I got a crash with backtrace 0x40378502:0x3fcb32d0 0x40381ef9:0x3fcb32f0 0x40388b71:0x3fcb3310 0x4037a85b:0x3fcb3390 0x4037a981:0x3fcb33c0 0x4037aa50:0x3fcb33e0 0x421b50a2:0x3fcb3410 0x421b515b:0x3fcb3440 0x421ae4c0:0x3fcb3460 0x420cd72b:0x3fcb3480 0x42015be6:0x3fcb34b0 0x4201e1f6:0x3fcb35a0 0x420599bd:0x3fcb35c0 0x4205a67d:0x3fcb35e0 0x42089139:0x3fcb3600 and reboot.

USB serial log:

[...]13721" contacts3_bytes=38000 contacts_ram=250 channels2_bytes=544 channels_ram=8 scopes=11 nvs_bytes=3289 prefs_bytes=2624 advert_paths_bytes=16536
[BACKUP_OP] result op=create slot="71A3E1-15102026-113721" result=OK(0)
[BACKUP_LIST] total slots=2 dt=95ms


abort() was called at PC 0x4037a85b on core 1





Backtrace: 0x40378502:0x3fcb32d0 0x40381ef9:0x3fcb32f0 0x40388b71:0x3fcb3310 0x4037a85b:0x3fcb3390 0x4037a981:0x3fcb33c0 0x4037aa50:0x3fcb33e0 0x421b50a2:0x3fcb3410 0x421b515b:0x3fcb3440 0x421ae4c0:0x3fcb3460 0x420cd72b:0x3fcb3480 0x42015be6:0x3fcb34b0 0x4201e1f6:0x3fcb35a0 0x420599bd:0x3fcb35c0 0x4205a67d:0x3fcb35e0 0x42089139:0x3fcb3600









ELF file SHA256: 39eaa0911b2f2fc5



Rebooting...

ESP-ROM:esp32s3-20210327

Build:Mar 27 2021

rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)

Saved PC:0x421d5e9e

SPIWP:0xee

mode:DIO, clock div:1

load:0x3fce3808,len:0x4bc

load:0x403c9700,len:0xbd8

load:0x403cc700,len:0x2a0c

entry 0x403c98d0

[TDeckPlus] board.begin()

[TDeckPlus] PERIPH_PWR=10 USER_BTN=0
[TDeckPlus] I2C SDA=18 SCL=8
[TDeckPlus] GPS RX=43 TX=44
[TDeckPlus] LoRa NSS=9 DIO1=45 RST=17 BUSY=13
[BOOT] LittleFS begin ok=1 formatOnFail=1 total=3456KB used=72KB free=3384KB
[  2187][E][vfs_api.cpp:105] open(): /spiffs/state_v2/.write_probe does not exist, no permits for creation

[  3548][E][vfs_api.cpp:105] open(): /spiffs/identity/_main.id does not exist, no permits for creation

[IDCAT] removed empty legacy primary_state

[  4513][E][vfs_api.cpp:105] open(): /spiffs/mcterm_boot_src.bak does not exist, no permits for creation

[IDCAT] selected id_store=1 prefs_src=1
[  4706][E][vfs_api.cpp:105] open(): /spiffs/state_v2/contacts3 does not exist, no permits for creation

[  4717][E][vfs_api.cpp:105] open(): /spiffs/contacts3 does not exist, no permits for creation

[PROFILE] resolve done sd_primary=1 select_pending=0 catalog=1
[  4939][E][vfs_api.cpp:105] open(): /spiffs/state_v2/.write_probe does not exist, no permits for creation

[BOOT] SD-primary ready attempt=1
E (4505) gpio: gpio_install_isr_service(450): GPIO isr service already installed

[CONTACT_LOAD] source=/contacts3 total=250 primary=SD
[CHANNEL_LOAD] source=/channels2 total=8 primary=SD
[MESH_LOAD] contacts=250 channels=8 sd_primary=1 degraded=0
[SENSOR_DISCOVERY] Found ESP32
[  8718][E][vfs_api.cpp:105] open(): /spiffs/tiles does not exist, no permits for creation

[TILE] boot-quota ok used=43% cap=70%

Which device are you using

LilyGO T-Deck Plus

Which Firmware are you using

v0.9.14

Regards!

**Describe the bug** Today in the morning I saw that there were new channel messages in a channel. I opened the channel, read the messages, and wrote two messages. Then I went back to the channel overview. There were no channels which had a unread messages badge, but on the `Msgs` button I still see the icon for unread channel messages (envelope on the left side of the text). I opened each channel and hit the `Read` button there, the envelope did not disappear. I then connected the device tp USB and wanted to re-try marking all channels as read, to see if anything is on the USB serial log. Then I got a crash with backtrace `0x40378502:0x3fcb32d0 0x40381ef9:0x3fcb32f0 0x40388b71:0x3fcb3310 0x4037a85b:0x3fcb3390 0x4037a981:0x3fcb33c0 0x4037aa50:0x3fcb33e0 0x421b50a2:0x3fcb3410 0x421b515b:0x3fcb3440 0x421ae4c0:0x3fcb3460 0x420cd72b:0x3fcb3480 0x42015be6:0x3fcb34b0 0x4201e1f6:0x3fcb35a0 0x420599bd:0x3fcb35c0 0x4205a67d:0x3fcb35e0 0x42089139:0x3fcb3600` and reboot. USB serial log: ``` [...]13721" contacts3_bytes=38000 contacts_ram=250 channels2_bytes=544 channels_ram=8 scopes=11 nvs_bytes=3289 prefs_bytes=2624 advert_paths_bytes=16536 [BACKUP_OP] result op=create slot="71A3E1-15102026-113721" result=OK(0) [BACKUP_LIST] total slots=2 dt=95ms abort() was called at PC 0x4037a85b on core 1 Backtrace: 0x40378502:0x3fcb32d0 0x40381ef9:0x3fcb32f0 0x40388b71:0x3fcb3310 0x4037a85b:0x3fcb3390 0x4037a981:0x3fcb33c0 0x4037aa50:0x3fcb33e0 0x421b50a2:0x3fcb3410 0x421b515b:0x3fcb3440 0x421ae4c0:0x3fcb3460 0x420cd72b:0x3fcb3480 0x42015be6:0x3fcb34b0 0x4201e1f6:0x3fcb35a0 0x420599bd:0x3fcb35c0 0x4205a67d:0x3fcb35e0 0x42089139:0x3fcb3600 ELF file SHA256: 39eaa0911b2f2fc5 Rebooting... ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) Saved PC:0x421d5e9e SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3808,len:0x4bc load:0x403c9700,len:0xbd8 load:0x403cc700,len:0x2a0c entry 0x403c98d0 [TDeckPlus] board.begin() [TDeckPlus] PERIPH_PWR=10 USER_BTN=0 [TDeckPlus] I2C SDA=18 SCL=8 [TDeckPlus] GPS RX=43 TX=44 [TDeckPlus] LoRa NSS=9 DIO1=45 RST=17 BUSY=13 [BOOT] LittleFS begin ok=1 formatOnFail=1 total=3456KB used=72KB free=3384KB [ 2187][E][vfs_api.cpp:105] open(): /spiffs/state_v2/.write_probe does not exist, no permits for creation [ 3548][E][vfs_api.cpp:105] open(): /spiffs/identity/_main.id does not exist, no permits for creation [IDCAT] removed empty legacy primary_state [ 4513][E][vfs_api.cpp:105] open(): /spiffs/mcterm_boot_src.bak does not exist, no permits for creation [IDCAT] selected id_store=1 prefs_src=1 [ 4706][E][vfs_api.cpp:105] open(): /spiffs/state_v2/contacts3 does not exist, no permits for creation [ 4717][E][vfs_api.cpp:105] open(): /spiffs/contacts3 does not exist, no permits for creation [PROFILE] resolve done sd_primary=1 select_pending=0 catalog=1 [ 4939][E][vfs_api.cpp:105] open(): /spiffs/state_v2/.write_probe does not exist, no permits for creation [BOOT] SD-primary ready attempt=1 E (4505) gpio: gpio_install_isr_service(450): GPIO isr service already installed [CONTACT_LOAD] source=/contacts3 total=250 primary=SD [CHANNEL_LOAD] source=/channels2 total=8 primary=SD [MESH_LOAD] contacts=250 channels=8 sd_primary=1 degraded=0 [SENSOR_DISCOVERY] Found ESP32 [ 8718][E][vfs_api.cpp:105] open(): /spiffs/tiles does not exist, no permits for creation [TILE] boot-quota ok used=43% cap=70% ``` **Which device are you using** LilyGO T-Deck Plus **Which Firmware are you using** v0.9.14 Regards! <!-- github-sync-id:5881246263 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/meshcore#366