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

Pop Shop crashes shortly after launching #418

Open
PGQT opened this issue Sep 21, 2023 · 11 comments
Open

Pop Shop crashes shortly after launching #418

PGQT opened this issue Sep 21, 2023 · 11 comments

Comments

@PGQT
Copy link

PGQT commented Sep 21, 2023

Distribution (run cat /etc/os-release):

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

io.elementary.appcenter

Issue/Bug Description:

Pop Shop freezes, then crashes shortly after launching. Typically within 15 seconds.

Steps to reproduce (if you know):

Launch pop shop

Expected behavior:

pop shop opens and allows the updating of existing apps and the searching and downloading of new apps

Other Notes:

I have tried restarting the system with no improvements noted.
I have run the follwing commands, which usually resolve any issues with updates, but with no improvements noted:
apt install --fix-missing
apt install --fix-broken
dpkg --configure -a

Launching from the CLI results in the following:

@pop-os:~$ io.elementary.appcenter

(io.elementary.appcenter:4861): Gtk-WARNING **: 08:10:45.950: Theme parsing error: application.css:36:19: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(io.elementary.appcenter:4861): GLib-CRITICAL **: 08:10:51.065: g_strsplit: assertion 'string != NULL' failed
Segmentation fault (core dumped)

/var/log/syslog:

Sep 21 08:35:17 pop-os gnome-shell[2152]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Sep 21 08:35:17 pop-os gnome-shell[2152]: message repeated 2 times: [ meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed]
Sep 21 08:35:17 pop-os PackageKit: resolve transaction /4933_bbadaead from uid 1000 finished with success after 302ms
Sep 21 08:35:18 pop-os PackageKit: get-details transaction /4934_eadecdbd from uid 1000 finished with success after 282ms
Sep 21 08:35:18 pop-os PackageKit: get-packages transaction /4935_ddaceaed from uid 1000 finished with success after 425ms
Sep 21 08:35:18 pop-os kernel: [ 1633.126827] io.elementary.a[32200]: segfault at 0 ip 000055fc1318a038 sp 00007ffceea75020 error 4 in io.elementary.appcenter[55fc13169000+68000] likely on CPU 4 (core 0, socket 0)
Sep 21 08:35:18 pop-os kernel: [ 1633.126839] Code: 41 5e e9 4b 41 fe ff 0f 1f 00 48 8b 3c 25 00 00 00 00 e8 0b 24 fe ff 4c 89 ef 49 89 c4 e8 d0 23 fe ff e9 f2 fe ff ff 0f 1f 00 <48> 8b 3c 25 00 00 00 00 e8 eb 23 fe ff 4c 89 e7 49 89 c5 e8 b0 23
Sep 21 08:35:18 pop-os PackageKit: resolve transaction /4936_ddadcabd from uid 1000 finished with success after 247ms

apt update:

Hit:1 http://apt.pop-os.org/proprietary jammy InRelease
Hit:2 http://apt.pop-os.org/release jammy InRelease
Hit:3 http://apt.pop-os.org/ubuntu jammy InRelease
Get:4 http://apt.pop-os.org/ubuntu jammy-security InRelease [110 kB]
Get:5 http://apt.pop-os.org/ubuntu jammy-updates InRelease [119 kB]
Get:6 https://repo.waydro.id jammy InRelease [1,309 B]
Err:6 https://repo.waydro.id jammy InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E406D181DCEE19C
Get:7 http://apt.pop-os.org/ubuntu jammy-backports InRelease [109 kB]
Get:8 http://apt.pop-os.org/ubuntu jammy-security/universe Sources [156 kB]
Get:9 http://apt.pop-os.org/ubuntu jammy-security/main amd64 DEP-11 Metadata [43.0 kB]
Get:10 http://apt.pop-os.org/ubuntu jammy-security/universe i386 Packages [559 kB]
Get:11 http://apt.pop-os.org/ubuntu jammy-security/universe amd64 Packages [785 kB]
Get:12 http://apt.pop-os.org/ubuntu jammy-security/universe Translation-en [143 kB]
Get:13 http://apt.pop-os.org/ubuntu jammy-security/universe amd64 DEP-11 Metadata [40.0 kB]
Get:14 http://apt.pop-os.org/ubuntu jammy-updates/universe Sources [272 kB]
Get:15 http://apt.pop-os.org/ubuntu jammy-updates/main amd64 DEP-11 Metadata [101 kB]
Get:16 http://apt.pop-os.org/ubuntu jammy-updates/universe amd64 Packages [984 kB]
Get:17 http://apt.pop-os.org/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [289 kB]
Get:18 http://apt.pop-os.org/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Get:19 http://apt.pop-os.org/ubuntu jammy-backports/main amd64 DEP-11 Metadata [4,896 B]
Get:20 http://apt.pop-os.org/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [17.7 kB]
Fetched 3,734 kB in 1s (2,512 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

@leviport leviport transferred this issue from pop-os/pop Sep 21, 2023
@leviport
Copy link
Member

Possibly a duplicate of #412

@PGQT
Copy link
Author

PGQT commented Sep 21, 2023 via email

@PGQT
Copy link
Author

PGQT commented Sep 21, 2023

@leviport > Possibly a duplicate of #412

here is my best guess at tracking down the issue, but I don't understand it well enough...

(io.elementary.appcenter:4861): Gtk-WARNING **: 08:10:45.950: Theme parsing error: application.css:36:19: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(io.elementary.appcenter:4861): GLib-CRITICAL **: 08:10:51.065: g_strsplit: assertion 'string != NULL' failed
Segmentation fault (core dumped)

@jacobgkau
Copy link
Member

@PGQT Does this crash still occur after installing the 7.3.0 update and rebooting? That update was released on 9/27/23 (last Wednesday).

@chloe-everhart
Copy link

I'm having this issue, too. I just did sudo apt update && sudo apt upgrade. It updated through the command line. It still crashes within seconds after launch.

@jacobgkau
Copy link
Member

jacobgkau commented Oct 12, 2023

It still crashes within seconds after launch.

Does it happen every single time, or only sometimes? If it's every time, you could try getting a traceback by building and running a debug copy with these commands:

git clone https://github.com/pop-os/shop
cd shop
./rebuild.sh debug
run

The last command should happen when you see (gdb) at the beginning of the terminal prompt. After you do this, you'll want to sudo apt remove pop-shop-dbgsym to clean up (that package isn't in the repo, so it may cause errors trying to install updates if you have it, since apt will want to keep the main pop-shop package in sync with it.)

This may show us in more detail what's causing the segmentation fault that @PGQT pointed out.

@chloe-everhart
Copy link

chloe-everhart commented Oct 14, 2023 via email

@SRNissen
Copy link

It still crashes within seconds after launch.

Does it happen every single time, or only sometimes? If it's every time, you could try getting a traceback by building and running a debug copy with these commands:

git clone https://github.com/pop-os/shop
./rebuild.sh debug
run

Pop!_Shop reliably crashes for me on certain actions so I attempted this build and it does not work.

On ./rebuild.sh debug, I get this output:

+ killall io.elementary.appcenter
io.elementary.appcenter: no process found
+ true
++ dpkg-parsechangelog -S Version
+ VERSION=7.3.0pop0
+ rm -rf ./obj-x86_64-linux-gnu/
+ debuild -b -uc -us -nc
./rebuild.sh: line 8: debuild: command not found

I assume this requires devscripts to work? Or is it a different debuild that you use?

@jacobgkau
Copy link
Member

I assume this requires devscripts to work? Or is it a different debuild that you use?

Yes, install devscripts to use the debuild command (which that script does). You could also switch out debuild for dpkg-buildpackage (and the same flags) to not require devscritps (it just won't do some checks on the package, but those probably aren't needed for debugging, anyway).

@jacobgkau
Copy link
Member

@chloe-everhart Your commands failed for multiple reasons:

  • You typed git clone https://github.com/pop=os/shop./rebuild.sh debug, which is both multiple commands on the same line, and includes an equals sign where a hyphen should be in the GitHub URL.
  • When you re-attempted the git command with the correct URL, you added sudo at the front (which nobody here recommended), which would give the files incorrect permissions and possibly put them in the wrong directory.

If you attempt it again, please log into GitHub to comment (rather than replying to the e-mails) so you can paste the output with proper formatting. Note that I added an additional step I left out the first time (changing into the shop directory after cloning it).

@chloe-everhart
Copy link

chloe-everhart commented Jan 27, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants