racket / racket/gui

eventspace internal error when copying drracket internal error dialog

Open
#22 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
68
Forks
82
PR merge metrics
No merged PRs in 30d

Description

I provoked this by:

  1. Starting with some out of date zos
  2. Running something in DrRacket that triggered an internal error due to the out of date zos
  3. Try to copy the error text from the DrRacket internal error dialog.

Here's the racket/gui error:

internal error: wrong eventspace for constrained event handling

/home/samth/sw/plt/extra-pkgs/gui-lib/gui-lib/mred/private/wx/common/freeze.rkt:9:0 internal-error
/home/samth/sw/plt/extra-pkgs/gui-lib/gui-lib/mred/private/wx/common/freeze.rkt:36:0 constrained-reply6

And here's the previous DrRacket error:

/home/samth/sw/plt/racket/share/pkgs/s3-sync/compiled/info_rkt.zo::1: read (compiled): wrong version for compiled code
  compiled version: 6.3.0.3
  expected version: 6.3.0.4
  context...:
   standard-module-name-resolver
   /home/samth/sw/plt/racket/collects/setup/getinfo.rkt:32:0: get-info/full
   /home/samth/sw/plt/racket/collects/racket/contract/private/arrow-val-first.rkt:325:3
   /home/samth/sw/plt/pkgs/racket-index/setup/xref.rkt:29:3: for-loop
   /home/samth/sw/plt/pkgs/racket-index/setup/xref.rkt:23:0: get-dests
   /home/samth/sw/plt/pkgs/racket-index/setup/xref.rkt:19:0: get-rendered-doc-directories
   /home/samth/sw/plt/extra-pkgs/drracket/drracket/drracket/private/syncheck/blueboxes-gui.rkt:671:2: fetch
   /home/samth/sw/plt/extra-pkgs/drracket/drracket/drracket/private/syncheck/blueboxes-gui.rkt:670:0: get-blueboxes-cache
   /home/samth/sw/plt/extra-pkgs/drracket/drracket/drracket/private/syncheck/blueboxes-gui.rkt:444:4: compute-tag+rng method in ...ck/blueboxes-gui.rkt:173:2
   /home/samth/sw/plt/extra-pkgs/gui-lib/gui-lib/framework/private/coroutine.rkt:47:20
   /home/samth/sw/plt/extra-pkgs/gui-lib/gui-lib/framework/private/coroutine.rkt:56:0: coroutine-run
   /home/samth/sw/plt/racket/collects/racket/contract/private/arrow-val-first.rkt:303:18
   /home/samth/sw/plt/extra-pkgs/drracket/drracket/drracket/private/syncheck/blueboxes-gui.rkt:410:4: update-the-strs method in ...ck/blueboxes-gui.rkt:173:2
   /home/samth/sw/plt/extra-pkgs/gui-lib/gui-lib/framework/private/logging-timer.rkt:41:0: log-timeline/proc
   /home/samth/sw/plt/extra-pkgs/gui-lib/gui-lib/mred/private/wx/common/timer.rkt:34:38
   /home/samth/sw/plt/extra-pkgs/gui-lib/gui-lib/mred/private/wx/common/queue.rkt:454:6
   ...

Contributor guide

Open the contributing guide

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

Reproduce the failure by copying text from the DrRacket internal error dialog after the out-of-date compiled-code error. Start with gui-lib/mred/private/wx/common/freeze.rkt, then trace the DrRacket path in drracket/private/syncheck/blueboxes-gui.rkt and the related coroutine and timer files named in the stack trace. Done means copying the error text no longer triggers the wrong-eventspace error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.