Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Albert crashes on startup on a fresh install #1282

Closed
Ghoelian opened this issue Aug 15, 2023 · 13 comments
Closed

Albert crashes on startup on a fresh install #1282

Ghoelian opened this issue Aug 15, 2023 · 13 comments
Assignees
Labels
Bug P1 Blocker Fix instantly! App (mostly) broken.

Comments

@Ghoelian
Copy link

Description

Using a fresh install of albert 0.22.2 on Kubuntu 23.04, albert fails to launch with a segfault.

Expected behavior

No segfault

Steps to reproduce

Install albert and launch

Source

home:manuelschneid3r
from the OBS repo

Debug output

        Albert version: 0.22.2
            Build date: Aug 14 2023 20:53:45
            Qt version: 6.4.2
             Build ABI: x86_64-little_endian-lp64
  Arch (build/current): x86_64/x86_64
 Kernel (type/version): linux/6.2.0-27-generic
                    OS: Ubuntu 23.04
     OS (type/version): ubuntu/23.04
 $QT_QPA_PLATFORMTHEME: 
         Platform name: xcb
                  Font: Sans Serif,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
       Binary location: /usr/bin/albert
                  $PWD: /home/julian
                $SHELL: /bin/bash
                 $LANG: en_US.UTF-8
              Language: C
                Locale: C
     $XDG_SESSION_TYPE: x11
  $XDG_CURRENT_DESKTOP: KDE
      $DESKTOP_SESSION: plasma
  $XDG_SESSION_DESKTOP: KDE
            Icon theme: breeze-dark
Segmentation fault (core dumped)
@Ghoelian
Copy link
Author

Looks like this is issue is already tracked in #958, sorry about that.

@Ghoelian
Copy link
Author

Wait actually no, I thought I was running on Wayland but I'm not.

@Ghoelian Ghoelian reopened this Aug 15, 2023
@ManuelSchneid3r
Copy link
Member

can you pls post the crash report in /var/crash?

@ManuelSchneid3r
Copy link
Member

phew the report does not contain a backtrace. I am not really familar with the ubuntu crash system. do you know how one can extract the backtrace? ill delete the comment since it may contain sensible data.

@albertlauncher albertlauncher deleted a comment from Ghoelian Aug 15, 2023
@adabru
Copy link

adabru commented Aug 15, 2023

@Ghoelian you didn't do an upgrade before by any chance?

@Ghoelian
Copy link
Author

@adabru I did at first, but I also tested this on a fresh Kubuntu VM, and it crashed in the same way there.

@Ghoelian
Copy link
Author

Ghoelian commented Aug 15, 2023

phew the report does not contain a backtrace. I am not really familar with the ubuntu crash system. do you know how one can extract the backtrace? ill delete the comment since it may contain sensible data.

It could be in /var/log, or somewhere in journalctl. I'll check tomorrow when I get back to my pc.

@adabru
Copy link

adabru commented Aug 15, 2023

Ok. If I delete

~/.config/albert
~/.config/albert.conf
~/.local/share/albert
~/.cache/albert

and start albert 22.0 or 22.2 I get a segfault as well. If I downgrade to 21, start it, stop it, upgrade to 22.2, it works fine. You could try that "workaround".

@tchiotludo
Copy link

tchiotludo commented Aug 16, 2023

same here :

$ albert -d
        Albert version: 0.22.2
            Build date: Aug 14 2023 20:53:45
            Qt version: 6.4.2
             Build ABI: x86_64-little_endian-lp64
  Arch (build/current): x86_64/x86_64
 Kernel (type/version): linux/6.2.0-27-generic
                    OS: Ubuntu 23.04
     OS (type/version): ubuntu/23.04
 $QT_QPA_PLATFORMTHEME: 
         Platform name: xcb
                  Font: Ubuntu,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
       Binary location: /usr/bin/albert
                  $PWD: /home/ludo
                $SHELL: /bin/bash
                 $LANG: en_US.UTF-8
              Language: English
                Locale: en_US
     $XDG_SESSION_TYPE: x11
  $XDG_CURRENT_DESKTOP: ubuntu:GNOME
      $DESKTOP_SESSION: ubuntu-xorg
  $XDG_SESSION_DESKTOP: ubuntu-xorg
            Icon theme: Papirus-Dark
Segmentation fault (core dumped)

@adabru how do you install previous version to try the workaround?

@Ghoelian
Copy link
Author

Alright I think I found something.

When Albert crashes, the error reporter pops up with some information.

Sorry for attaching images instead of text, the stupid error reporter thingy won't let me select text and I don't know where it's pulling this information from.

Segfault stuff
Stacktrace

There's also a ThreadStacktrace, but it's way too long to fit on a screenshot. It starts with the warning warning: Section `.reg-xstate/365908' in core file too small.. If that sounds useful, let me know and I'll try to attach the entire stacktrace somehow.

@ManuelSchneid3r
Copy link
Member

does 0.22.3 fix this for you?

@tchiotludo
Copy link

yes thanks 👍

@Ghoelian
Copy link
Author

yup everything seems to work again. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug P1 Blocker Fix instantly! App (mostly) broken.
Development

No branches or pull requests

4 participants