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

Open
#835 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### 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:

![Image](https://github.com/user-attachments/assets/90b9d194-021f-4e86-8f5f-b46c200bc174)

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"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.