racket / racket/drracket

recurring benign error about `surrogate%`

Open
#120 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
516
Forks
103
PR merge metrics
No merged PRs in 30d

Description

This error has been popping up occasionally at the bottom of my DrRacket window. I’m unsure what it wants from me, since it doesn’t seem to prevent any code from running. When I dismiss it, it goes away for a while, then resurfaces.

dynamic-require: name is not provided
  name: 'surrogate%
  module: #<resolved-module-path:"/path/to/git/racket/racket/share/pkgs/gui-lib/scribble/private/indentation.rkt">
  context...:
   /path/to/git/drracket/drracket/drracket/private/in-irl-namespace.rkt:52:0: get-definitions-text-surrogate/inside
   /path/to/git/drracket/drracket/drracket/private/insulated-read-language.rkt:156:7
   /path/to/git/racket/racket/collects/racket/contract/private/arrow-higher-order.rkt:342:33
   /path/to/git/drracket/drracket/drracket/private/module-language-tools.rkt:298:6: core672
   /path/to/git/racket/racket/share/pkgs/gui-lib/framework/private/logging-timer.rkt:41:0: log-timeline/proc
   /path/to/git/racket/racket/share/pkgs/gui-lib/mred/private/wx/common/timer.rkt:34:38
   /path/to/git/racket/racket/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:454:6
   /path/to/git/racket/racket/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:505:32
   /path/to/git/racket/racket/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:653:3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the recurring error in DrRacket and trace the reported entry point in drracket/private/in-irl-namespace.rkt, then inspect the related calls in insulated-read-language.rkt and module-language-tools.rkt. Use the stack trace to follow the interaction with gui-lib/scribble/private/indentation.rkt. Done means the benign surrogate% error no longer recurs during normal use, with a regression test if the relevant test location is identified.

Written by the indexing model from the issue text.

Assessment

Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.