aws / aws/amazon-q-developer-cli

Terminal integration showing MallocStackLogging messages instead of autocomplete on macOS

Open
#2,342 1 comment 1 reaction 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.5.0 (24F74)

### Expected behaviour

When typing commands in the terminal, Amazon Q should provide intelligent autocomplete suggestions that appear inline with the command being typed. The terminal should function normally without any debug messages or warnings appearing in the output.

### Actual behaviour

Instead of autocomplete suggestions, the terminal displays multiple MallocStackLogging: can't turn off malloc stack logging because it was not enabled. messages from various zsh (qterm) processes. These messages appear randomly throughout the terminal session, interfering with normal command output and making the terminal experience unusable.

```
yarnzsh (qterm)(23593) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
zsh (qterm)(23628) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
ws-devzsh (qterm)(24061) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.

zsh (qterm)(24067) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
zsh (qterm)(24068) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
zsh (qterm)(24078) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
zsh (qterm)(24079) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
yarn run v1.22.19
$ turbo run start --filter=workspace
zsh (qterm)(24082) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
zsh (qterm)(24083) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
zsh (qterm)(24084) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
zsh (qterm)(24085) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
zsh (qterm)(24088) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
zsh (qterm)(24089) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
zsh (qterm)(24090) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
zsh (qterm)(24091) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
zsh (qterm)(24092) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.
```

### Steps to reproduce

_No response_

### Environment

```yaml

[q-details]
version = "1.12.5"
hash = "09124c0c588530efdbde310b5110c8603c42eae3"
date = "2025-07-14T19:33:57.417511Z (4d ago)"
variant = "full"

[system-info]
os = "macOS 15.5.0 (24F74)"
chip = "Apple M1 Pro"
total-cores = 8
memory = "16.00 GB"

[environment]
cwd = "/Users/USER/OE/v3-monorepo"
cli-path = "/Users/USER/OE/v3-monorepo"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "Cursor"
install-method = "brew"

[env-vars]
PATH = "/opt/homebrew/opt/libpq/bin:/Users/USER/.nvm/versions/node/v22.15.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/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:/Library/Apple/usr/bin:/Users/USER/Library/pnpm:/opt/homebrew/opt/libpq/bin:/Users/USER/.nvm/versions/node/v22.15.1/bin:/Users/USER/.rover/bin:/Users/USER/.local/bin"
QTERM_SESSION_ID = "88cfe6cf7318463d9f1686b117407738"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.12.5"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
ZDOTDIR = "/Users/USER"
__CFBundleIdentifier = "com.todesktop.230313mzl4w4u92"
```

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.