Pop-launcher crashes gnome shell 45.4

Open
#1,707 14 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
desktop

Research direction

Read search.js around lines 205 and 306 and launcher.js around line 116, then reproduce the crash by launching pop-launcher and typing text on GNOME Shell 45.4. Use journalctl -b /usr/bin/gnome-shell to compare the allocation and Clutter errors. Done means the launcher can accept typed input without crashing GNOME Shell.

Written by the indexing model from the issue text.

Description

GNOME 45

(1) Issue/Bug Description:
When launching pop-launcher and typing text, gnome shell crashes, with the "Oh no, something has gone wrong message"

journalctl -b /usr/bin/gnome-shell reveals:

mar 27 15:10:31 manjaro gnome-shell[3611]: pop-shell: [DEBUG] starting pop-launcher service
mar 27 15:10:31 manjaro gnome-shell[3611]: ../mutter/clutter/clutter/clutter-actor.c:8798: Actor '<unnamed>[<StScrollBar>:0x562add8124a0]' tried to allocate a size of 12,00 x -12,00
mar 27 15:10:31 manjaro gnome-shell[3611]: Can't update stage views actor <unnamed>[<StBoxLayout>:0x562add80d9b0] is on because it needs an allocation.
mar 27 15:10:31 manjaro gnome-shell[3611]: Can't update stage views actor <unnamed>[<StButton>:0x562adf2a54a0] is on because it needs an allocation.
mar 27 15:10:31 manjaro gnome-shell[3611]: Can't update stage views actor <unnamed>[<StBoxLayout>:0x562ae0353580] is on because it needs an allocation.
mar 27 15:10:31 manjaro gnome-shell[3611]: Can't update stage views actor <unnamed>[<StIcon>:0x562ad5668420] is on because it needs an allocation.
mar 27 15:10:31 manjaro gnome-shell[3611]: Can't update stage views actor <unnamed>[<ClutterActor>:0x562adbbc5100] is on because it needs an allocation.
mar 27 15:10:31 manjaro gnome-shell[3611]: Can't update stage views actor <unnamed>[<StIcon>:0x562adc244830] is on because it needs an allocation.
mar 27 15:10:31 manjaro gnome-shell[3611]: Can't update stage views actor <unnamed>[<ClutterActor>:0x562add433930] is on because it needs an allocation.
mar 27 15:10:31 manjaro gnome-shell[3611]: Can't update stage views actor <unnamed>[<StBoxLayout>:0x562ade784d00] is on because it needs an allocation.
mar 27 15:10:31 manjaro gnome-shell[3611]: Can't update stage views actor <unnamed>[<StLabel>:0x562ad56eadd0] is on because it needs an allocation.
mar 27 15:10:31 manjaro gnome-shell[3611]: Can't update stage views actor <unnamed>[<ClutterText>:0x562adfbb4c60] is on because it needs an allocation.
mar 27 15:10:31 manjaro gnome-shell[3611]: Can't update stage views actor <unnamed>[<StLabel>:0x562adf148ab0] is on because it needs an allocation.
mar 27 15:10:31 manjaro gnome-shell[3611]: Can't update stage views actor <unnamed>[<ClutterText>:0x562adf11fc70] is on because it needs an allocation.
mar 27 15:10:31 manjaro gnome-shell[3611]: Can't update stage views actor <unnamed>[<StLabel>:0x562adb9714f0] is on because it needs an allocation.
mar 27 15:10:31 manjaro gnome-shell[3611]: Can't update stage views actor <unnamed>[<ClutterText>:0x562addda1780] is on because it needs an allocation.
mar 27 15:10:31 manjaro gnome-shell[3611]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
mar 27 15:10:31 manjaro gnome-shell[3611]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
mar 27 15:10:31 manjaro gnome-shell[3611]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
mar 27 15:10:31 manjaro gnome-shell[3611]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
mar 27 15:10:31 manjaro gnome-shell[3611]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
mar 27 15:10:31 manjaro gnome-shell[3611]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
mar 27 15:10:32 manjaro gnome-shell[3611]: **
mar 27 15:10:32 manjaro gnome-shell[3611]: Clutter:ERROR:../mutter/clutter/clutter/clutter-actor.c:5476:clutter_actor_dispose: assertion failed: (priv->parent == NULL)
mar 27 15:10:32 manjaro gnome-shell[3611]: Bail out! Clutter:ERROR:../mutter/clutter/clutter/clutter-actor.c:5476:clutter_actor_dispose: assertion failed: (priv->parent == NULL)
mar 27 15:10:32 manjaro gnome-shell[3611]: == Stack trace for context 0x562ad4329940 ==
mar 27 15:10:32 manjaro gnome-shell[3611]: #0   562ad43efa60 i   file:///usr/share/gnome-shell/extensions/[email protected]/search.js:205 (25f916d606f0 @ 112)
mar 27 15:10:32 manjaro gnome-shell[3611]: #1   562ad43ef9b0 i   file:///usr/share/gnome-shell/extensions/[email protected]/search.js:306 (25f916d60b00 @ 367)
mar 27 15:10:32 manjaro gnome-shell[3611]: #2   562ad43ef8d8 i   file:///usr/share/gnome-shell/extensions/[email protected]/launcher.js:116 (25f916d5dbf0 @ 273)
mar 27 15:10:32 manjaro gnome-shell[3611]: #3   562ad43ef848 i   resource:///org/gnome/shell/ui/init.js:21 (351d06470ba0 @ 48)

(2) Steps to reproduce (if you know):
Just launch pop-launcher with the default shortcut and type some text.

(3) Expected behavior:
I expect it not to crash :).

(4) Distribution (run cat /etc/os-release):
Manjaro Linux

(5) Gnome Shell version:
GNOME Shell 45.4

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally):
1.2.0+303+g5fa3a50-1

(7) Where was Pop Shell installed from:
gnome-shell-extension-pop-shell package AUR

(8) Monitor Setup
2 x 1080p, both horizontal

(9) Other Installed/Enabled Extensions:
Issue detected with pop-shell being the only extension enabled.

(10) Other Notes:
I suspect is a recent commit to pop-shell. Yesterday it worked just fine. Today, after an update, this happens.

Dominant language
TypeScript
Stars
5.3k
Forks
318
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pop-os/shell

All issues in pop-os/shell

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.