Skip to content

Entering "'s" in the gnuplot buffer triggers a memory leak. #95

Description

@kickingvegas

Description

Entering 's in the gnuplot repl will trigger a memory leak.

Environment

GNU Emacs 30.1 (build 2, aarch64-apple-darwin24.3.0, NS appkit-2575.40 Version 15.3.1 (Build 24D70)) of 2025-02-27
Package: gnuplot 20250613.1223

Steps to Reproduce

  1. Run M-x run-gnuplot
  2. Enter test's in the repl prompt.

Expected Result

  1. Nothing happens.

Actual Result

  1. Emacs is wedged and an external force quit is required.

Activity

  1. minad commented on Jun 17, 2025

    @minad
    Member

    I can reproduce this. It seems that there is a bug in the Gnuplot context parser as can be seen when running the profiler, see gnuplot-context--tokenize. I can interrupt the computation however by pressing C-g. Patches and help would be welcome!

  2. locked and limited conversation to collaborators on May 17, 2026
  3. converted this issue into a discussion #96 on May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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