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] Duktape crashes while you try to start it after interrupting it with ctrl+c. #2855

Open
1 task done
sergiotarxz opened this issue Nov 16, 2024 · 0 comments
Open
1 task done
Labels
Type: Bug Something isn't working

Comments

@sergiotarxz
Copy link

sergiotarxz commented Nov 16, 2024

Description / Steps to reproduce the issue

  • Have Linux
  • Have kconfig-frontend and xtensa toolchain installed and in path.
  • Have a ESP32 connected to /dev/ttyUSB0
  • git clone https://git.owlcode.tech/sergiotarxz/nuttx-reproduce-duktape-bug bug --recursive
  • cd bug
  • bash build.sh

This script should flash in your esp32 the faulty image, once it finishes connect to the serial port.

(Sorry if I am missing something out, I just started playing with nuttx yesterday, the OS is very cool, thanks for your work)

  • minicom -D /dev/ttyUSB0
  • duk js/hello.js
  • Press ctrl+c once it is printing
  • duk js/hello.js
  • The board crashes.

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Gentoo

NuttX Version

12.7

Issue Architecture

[Arch: arm64]

Issue Area

[Area: Interpreters]

Verification

  • I have verified before submitting the report.
@sergiotarxz sergiotarxz added the Type: Bug Something isn't working label Nov 16, 2024
@sergiotarxz sergiotarxz changed the title [BUG] Duktape crashes while you try to start it after having crashed. [BUG] Duktape crashes while you try to start it after interrupting it with ctrl+c. Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant