[bug] core dump upon startup on Linux
Describe the bug
$ ./Onlook-x86_64.AppImage
(process:477913): Gtk-ERROR **: 09:21:13.411: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
Trace/breakpoint trap (core dumped)
Haven't investigated in depth but here's the same issue in logseq. It doesn't reference the fixing commit explicitly but looking at the date I think it's this one.
Hi @bard, thanks for the detailed bug report! Could you provide some additional info:
- What Linux distribution are you using?
- Which version of the Onlook AppImage did you download?
- Can you share the output of
ldd ./Onlook-x86_64.AppImage?
I'm investigating this GTK conflict issue and any additional details would help.
Hi @Rish-it, I'm using Arch. I downloaded the AppImage from https://onlook.com/download, I don't see a version number, md5sum below:
$ md5sum Onlook-x86_64.AppImage
c006d34d6aa0656404f7a6314a5058a8 Onlook-x86_64.AppImage
$ ldd Onlook-x86_64.AppImage
not a dynamic executable
@bard Thanks for sharing the details this needs little more debugging. This is most likely the conflicting issue form GTK as you attached in the first shot
# Check for conflicting native modules
npm ls | grep -E "(gtk|cairo|pango|gdk)"
# Remove any old GTK-related native deps
npm uninstall any-gtk-related-packages
# Clean node_modules
rm -rf node_modules package-lock.json
npm install
I’d recommend getting rid of multiple GTK versions, and double-checking that your Electron version is compatible with the native modules you’re using. After that, try rebuilding.
Let me know how it goes — happy to help further if it’s still giving trouble!
@Rish-it in which directory are you suggesting to run those commands?
Version checks can be done in your default terminal
"Directory" as in folder. In which folder are you suggesting to run those commands? A clone of the onlook repository?
I've got the same issue with latest build
(process:16421): Gtk-ERROR **: 03:31:24.959: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
I'm assuming we should try to build from source and see if those happen there?
Edit:
When I ran it via bun dev, I get:
│ Error initializing Mixpanel: Error: The Mixpanel Client needs a Mixpanel token: `init(token)`
│ at Module.create_client (/home/eboye/build/desktop/node_modules/mixpanel/lib/mixpanel-node.js:38:15)
│ at _Analytics.enable (file:///home/eboye/build/desktop/apps/studio/dist-electron/main/index.js:596:32)
│ at _Analytics.restoreSettings (file:///home/eboye/build/desktop/apps/studio/dist-electron/main/index.js:575:12)
│ at new _Analytics (file:///home/eboye/build/desktop/apps/studio/dist-electron/main/index.js:558:10)
│ at _Analytics.getInstance (file:///home/eboye/build/desktop/apps/studio/dist-electron/main/index.js:562:29)
│ at file:///home/eboye/build/desktop/apps/studio/dist-electron/main/index.js:654:28
│ at ModuleJob.run (node:internal/modules/esm/module_job:271:25)
│ at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)
│ at async loadApplicationPackage (file:///home/eboye/build/desktop/node_modules/electron/dist/resources/default_app.asar/main.js:127:9)
│ at async file:///home/eboye/build/desktop/node_modules/electron/dist/resources/default_app.asar/main.js:240:9
│ No Mixpanel client, analytics will not be collected
│ Error initializing Supabase: Error: Supabase environment variables not set, running in offline mode
│ at getSupabaseClient (file:///home/eboye/build/desktop/apps/studio/dist-electron/main/index.js:660:13)
│ at file:///home/eboye/build/desktop/apps/studio/dist-electron/main/index.js:672:20
│ at ModuleJob.run (node:internal/modules/esm/module_job:271:25)
│ at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)
│ at async loadApplicationPackage (file:///home/eboye/build/desktop/node_modules/electron/dist/resources/default_app.asar/main.js:127:9)
│ at async file:///home/eboye/build/desktop/node_modules/electron/dist/resources/default_app.asar/main.js:240:9
│
│ (process:21745): Gtk-ERROR **: 03:41:44.642: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
npm ls | grep -E "(gtk|cairo|pango|gdk)"
gave nothing only npm error
npm error code ELSPROBLEMS
npm error invalid: @types/[email protected] /home/eboye/build/desktop/node_modules/@types/bun
npm error A complete log of this run can be found in: /home/eboye/.cache/npm/_logs/2025-06-16T01_44_57_442Z-debug-0.log
Where the full npm ls gives this:
@onlook/[email protected] /home/eboye/build/desktop
├─┬ @onlook/[email protected] -> ./packages/ai
│ ├── @ai-sdk/[email protected]
│ ├── @onlook/[email protected] deduped -> ./tooling/typescript
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ @onlook/[email protected] -> ./packages/foundation
│ ├── @babel/[email protected]
│ ├── @babel/[email protected]
│ ├── @babel/[email protected]
│ ├── @babel/[email protected]
│ ├── @onlook/[email protected] deduped -> ./tooling/typescript
│ ├── @types/[email protected]
│ ├── @types/[email protected]
│ ├── @types/[email protected] invalid: "latest" from packages/foundation
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ @onlook/[email protected] -> ./packages/git
│ ├── @onlook/[email protected] deduped -> ./tooling/typescript
│ ├── [email protected]
│ └── [email protected]
├─┬ @onlook/[email protected] -> ./packages/growth
│ ├── @babel/[email protected] deduped
│ ├── @babel/[email protected] deduped
│ ├── @babel/[email protected] deduped
│ ├── @babel/[email protected] deduped
│ └── @onlook/[email protected] deduped -> ./tooling/typescript
├─┬ @onlook/[email protected] -> ./packages/models
│ ├── @onlook/[email protected] deduped -> ./tooling/typescript
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected] deduped
│ └── [email protected]
├─┬ @onlook/[email protected] -> ./apps/studio
│ ├── @ai-sdk/[email protected] deduped
│ ├── @codemirror/[email protected]
│ ├── @codemirror/[email protected]
│ ├── @codemirror/[email protected]
│ ├── @codemirror/[email protected]
│ ├── @codemirror/[email protected]
│ ├── @codemirror/[email protected]
│ ├── @codemirror/[email protected]
│ ├── @codemirror/[email protected]
│ ├── @codemirror/[email protected]
│ ├── @codemirror/[email protected]
│ ├── @codemirror/[email protected]
│ ├── @codemirror/[email protected]
│ ├── @codemirror/[email protected]
│ ├── @emotion/[email protected]
│ ├── @emotion/[email protected]
│ ├── @eslint/[email protected]
│ ├── @fontsource-variable/[email protected]
│ ├── @onlook/[email protected] deduped -> ./packages/foundation
│ ├── @onlook/[email protected] deduped -> ./packages/supabase
│ ├── @onlook/[email protected] deduped -> ./tooling/typescript
│ ├── @onlook/[email protected] deduped -> ./packages/ui
│ ├── @parcel/[email protected]
│ ├── @playwright/[email protected]
│ ├── @shikijs/[email protected]
│ ├── @supabase/[email protected]
│ ├── @tailwindcss/[email protected]
│ ├── @trainloop/[email protected]
│ ├── @types/[email protected] deduped
│ ├── @types/[email protected]
│ ├── @types/[email protected]
│ ├── @types/[email protected]
│ ├── @types/[email protected]
│ ├── @types/[email protected]
│ ├── @types/[email protected]
│ ├── @types/[email protected]
│ ├── @types/[email protected]
│ ├── @types/[email protected]
│ ├── @types/[email protected]
│ ├── @types/[email protected]
│ ├── @types/[email protected]
│ ├── @types/[email protected]
│ ├── @uiw/[email protected]
│ ├── @vitejs/[email protected]
│ ├── @xterm/[email protected]
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected] deduped
├─┬ @onlook/[email protected] -> ./packages/supabase
│ ├── @onlook/[email protected] deduped -> ./tooling/typescript
│ ├── @supabase/[email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected]
│ └── [email protected] deduped
├─┬ @onlook/[email protected] -> ./packages/types
│ ├── @onlook/[email protected] deduped -> ./tooling/typescript
│ └── [email protected] deduped
├── @onlook/[email protected] -> ./tooling/typescript
├─┬ @onlook/[email protected] -> ./packages/ui
│ ├── @emotion/[email protected] deduped
│ ├── @emotion/[email protected] deduped
│ ├── @onlook/[email protected] deduped -> ./packages/foundation
│ ├── @onlook/[email protected] deduped -> ./tooling/typescript
│ ├── @onlook/[email protected] deduped -> ./packages/utility
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @radix-ui/[email protected]
│ ├── @types/[email protected]
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected] deduped
│ └── [email protected]
├─┬ @onlook/[email protected] -> ./packages/utility
│ ├── @onlook/[email protected] deduped -> ./tooling/typescript
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
└── [email protected]
This is related to the desktop version of Onlook https://github.com/onlook-dev/desktop Please open there.