Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: setting node to REPEATER mode results in endless reboots #2460

Closed
mverch67 opened this issue May 3, 2023 · 4 comments
Closed

[Bug]: setting node to REPEATER mode results in endless reboots #2460

mverch67 opened this issue May 3, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@mverch67
Copy link
Collaborator

mverch67 commented May 3, 2023

Category

Stability

Hardware

T-Beam

Firmware Version

2.1.10

Description

Setting the node to device.role REPEATER asserts after reboot and reboots again and again...

Relevant log output

INFO  | ??:??:?? 1 Initializing NodeDB
INFO  | ??:??:?? 1 Loading /prefs/db.proto
INFO  | ??:??:?? 1 Loaded saved devicestate version 20
INFO  | ??:??:?? 1 Loading /prefs/config.proto
INFO  | ??:??:?? 1 Loaded saved config version 20
INFO  | ??:??:?? 1 Loading /prefs/module.proto
INFO  | ??:??:?? 1 Loaded saved moduleConfig version 20
INFO  | ??:??:?? 1 Loading /prefs/channels.proto
INFO  | ??:??:?? 1 Loaded saved channelFile version 20
[  1391][E][vfs_api.cpp:105] open(): /littlefs/oem/oem.proto does not exist, no permits for creation
INFO  | ??:??:?? 1 No /oem/oem.proto preferences found
DEBUG | ??:??:?? 1 Number of Device Reboots: 1505
INFO  | ??:??:?? 1 Wanted region 3, using EU_868
DEBUG | ??:??:?? 1 region=3, NODENUM=0x55c607dc, dbsize=8
INFO  | ??:??:?? 1 Saving /prefs/db.proto

assert failed: Router::Router() Router.cpp:60 (!cryptLock)


Backtrace: 0x400845b5:0x3ffd8930 0x40097c0d:0x3ffd8950 0x4009e0e5:0x3ffd8970 0x400eab89:0x3ffd8aa0 0x400e4b01:0x3ffd8ac0 0x400e3d7f:0x3ffd8ae0 0x4013db46:0x3ffd8b50
@mverch67 mverch67 added the bug Something isn't working label May 3, 2023
@thebentern
Copy link
Contributor

thebentern commented May 3, 2023

Decoded backtrace:

0x400845b5: panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:408
0x40097c0d: esp_system_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:137
0x4009e0e5: __assert_func at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/assert.c:85
0x400eab89: std::__detail::_Node_iterator_base, true>::_M_incr() at /home/runner/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/bits/hashtable_policy.h:300
0x400eab89: std::__detail::_Node_iterator, false, true>::operator++(int) at /home/runner/.platformio/packages/toolchain-xtensa-esp32/xtensa-esp32-elf/include/c++/8.4.0/bits/hashtable_policy.h:363
0x400eab89: ReliableRouter::send(_meshtastic_MeshPacket*) at /home/runner/work/firmware/firmware/src/mesh/ReliableRouter.cpp:30
0x400e4b01: Channels::getPrimaryName() at /home/runner/work/firmware/firmware/src/mesh/Channels.cpp:311
0x400e3d7f: setup() at /home/runner/work/firmware/firmware/src/main.cpp:370
0x4013db46: uart_ll_get_txfifo_len at /home/runner/.platformio/packages/framework-arduinoespressif32/tools/sdk/esp32/include/hal/esp32/include/hal/uart_ll.h:321
0x4013db46: uart2_write_char at /home/runner/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-uart.c:499

caveman99 added a commit that referenced this issue May 4, 2023
@daniel-hofer
Copy link

Hi, tested firmware 2.1.10 with tbeam and heltec v3 in router mode and got attached logs
heltecv3.txt
I think the owner-name was reset to default too.

@tavdog
Copy link
Contributor

tavdog commented Sep 26, 2023

This just happened to me on the Station G1 with beta firmware v.2.1.23

@mverch67
Copy link
Collaborator Author

mverch67 commented Sep 26, 2023

This just happened to me on the Station G1 with beta firmware v.2.1.23

What you experienced is most likely fixed by #2710 in 2.2.1

To tell for sure I would need a device log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants