Skip to content

Ubuntu 25.10: DrRacket internal error when opening toolbar #360

Description

@maamx

As the title says, when I click on the DrRacket toolbar following internal error is displayed in a small window:

screen->client in window<%>: contract violation
  expected: (integer-in -1000000 1000000)
  given: -8388608
  context...:
   /snap/racket/current/usr/share/racket/pkgs/gui-lib/mred/private/lock.rkt:43:38
   /snap/racket/current/usr/share/racket/collects/racket/private/more-scheme.rkt:266:2: call-with-exception-handler
   /snap/racket/current/usr/share/racket/pkgs/drracket-core-lib/drracket/private/syncheck/gui.rkt:1462:12: syncheck:update-drawn-arrows method in ...ate/syncheck/gui.rkt:405:10
   /snap/racket/current/usr/share/racket/pkgs/drracket-core-lib/drracket/private/syncheck/gui.rkt:2181:8: on-activate method in unit-frame-mixin
   /snap/racket/current/usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:436:6
   /snap/racket/current/usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:487:32
   /snap/racket/current/usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:639:3

The error gets displayed regardles of installation method (.sh file, apt, snap, flatpak).
When I open drracket from terminal I get the info:

Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.


Following solutions I failed:

  • Deactivating background expansion in preferences
  • GTK_CSD=0 drracket or GTK_CSD="" drracket
  • GDK_BACKEND=x11 drracket

Activity

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