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

Cosmic Store fails to open #216

Open
garrettjwilke opened this issue Dec 5, 2024 · 12 comments
Open

Cosmic Store fails to open #216

garrettjwilke opened this issue Dec 5, 2024 · 12 comments

Comments

@garrettjwilke
Copy link

Pop!_OS 22.04 
Linux pop-os 6.9.3-76060903-generic #202405300957~1732141768~22.04~f2697e1 SMP PREEMPT_DYNAMIC Wed N x86_64 x86_64 x86_64 GNU/Linux
cosmic-store: 0.1.0~1733177868~22.04~9885eee

After attempting to open Cosmic Store, it opens briefly for a frame, then immediately closes. Trying to launch from the terminal gives the following output:

$ cosmic-store
[2024-12-05T20:58:16Z WARN  wgpu_hal::gles::egl] Re-initializing Gles context due to Wayland window
[2024-12-05T20:58:16Z WARN  sctk_adwaita::buttons] Ignoring unknown button type:
thread 'main' panicked at /build/cosmic-store-Stjxm2/cosmic-store-0.1.0~1733177868~22.04~9885eee/vendor/iced_widget/src/scrollable.rs:1241:53:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I cannot reproduce this on other systems. I did a refresh install hoping that would clear up everything, but the issue remains.

@kode54
Copy link

kode54 commented Dec 6, 2024

Confirmed on Arch Linux, COSMIC alpha 4 from extra-testing repository.

[2024-12-06T05:54:25Z WARN  wgpu_hal::gles::egl] Re-initializing Gles context due to Wayland window
[2024-12-06T05:54:25Z WARN  sctk_adwaita::buttons] Ignoring unknown button type: icon
thread 'main' panicked at /build/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/widget/src/scrollable.rs:1241:53:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@ache051
Copy link

ache051 commented Dec 7, 2024

Exactly the same issue on Pop!_OS 22.04 after updating Cosmic Store yesterday.
[2024-12-07T05:37:25Z WARN wgpu_hal::gles::egl] Re-initializing Gles context due to Wayland window thread 'main' panicked at /build/cosmic-store-Stjxm2/cosmic-store-0.1.0~1733177868~22.04~9885eee/vendor/iced_widget/src/scrollable.rs:1241:53: called Option::unwrap()on aNonevalue note: run withRUST_BACKTRACE=1 environment variable to display a backtrace

@ib00
Copy link

ib00 commented Dec 7, 2024

Same here. Pop!_OS_22.04 (X11):

thread 'main' panicked at /build/cosmic-store-Stjxm2/cosmic-store-0.1.0173317786822.04~9885eee/vendor/iced_widget/src/scrollable.rs:1241:53

@cmkirk2
Copy link

cmkirk2 commented Dec 8, 2024

Yep. Same here:

(base) cxxx@sxxx:$ cosmic-store
thread 'main' panicked at /build/cosmic-store-Stjxm2/cosmic-store-0.1.0
173317786822.049885eee/vendor/iced_widget/src/scrollable.rs:1241:53:
called Option::unwrap() on a None value
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Failure seems widely reported but no remedy offered.

@Booom775
Copy link

Booom775 commented Dec 9, 2024

Same issue here:

RUST_BACKTRACE=full cosmic-store
[2024-12-09T20:51:45Z WARN  wgpu_hal::gles::egl] No config found!
[2024-12-09T20:51:45Z WARN  wgpu_hal::gles::egl] EGL says it can present to the window but not natively
[2024-12-09T20:51:45Z WARN  wgpu_hal::gles::adapter] Max vertex attribute stride unknown. Assuming it is 2048
[2024-12-09T20:51:45Z WARN  wgpu_hal::gles::egl] Re-initializing Gles context due to Wayland window
[2024-12-09T20:51:45Z WARN  wgpu_hal::gles::egl] No config found!
[2024-12-09T20:51:45Z WARN  wgpu_hal::gles::egl] EGL says it can present to the window but not natively
thread 'main' panicked at /build/cosmic-store-Stjxm2/cosmic-store-0.1.0~1733177868~22.04~9885eee/vendor/iced_widget/src/scrollable.rs:1241:53:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0:     0x5bd96b04c275 - <unknown>
   1:     0x5bd96b07aa4b - <unknown>
   2:     0x5bd96b047cff - <unknown>
   3:     0x5bd96b04c04e - <unknown>
   4:     0x5bd96b04d739 - <unknown>
   5:     0x5bd96b04d4da - <unknown>
   6:     0x5bd96b04dbd3 - <unknown>
   7:     0x5bd96b04da7b - <unknown>
   8:     0x5bd96b04c739 - <unknown>
   9:     0x5bd96b04d7e7 - <unknown>
  10:     0x5bd9697c3073 - <unknown>
  11:     0x5bd9697c311c - <unknown>
  12:     0x5bd9697c2fd9 - <unknown>
  13:     0x5bd969bc9c87 - <unknown>
  14:     0x5bd969962a63 - <unknown>
  15:     0x5bd9699eeca2 - <unknown>
  16:     0x5bd9699ef2c3 - <unknown>
  17:     0x5bd969b794c1 - <unknown>
  18:     0x5bd969b7a401 - <unknown>
  19:     0x5bd9699ef2c3 - <unknown>
  20:     0x5bd969b254bb - <unknown>
  21:     0x5bd969b7a401 - <unknown>
  22:     0x5bd9699ef2c3 - <unknown>
  23:     0x5bd969b247a1 - <unknown>
  24:     0x5bd969bbb53a - <unknown>
  25:     0x5bd969bc2f35 - <unknown>
  26:     0x5bd969bf6eb0 - <unknown>
  27:     0x5bd969bc21e2 - <unknown>
  28:     0x5bd969867807 - <unknown>
  29:     0x5bd969a661b5 - <unknown>
  30:     0x5bd969bce833 - <unknown>
  31:     0x5bd9699dd759 - <unknown>
  32:     0x5bd96b03f60d - <unknown>
  33:     0x5bd969a66405 - <unknown>
  34:     0x7a2d20c29d90 - __libc_start_call_main
                               at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  35:     0x7a2d20c29e40 - __libc_start_main_impl
                               at ./csu/../csu/libc-start.c:392:3
  36:     0x5bd9697c3b65 - <unknown>
  37:                0x0 - <unknown>

@nuke-web3
Copy link

nuke-web3 commented Dec 9, 2024

Same error on apt installed version:

$ apt-cache showpkg cosmic-store

Package: cosmic-store
Versions:
0.1.0~1733177868~22.04~9885eee (/var/lib/apt/lists/apt.pop-os.org_release_dists_jammy_main_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language:
                 File: /var/lib/apt/lists/apt.pop-os.org_release_dists_jammy_main_binary-amd64_Packages
                  MD5: b354530a8292bb98d576d72185bf71a8


Reverse Depends:
  cosmic-session,cosmic-store
Dependencies:
0.1.0~1733177868~22.04~9885eee - appstream-data-pop (0 (null)) apt-config-icons (0 (null)) apt-config-icons-hidpi (0 (null)) apt-config-icons-large (0 (null)) apt-config-icons-large-hidpi (0 (null)) cosmic-icons (0 (null)) libc6 (2 2.35) libflatpak0 (2 1.1.3) libgcc-s1 (2 4.2) libglib2.0-0 (2 2.31.8) libssl3 (2 3.0.0~~alpha1) libxkbcommon0 (2 0.5.0)
Provides:
0.1.0~1733177868~22.04~9885eee -

Panic originates in https://github.com/pop-os/libcosmic/blob/d84447aaad96c84f1e59291f14468ba63fb79797/src/widget/scrollable.rs based on what I see from clone & run below:


I cloned d78e23e and run it and things work fine:

$ cargo r -r

...
# the panicing dep:
     Compiling iced_widget v0.14.0-dev (https://github.com/pop-os/libcosmic.git#d84447aa)
...
     Running `target/release/cosmic-store`
[2024-12-09T20:50:50Z WARN  wgpu_hal::gles::adapter] Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears.
[2024-12-09T20:50:50Z WARN  wgpu_hal::gles::egl] Re-initializing Gles context due to Wayland window
[2024-12-09T20:50:50Z WARN  sctk_adwaita::buttons] Ignoring unknown button type:

@wash2
Copy link
Contributor

wash2 commented Dec 10, 2024

I'm unfortunately not able to reproduce this, but would anyone who is experiencing the issue be willing to attempt bisecting the issue? That could be helpful.

@leb-kuchen
Copy link
Contributor

Full Backtrace with Debug

thread 'main' panicked at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/widget/src/scrollable.rs:1241:53:
called Option::unwrap() on a None value
stack backtrace:
0: 0x57a82a62f32a - std::backtrace_rs::backtrace::libunwind::trace::hea687caa7cc0d946
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
1: 0x57a82a62f32a - std::backtrace_rs::backtrace::trace_unsynchronized::h3431414a5245ea07
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x57a82a62f32a - std::sys::backtrace::_print_fmt::h283c58593a438fbc
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/sys/backtrace.rs:66:9
3: 0x57a82a62f32a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h214716e6e0c5cd2c
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/sys/backtrace.rs:39:26
4: 0x57a82a65e6e3 - core::fmt::rt::Argument::fmt::h66adc89066427d18
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/core/src/fmt/rt.rs:177:76
5: 0x57a82a65e6e3 - core::fmt::write::hbd48ce2ad7284a0a
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/core/src/fmt/mod.rs:1189:21
6: 0x57a82a62a103 - std::io::Write::write_fmt::hb2eafdc8e5760cec
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/io/mod.rs:1884:15
7: 0x57a82a62f172 - std::sys::backtrace::BacktraceLock::print::hbc5009a8dd7de74f
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/sys/backtrace.rs:42:9
8: 0x57a82a63042c - std::panicking::default_hook::{{closure}}::he4a5a0eb6c634694
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/panicking.rs:268:22
9: 0x57a82a630272 - std::panicking::default_hook::h6ba3c19e5efafdd4
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/panicking.rs:295:9
10: 0x57a82a630a67 - std::panicking::rust_panic_with_hook::h773803f4ebfbed1e
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/panicking.rs:801:13
11: 0x57a82a6308c6 - std::panicking::begin_panic_handler::{{closure}}::h09c6376b3729e5b0
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/panicking.rs:667:13
12: 0x57a82a62f809 - std::sys::backtrace::__rust_end_short_backtrace::h1dd30efd00c5bb69
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/sys/backtrace.rs:170:18
13: 0x57a82a63058c - rust_begin_unwind
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/panicking.rs:665:5
14: 0x57a82a65b750 - core::panicking::panic_fmt::hcd050e92ce3ec7a3
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/core/src/panicking.rs:76:14
15: 0x57a82a65b7dc - core::panicking::panic::h892443c4a9286415
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/core/src/panicking.rs:148:5
16: 0x57a82a65b6c9 - core::option::unwrap_failed::hfed9f556c7cf3d9d
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/core/src/option.rs:2009:5
17: 0x57a82900509a - core::option::Option::unwrap::h9fd79a2811fd4d84
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:972:21
18: 0x57a82900509a - <iced_widget::scrollable::Scrollable<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::a11y_nodes::hac7379cc0afee37b
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/widget/src/scrollable.rs:1241:53
19: 0x57a828cfb0a3 - <iced_widget::lazy::responsive::Responsive<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::a11y_nodes::h25f2a6422ec08a13
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/widget/src/lazy/responsive.rs:338:9
20: 0x57a82903a472 - <iced_core::element::Map<A,B,Theme,Renderer> as iced_core::widget::Widget<B,Theme,Renderer>>::a11y_nodes::hc7e9f51e219152a9
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/core/src/element.rs:421:9
21: 0x57a828e1fa1f - <iced_widget::container::Container<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::a11y_nodes::h8df4ad686c45bafc
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/widget/src/container.rs:398:9
22: 0x57a82903a9d6 - <iced_widget::row::Row<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::a11y_nodes::{{closure}}::ha5d335557e28adac
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/widget/src/row.rs:370:21
23: 0x57a82903a9d6 - core::iter::adapters::map::map_fold::{{closure}}::h105e2488a87f788c
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs:88:28
24: 0x57a82903a9d6 - <core::iter::adapters::zip::Zip<A,B> as core::iter::adapters::zip::ZipImpl<A,B>>::fold::h02f834125d453ef5
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/zip.rs:288:25
25: 0x57a82903a9d6 - <core::iter::adapters::zip::Zip<A,B> as core::iter::traits::iterator::Iterator>::fold::h3b0a562c0c4d9c19
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/zip.rs:104:9
26: 0x57a82903a9d6 - <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold::he0e09a0492ee70dc
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs:128:19
27: 0x57a82903a9d6 - iced_accessibility::a11y_tree::A11yTree::join::he1a2c3561b573214
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/accessibility/src/a11y_tree.rs:43:15
28: 0x57a82903a9d6 - <iced_widget::row::Row<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::a11y_nodes::h57b0f28ab3a52aa2
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/widget/src/row.rs:364:9
29: 0x57a82903b9e6 - <iced_widget::column::Column<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::a11y_nodes::{{closure}}::hee0e3309ad6ba195
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/widget/src/column.rs:374:21
30: 0x57a82903b9e6 - core::iter::adapters::map::map_fold::{{closure}}::ha91917350f85a2e6
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs:88:28
31: 0x57a82903b9e6 - <core::iter::adapters::zip::Zip<A,B> as core::iter::adapters::zip::ZipImpl<A,B>>::fold::h61109b6e4bd04623
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/zip.rs:288:25
32: 0x57a82903b9e6 - <core::iter::adapters::zip::Zip<A,B> as core::iter::traits::iterator::Iterator>::fold::h0fd2e79a7f673a0e
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/zip.rs:104:9
33: 0x57a82903b9e6 - <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold::hc0c7616ddd3fd894
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs:128:19
34: 0x57a82903b9e6 - iced_accessibility::a11y_tree::A11yTree::join::h6a90631e41596879
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/accessibility/src/a11y_tree.rs:43:15
35: 0x57a82903b9e6 - <iced_widget::column::Column<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::a11y_nodes::h9f838276e32b547d
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/widget/src/column.rs:368:9
36: 0x57a828e1fa1f - <iced_widget::container::Container<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::a11y_nodes::h8df4ad686c45bafc
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/widget/src/container.rs:398:9
37: 0x57a8290c6b07 - <cosmic::widget::id_container::IdContainer<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::a11y_nodes::h2ff6c3df42362e63
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/src/widget/id_container.rs:210:9
38: 0x57a82903b9e6 - <iced_widget::column::Column<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::a11y_nodes::{{closure}}::hee0e3309ad6ba195
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/widget/src/column.rs:374:21
39: 0x57a82903b9e6 - core::iter::adapters::map::map_fold::{{closure}}::ha91917350f85a2e6
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs:88:28
40: 0x57a82903b9e6 - <core::iter::adapters::zip::Zip<A,B> as core::iter::adapters::zip::ZipImpl<A,B>>::fold::h61109b6e4bd04623
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/zip.rs:288:25
41: 0x57a82903b9e6 - <core::iter::adapters::zip::Zip<A,B> as core::iter::traits::iterator::Iterator>::fold::h0fd2e79a7f673a0e
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/zip.rs:104:9
42: 0x57a82903b9e6 - <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold::hc0c7616ddd3fd894
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/iter/adapters/map.rs:128:19
43: 0x57a82903b9e6 - iced_accessibility::a11y_tree::A11yTree::join::h6a90631e41596879
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/accessibility/src/a11y_tree.rs:43:15
44: 0x57a82903b9e6 - <iced_widget::column::Column<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::a11y_nodes::h9f838276e32b547d
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/widget/src/column.rs:368:9
45: 0x57a828e1fa1f - <iced_widget::container::Container<Message,Theme,Renderer> as iced_core::widget::Widget<Message,Theme,Renderer>>::a11y_nodes::h8df4ad686c45bafc
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/widget/src/container.rs:398:9
46: 0x57a82903ec91 - <cosmic::widget::popover::Popover<Message,Renderer> as iced_core::widget::Widget<Message,cosmic::theme::Theme,Renderer>>::a11y_nodes::h31337edeeb945555
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/src/widget/popover.rs:286:9
47: 0x57a8290bd6be - iced_runtime::user_interface::UserInterface<Message,Theme,Renderer>::a11y_nodes::h3235c430525b192b
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/runtime/src/user_interface.rs:632:9
48: 0x57a8290bd6be - iced_winit::program::run_instance::{{closure}}::h0ff798907fb3a21c
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/winit/src/program.rs:1780:34
49: 0x57a8290c3b05 - iced_winit::program::run::Runner<Message,F,C>::process_event::h4fddf5fbb88133be
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/winit/src/program.rs:443:28
50: 0x57a8290f4894 - <iced_winit::program::run::Runner<Message,F,C> as winit::application::ApplicationHandler>::about_to_wait::hc48ac9b399668c0c
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/winit/src/program.rs:343:13
51: 0x57a8290f4894 - <&mut A as winit::application::ApplicationHandler>::about_to_wait::h5204db0ec849ec4c
at /home/dominic/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/application.rs:374:9
52: 0x57a8290f4894 - <&mut A as winit::application::ApplicationHandler>::about_to_wait::h6f479139499dfbe7
at /home/dominic/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/application.rs:374:9
53: 0x57a8290f4894 - winit::platform_impl::linux::x11::EventLoop::single_iteration::h7445625b6dfe326e
at /home/dominic/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/platform_impl/linux/x11/mod.rs:568:9
54: 0x57a8290f4ac3 - winit::platform_impl::linux::x11::EventLoop::pump_app_events::h7b1a101c35b775c4
at /home/dominic/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/platform_impl/linux/x11/mod.rs:420:13
55: 0x57a8290f4ac3 - winit::platform_impl::linux::x11::EventLoop::run_app_on_demand::h8c1b6766547511dc
at /home/dominic/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/platform_impl/linux/x11/mod.rs:385:19
56: 0x57a8290f4ac3 - winit::platform_impl::linux::x11::EventLoop::run_app::ha4e811ac3dca6a1b
at /home/dominic/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/platform_impl/linux/x11/mod.rs:376:9
57: 0x57a8290c1e2e - winit::platform_impl::linux::EventLoop::run_app::h21ecb02129d139f1
at /home/dominic/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/platform_impl/linux/mod.rs:427:56
58: 0x57a8290c1e2e - winit::event_loop::EventLoop::run_app::h8f4cd06c2ac622b8
at /home/dominic/.cargo/git/checkouts/winit-40d7deb2b0c08730/1cc02bd/src/event_loop.rs:228:9
59: 0x57a8290c1e2e - iced_winit::program::run::h7ba82f6dae3edd6a
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/winit/src/program.rs:622:28
60: 0x57a828f8c4cd - iced::program::Program::run_with::hc90a8e792abaa1f0
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/iced/src/program.rs:183:12
61: 0x57a828f8c4cd - cosmic::app::multi_window::MultiWindow

::run_with::h9f0ef54d970d414a
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/src/app/multi_window.rs:124:9
62: 0x57a828f8c4cd - cosmic::app::run_single_instance::h62d3cf2baf0a207d
at /home/dominic/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/de0c192/src/app/mod.rs:406:13
63: 0x57a8290a5fb5 - cosmic_store::main::h46c807f23925031d
at /home/dominic/software/cosmic-store/src/main.rs:115:5
64: 0x57a828ee51c3 - core::ops::function::FnOnce::call_once::hcb9c7883fb843f74
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
65: 0x57a828ee51c3 - std::sys::backtrace::__rust_begin_short_backtrace::h881f340e32d342dc
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/backtrace.rs:154:18
66: 0x57a8290d2fd9 - std::rt::lang_start::{{closure}}::h749d2eec69792044
at /home/dominic/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:195:18
67: 0x57a82a621d87 - core::ops::function::impls::<impl core::ops::function::FnOnce for &F>::call_once::h61388f5ebdd7b796
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/core/src/ops/function.rs:284:13
68: 0x57a82a621d87 - std::panicking::try::do_call::hd93b78c6f5171107
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/panicking.rs:557:40
69: 0x57a82a621d87 - std::panicking::try::h5ad11d467eb73c88
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/panicking.rs:520:19
70: 0x57a82a621d87 - std::panic::catch_unwind::h398d72c1bf01d19a
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/panic.rs:358:14
71: 0x57a82a621d87 - std::rt::lang_start_internal::{{closure}}::hed52538e43210e12
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/rt.rs:174:48
72: 0x57a82a621d87 - std::panicking::try::do_call::h1c5cd527afc47bb1
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/panicking.rs:557:40
73: 0x57a82a621d87 - std::panicking::try::h32902ea9104cd01a
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/panicking.rs:520:19
74: 0x57a82a621d87 - std::panic::catch_unwind::h379d56785af333f2
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/panic.rs:358:14
75: 0x57a82a621d87 - std::rt::lang_start_internal::h5758e332aa2f8cc6
at /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608/library/std/src/rt.rs:174:20
76: 0x57a8290a6b3c - main
77: 0x7e39e7e29d90 - __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
78: 0x7e39e7e29e40 - __libc_start_main_impl
at ./csu/../csu/libc-start.c:392:3
79: 0x57a828cab8e5 - _start
80: 0x0 -

@arft1kwerg
Copy link

Similar issue. Whenever I try to open cosmic-store it immediately closes.

infernal@pop-os:~$ cosmic-store 
[2024-12-11T07:26:32Z WARN  wgpu_hal::gles::egl] Re-initializing Gles context due to Wayland window
[2024-12-11T07:26:33Z WARN  cosmic_store::backend::flatpak] failed to update appstream data for remote Remote { inner: TypedObjectRef { inner: 0x73b588026a00, type: FlatpakRemote } }: Remote "sunshine-origin (system)" not found
thread 'main' panicked at /build/cosmic-store-w8z52E/cosmic-store-0.1.0~1733801879~22.04~bbcc650/vendor/iced_widget/src/scrollable.rs:1241:53:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@jacksonb1
Copy link

Same issue here...

[2024-12-12T08:54:58Z WARN wgpu_hal::gles::egl] Re-initializing Gles context due to Wayland window
[2024-12-12T08:54:58Z WARN sctk_adwaita::buttons] Ignoring unknown button type:
thread 'main' panicked at /build/cosmic-store-htBkWp/cosmic-store-0.1.0173380187924.04~bbcc650/vendor/iced_widget/src/scrollable.rs:1241:53:
called Option::unwrap() on a None value
stack backtrace:
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

@peterkrull
Copy link

This might not be an issue specific to cosmic-store. The same call to layout.children().next().unwrap() in https://github.com/pop-os/iced/blob/2cc6865c908d025e43d7fc937f6b67defd51ea18/widget/src/container.rs#L396C9-L396C57 occurs when I do Ctrl+S in cosmic-edit. I am also unable to open the cosmic-files file picker dialogs, but not sure if that is related.

@Crobbet
Copy link

Crobbet commented Dec 14, 2024

same here!
Description:
The Cosmic Store crashes with the following error when opening.

System Details:

OS: Pop!_OS Cosmic 24.04
Graphics Driver: Mesa i915 (Skylake derivative)
Backend: Wayland

log:
[2024-12-14T07:53:44Z WARN wgpu_hal::gles::adapter] Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears.
[2024-12-14T07:53:44Z WARN wgpu_hal::gles::egl] Re-initializing Gles context due to Wayland window
[2024-12-14T07:53:44Z WARN sctk_adwaita::buttons] Ignoring unknown button type:
thread 'main' panicked at /build/cosmic-store-htBkWp/cosmic-store-0.1.0173380187924.04~bbcc650/vendor/iced_widget/src/scrollable.rs:1241:53:
called Option::unwrap() on a None value

most probable issue:
problem in the iced widget crate.
in the the srollable.rs somewhere(1241:53:) there is an improper error handling.

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