Skip to content

Facing GTK Error while Starting Theia Electron #15981

@maheshrajrp

Description

@maheshrajrp

Bug Description:

I'm facing the following error when trying to start Theia Electron,
GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported exited with signal SIGTRAP

Steps to Reproduce:

  1. npm run start:electron

Logs:

maheshrajrp@mahesh-pc:~/projects/mahesh-theia-init$ npm run start:electron

> start:electron
> npm --prefix dist/electron start


> @mahesh/core@0.0.0 start
> theia start


(process:15586): Gtk-ERROR **: 23:32:09.836: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
/home/maheshrajrp/projects/mahesh-theia-init/node_modules/electron/dist/electron exited with signal SIGTRAP
maheshrajrp@mahesh-pc:~/projects/mahesh-theia-init$ 2025-07-10T23:32:10.447Z root INFO Backend DefaultMessagingService.initialize: 42.1 ms [Finished 0.555 s after backend start]
2025-07-10T23:32:10.449Z root INFO Backend Object.initialize: 40.3 ms [Finished 0.555 s after backend start]
2025-07-10T23:32:10.449Z root INFO Backend LocalizationServerImpl.initialize: 40.2 ms [Finished 0.555 s after backend start]
2025-07-10T23:32:10.457Z root INFO configured all backend app contributions
2025-07-10T23:32:10.457Z root INFO Backend WebsocketEndpoint.onStart: 1.6 ms [Finished 0.567 s after backend start]
2025-07-10T23:32:10.458Z root INFO Configuration directory URI: 'file:///home/maheshrajrp/.theia'
2025-07-10T23:32:10.462Z root INFO Theia app listening on http://127.0.0.1:35605.
2025-07-10T23:32:10.463Z root INFO Backend DefaultWorkspaceServer.onStart: 5.7 ms [Finished 0.573 s after backend start]
2025-07-10T23:32:10.463Z root INFO Finished starting backend application: 0.0 ms [Finished 0.573 s after backend start]
2025-07-10T23:32:10.464Z root ERROR Uncaught Exception:  Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed
2025-07-10T23:32:10.464Z root ERROR Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed
    at target.send (node:internal/child_process:753:16)
    at /home/maheshrajrp/projects/mahesh-theia-init/dist/electron/lib/backend/main.js:370:17

Additional Information

  • Operating System: Ubuntu 24.04.2 LTS
  • Theia Version: 1.63.1

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