Skip to content

Terminal integration showing MallocStackLogging messages instead of autocomplete on macOS #2342

@philheb

Description

@philheb

Checks

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

<This will be visible to anyone. Do not include personal or sensitive information>

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions