Ubuntu 25.10: DrRacket internal error when opening toolbar
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