Skip to content

Fatal fault when openthread commissioner starts #12455

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

Closed
arun-kmr opened this issue Jan 13, 2019 · 3 comments
Closed

Fatal fault when openthread commissioner starts #12455

arun-kmr opened this issue Jan 13, 2019 · 3 comments
Assignees
Labels
area: Networking area: OpenThread bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@arun-kmr
Copy link

arun-kmr commented Jan 13, 2019

Describe the bug
Openthread commands works well. But we run ot commissioner start command on uart, it throws fatal fault.

To Reproduce
Steps to reproduce the behavior:

  1. mkdir build && cd build
  2. cmake -GNinja -DBOARD=nrf52840_pca10056 -DOVERLAY_CONFIG=overlay-ot.conf ..
  3. ninja

Expected behavior
It should start commissioner.

Impact
Device can't be commissioned.

Screenshots or console output
screenshot_ot_commissioner_error

Environment:
OS: Linux
Toolchain: Zephyr-sdk
Commit id : c885cb5

@arun-kmr arun-kmr added the bug The issue is a bug, or the PR is fixing a bug label Jan 13, 2019
@jukkar
Copy link
Member

jukkar commented Jan 15, 2019

@rlubos have you seen this issue before?

@rlubos
Copy link
Collaborator

rlubos commented Jan 15, 2019

@jukkar Nope, I haven't seen this before. I'll investigate once I'm done with current task.

@rlubos rlubos self-assigned this Jan 15, 2019
@galak galak added the priority: medium Medium impact/importance bug label Jan 15, 2019
@rlubos
Copy link
Collaborator

rlubos commented Jan 18, 2019

Apparently it's not exactly a bug, it's a stack overflow issue when commissioner is being enabled. I'll submit a PR that increse default stack size for OT when commisioner is on.

rlubos added a commit to rlubos/zephyr that referenced this issue Jan 18, 2019
OpenThread commissioner feature has extra stack requirements, hence
increase it in this configuration.

Fixes zephyrproject-rtos#12455

Signed-off-by: Robert Lubos <[email protected]>
rlubos added a commit to rlubos/zephyr that referenced this issue Jan 18, 2019
OpenThread commissioner shell command caused stack overflow on shell
thread, hence increase it for OpenThread samples.

Fixes zephyrproject-rtos#12455

Signed-off-by: Robert Lubos <[email protected]>
jukkar pushed a commit that referenced this issue Jan 18, 2019
OpenThread commissioner feature has extra stack requirements, hence
increase it in this configuration.

Fixes #12455

Signed-off-by: Robert Lubos <[email protected]>
jukkar pushed a commit that referenced this issue Jan 18, 2019
OpenThread commissioner shell command caused stack overflow on shell
thread, hence increase it for OpenThread samples.

Fixes #12455

Signed-off-by: Robert Lubos <[email protected]>
jakub-uC pushed a commit to jakub-uC/zephyr that referenced this issue Jan 20, 2019
OpenThread commissioner feature has extra stack requirements, hence
increase it in this configuration.

Fixes zephyrproject-rtos#12455

Signed-off-by: Robert Lubos <[email protected]>
jakub-uC pushed a commit to jakub-uC/zephyr that referenced this issue Jan 20, 2019
OpenThread commissioner shell command caused stack overflow on shell
thread, hence increase it for OpenThread samples.

Fixes zephyrproject-rtos#12455

Signed-off-by: Robert Lubos <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking area: OpenThread bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

4 participants