Skip to content

ddfc99b6 breaks cider--handle-stacktrace-response #3827

@aiba

Description

@aiba

Expected behavior

Exceptions thrown from cider-eval pop up an error buffer when an exception is thrown.

Actual behavior

An error buffer is not popped up, and the following gets printed to *Messages*:

error in process filter: Selecting deleted buffer

I tried to poke around the code and I think I narrowed it down to cider--handle-stacktrace-response. When this function gets called, source-buffer is bound to #<killed buffer>. I'm not sure how this buffer is getting killed but I don't recall killing it.

Reverting ddfc99b6 seems to fix it for me.

Steps to reproduce the problem

evaluate: (throw (ex-info "hello" {}))

Environment & Version information

CIDER 1.19.0-snapshot (package: 1.19.0-snapshot)
GNU Emacs 30.1 (build 2, aarch64-apple-darwin24.3.0, NS appkit-2575.40 Version 15.3.1 (Build 24D70)) of 2025-02-26
Clojure 1.12.0
java version "24" 2025-03-18
Java(TM) SE Runtime Environment (build 24+36-3646)
MacOS 15.5 arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions