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

Calling debug.debug on Lua freezes the UI #1906

Closed
advantageous-overtake opened this issue Apr 8, 2023 · 0 comments
Closed

Calling debug.debug on Lua freezes the UI #1906

advantageous-overtake opened this issue Apr 8, 2023 · 0 comments
Assignees
Labels
bug Unexpected problem or unintended behavior
Milestone

Comments

@advantageous-overtake
Copy link
Contributor

advantageous-overtake commented Apr 8, 2023

Bug summary

Window becomes unresponsive after executing /lua eval debug.debug()

Steps to reproduce

1. run weechat -r "/lua eval debug.debug()"

Current behavior

UI becomes unresponsive, resulting in weechat needing to be killed externally.

https://asciinema.org/a/nKWvykOzguKHNDdHiL4C33wIY

Expected behavior

I don't see why Lua plugins should be able to access the debug library, since its always a source of additional issues.

Suggested solutions

PR #1907


  • WeeChat version: 3.8
  • OS, distribution and version: Arch Linux
  • Terminal: raw tty
  • Terminal multiplexer (screen/tmux/…/none): tmux
@advantageous-overtake advantageous-overtake added the bug Unexpected problem or unintended behavior label Apr 8, 2023
@flashcode flashcode self-assigned this Mar 13, 2024
@flashcode flashcode added this to the 4.3.0 milestone Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants