aws / aws/amazon-q-developer-cli
Autocomplete popup throwing zsh (qterm)(78535) MallocStackLogging: can't turn off malloc stack logging because it was not enabled. error
- Lingua principale
- Rust
- Stelle
- 2k
- Fork
- 439
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Checks
- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again
### Operating system
macOS 15.3.1 (24D70)
### Expected behaviour
when I type a well-known command like `ssh` or `nano` the plugin tries to autocomplete.
### Actual behaviour
The autocomplete popup shows up and then throws this message onto the console.
~~Restarting Q.~~ <- scratch that, I thought the issue was fixed, but it's still there after Q Restart and Q Doctor. Looks like we are overlooking a bug here.
Here's my attempt at opening ssh config using nano:

message: `zsh (qterm)(73350) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.`
### Steps to reproduce
_No response_
### Environment
```yaml
[q-details]
version = "1.7.1"
hash = "7d766a2d0580db62fae5a4bc2e6eb63946d4d08e"
date = "2025-03-14T22:08:03.470338Z (2d ago)"
variant = "full"
[system-info]
os = "macOS 15.3.1 (24D70)"
chip = "Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz"
total-cores = 4
memory = "16.00 GB"
[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "iTerm 2"
install-method = "brew"
[env-vars]
PATH = "/usr/local/sbin:/Users/USER/.local/share/mise/installs/node/20.17.0/bin:/Users/USER/.local/share/mise/installs/python/3.12.5/bin:/Users/USER/.local/share/mise/installs/python/3.11.11/bin:/Users/USER/.local/share/mise/installs/python/3.10.16/bin:/Users/USER/.local/share/mise/installs/python/3.9.21/bin:/Users/USER/.local/share/mise/installs/python/3.8.20/bin:/usr/local/opt/openssl@3/bin:/usr/local/opt/node@18/bin:/usr/local/bin:/Users/USER/.bin:/Users/USER/.poetry/bin:/Users/USER/.sigv4Curl/bin:/Users/USER/.local/bin:/Users/USER/.pyenv/plugins/pyenv-virtualenv/shims:/Users/USER/.pyenv/shims:/Users/USER/.pyenv/bin:/Users/USER/.toolbox/bin/:/Users/USER/Library/Python/3.8/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/MacGPG2/bin:/Library/TeX/texbin:/Applications/iTerm.app/Contents/Resources/utilities:/Users/USER/.local/bin:/Users/USER/Library/Application Support/hatch/pythons/3.11/python/bin:/Users/USER/.toolbox/bin:/Users/USER/Library/Application Support/hatch/pythons/3.11/python/bin"
QTERM_SESSION_ID = "f876d7c28a164a16bc6878b9021207f3"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.7.0"
Q_USING_ZSH_AUTOSUGGESTIONS = "1"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.googlecode.iterm2"
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il completamento automatico per comandi come `ssh` o `nano` in zsh su macOS, utilizzando l’ambiente qterm segnalato. Confronta il comportamento prima e dopo `q doctor` e `q restart`; il lavoro è completato quando il popup del completamento automatico non stampa più l’errore MallocStackLogging nella console.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- macos, rust, zsh
- Ambito
- cli, operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100