Ubuntu 25.10: DrRacket internal error when opening toolbar
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 68
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the error by opening the DrRacket toolbar on Ubuntu 25.10 and inspect the stack-trace locations in gui-lib/mred/private/lock.rkt and drracket-core-lib/drracket/private/syncheck/gui.rkt. Determine why the toolbar path passes -8388608 to screen->client; done means opening the toolbar without the contract violation across the reported installation methods.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100