cosmic-store icon indicating copy to clipboard operation
cosmic-store copied to clipboard

Cosmic Store crash on launch

Open aBgrOnGak opened this issue 1 year ago • 2 comments

Hello and good day.

As per title, it did not give any warning whatsoever.

How do I inspect any logs or something? FYI, I removed pop shop before installing cosmic store.

aBgrOnGak avatar May 13 '24 07:05 aBgrOnGak

Solved the issue by switching to Wayland

mehedi-iut avatar May 14 '24 04:05 mehedi-iut

Impacted by same, did not try switching to Wayland. If needed/matters:

$ cosmic-store [2024-05-12T03:55:36Z ERROR i18n_embed::fluent] Error while adding resource to bundle: Overriding { kind: Message, id: "utilities" }. [2024-05-12T03:55:36Z ERROR i18n_embed::fluent] Error while adding resource to bundle: Overriding { kind: Message, id: "utilities" }. [2024-05-12T03:55:36Z WARN wgpu_hal::gles::egl] No windowing system present. Using surfaceless platform [2024-05-12T03:55:36Z WARN wgpu_hal::gles::egl] No config found! [2024-05-12T03:55:36Z WARN wgpu_hal::gles::egl] No config found! [2024-05-12T03:55:36Z ERROR winit::platform_impl::platform] X11 error: XError { description: "BadMatch (invalid parameter attributes)", error_code: 8, request_code: 149, minor_code: 4, } [2024-05-12T03:55:36Z ERROR winit::platform_impl::platform] X11 error: XError { description: "BadMatch (invalid parameter attributes)", error_code: 8, request_code: 149, minor_code: 4, } [2024-05-12T03:55:36Z ERROR winit::platform_impl::platform] X11 error: XError { description: "BadMatch (invalid parameter attributes)", error_code: 8, request_code: 149, minor_code: 4, } thread 'main' panicked at /build/cosmic-store-FpsAEw/cosmic-store-0.1.0~1714166022~22.04~225ebca/vendor/winit/src/platform_impl/linux/x11/window.rs:1208:18: Failed to call XMapRaised: XError { description: "BadMatch (invalid parameter attributes)", error_code: 8, request_code: 149, minor_code: 4 } note: run with RUST_BACKTRACE=1 environment variable to display a backtrace thread 'main' panicked at /build/cosmic-store-FpsAEw/cosmic-store-0.1.0~1714166022~22.04~225ebca/vendor/winit/src/platform_impl/linux/x11/window.rs:601:34: called Result::unwrap() on an Err value: PoisonError { .. } stack backtrace: 0: 0x55c43081715b - 1: 0x55c43085d9e0 - 2: 0x55c43080aabd - 3: 0x55c430816f44 - 4: 0x55c43084021a - 5: 0x55c43083febd - 6: 0x55c430840638 - 7: 0x55c43081753e - 8: 0x55c430817376 - 9: 0x55c430840362 - 10: 0x55c42f74e665 - 11: 0x55c42f74ee13 - 12: 0x55c42ff06203 - 13: 0x55c42fee3a6c - 14: 0x55c42f9575f4 - 15: 0x55c42f8bd02c - 16: 0x55c42f8c8bc4 - 17: 0x55c42f984899 - 18: 0x55c42f8c3865 - 19: 0x55c42f80a28e - 20: 0x55c42f9c8013 - 21: 0x55c42f8c6ba9 - 22: 0x55c430840254 - 23: 0x55c4308262eb - 24: 0x55c42f8c6b9e - 25: 0x76092a029d90 - __libc_start_call_main at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16 26: 0x76092a029e40 - __libc_start_main_impl at ./csu/../csu/libc-start.c:392:3 27: 0x55c42f74f245 - 28: 0x0 - thread 'main' panicked at library/core/src/panicking.rs:144:5: panic in a destructor during cleanup thread caused non-unwinding panic. aborting. Aborted (core dumped)

jjinco33 avatar May 15 '24 02:05 jjinco33

Issue appears resolved now.

jjinco33 avatar May 26 '24 02:05 jjinco33

I just installed Pop_OS 22.04 a few days ago and came across this problem. Under Wayland, Cosmic-Store opens no problem; but under x11, it absolutely refused to. In my search for a soloution, I came across a Reddit post by a user with the exact same problem. I will include their error log (convenient since I still have that page open), but it is near identical to mine.

I didn't run the back trace, but one of the comments had the exact solution I needed. By running the command 'env WGPU_ADAPTER_NAME=3070 cosmic-store', it loaded up under X11 no problem.

Error log from Reddit:

[2024-06-21T14:50:18Z WARN wgpu_hal::gles::egl] No windowing system present. Using surfaceless platform

[2024-06-21T14:50:18Z WARN wgpu_hal::gles::egl] No config found!

[2024-06-21T14:50:18Z WARN wgpu_hal::gles::egl] No config found!

[2024-06-21T14:50:18Z ERROR winit::platform_impl::platform] X11 error: XError {

description: "BadMatch (invalid parameter attributes)",

error_code: 8,

request_code: 149,

minor_code: 4,

}

[2024-06-21T14:50:18Z ERROR winit::platform_impl::platform] X11 error: XError {

description: "BadMatch (invalid parameter attributes)",

error_code: 8,

request_code: 149,

minor_code: 4,

}

[2024-06-21T14:50:18Z ERROR winit::platform_impl::platform] X11 error: XError {

description: "BadMatch (invalid parameter attributes)",

error_code: 8,

request_code: 149,

minor_code: 4,

}

[2024-06-21T14:50:18Z ERROR winit::platform_impl::platform] X11 error: XError {

description: "BadMatch (invalid parameter attributes)",

error_code: 8,

request_code: 149,

minor_code: 4,

}

[2024-06-21T14:50:18Z ERROR winit::platform_impl::platform] X11 error: XError {

description: "BadMatch (invalid parameter attributes)",

error_code: 8,

request_code: 149,

minor_code: 4,

}

[2024-06-21T14:50:18Z ERROR winit::platform_impl::platform] X11 error: XError {

description: "BadMatch (invalid parameter attributes)",

error_code: 8,

request_code: 149,

minor_code: 4,

}

[2024-06-21T14:50:18Z ERROR winit::platform_impl::platform] X11 error: XError {

description: "136",

error_code: 136,

request_code: 148,

minor_code: 1,

}

[2024-06-21T14:50:19Z ERROR iced_winit::multi_window] Error Timeout when presenting surface.

[2024-06-21T14:50:20Z ERROR iced_winit::multi_window] Error Timeout when presenting surface.

[2024-06-21T14:50:21Z ERROR iced_winit::multi_window] Error Timeout when presenting surface.

[2024-06-21T14:50:22Z ERROR iced_winit::multi_window] Error Timeout when presenting surface.

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

thread 'main' panicked at /build/cosmic-store-dR5whJ/cosmic-store-0.1.0~1718281780~22.04~ba3452a/vendor/winit/src/platform_impl/linux/x11/event_processor.rs:1042:30:

Failed to unfocus input context: XError { description: "136", error_code: 136, request_code: 148, minor_code: 1 }

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

papercutter0324 avatar Jun 24 '24 15:06 papercutter0324

env WGPU_ADAPTER_NAME=3070 cosmic-store

Is there a automated way to launch cosmic-store with this command?

abhi8569 avatar Jun 25 '24 19:06 abhi8569