Ubuntu 25.10: DrRacket internal error when opening toolbar
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- desktop, operating-systems
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.
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
- Dominant language
- Racket
- Stars
- 68
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
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.
More from racket/gui
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
Help-Wanted Package-Request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/winget-pkgs#438682 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
os:macos
Difficulty 2/5 1-3 hours Newbie friendliness 78/100