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

/usr/libexec/xdg-desktop-portal-cosmic failed with code 101 #78

Open
Calandracas606 opened this issue Aug 12, 2024 · 0 comments
Open

/usr/libexec/xdg-desktop-portal-cosmic failed with code 101 #78

Calandracas606 opened this issue Aug 12, 2024 · 0 comments

Comments

@Calandracas606
Copy link

I am working on packaging cosmic-desktop for void linux: void-linux/void-packages#51735

upon running start-cosmic from tty, the cosmic desktop launches properly, however xdg-desktop-portal-cosmic fails to launch with exit code 101:

2024-08-12T13:02:15.224339Z ERROR launch_pad: process ' WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=63 PORTAL_WAYLAND_SOCKET=60 /usr/libexec/xdg-desktop-portal-cosmic ' failed with code 101    
2024-08-12T13:02:15.224361Z ERROR cosmic_session: /usr/libexec/xdg-desktop-portal-cosmic exited with error 101
stacktrace
2024-08-12T13:02:15.093546Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    0:     0x5614b3ae1c95 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6e73f7f25bb82496
2024-08-12T13:02:15.094125Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    1:     0x5614b3b1039b - core::fmt::write::h86ab674e345640f5
2024-08-12T13:02:15.094710Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    2:     0x5614b3add7ef - std::io::Write::write_fmt::h30ff512a9235013c
2024-08-12T13:02:15.094720Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    3:     0x5614b3ae1a6e - std::sys_common::backtrace::print::hab8f07c2e9a16bb0
2024-08-12T13:02:15.094736Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    4:     0x5614b3ae2fb9 - std::panicking::default_hook::{{closure}}::h767d39b597eecbad
2024-08-12T13:02:15.095334Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    5:     0x5614b3ae2d5a - std::panicking::default_hook::h074bfb8ff8024a1b
2024-08-12T13:02:15.095904Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    6:     0x5614b3ae3453 - std::panicking::rust_panic_with_hook::hbd1255a0f8af4859
2024-08-12T13:02:15.095918Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    7:     0x5614b3ae3334 - std::panicking::begin_panic_handler::{{closure}}::h7418645997f44480
2024-08-12T13:02:15.095938Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    8:     0x5614b3ae2159 - std::sys_common::backtrace::__rust_end_short_backtrace::h8ec9880eaabb1ac0
2024-08-12T13:02:15.096532Z  WARN xdg-desktop-portal-cosmic: cosmic_session:    9:     0x5614b3ae3067 - rust_begin_unwind
2024-08-12T13:02:15.097179Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   10:     0x5614b29991d3 - core::panicking::panic_fmt::h9fcfe8dc81b939a4
2024-08-12T13:02:15.097451Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   11:     0x5614b29996c6 - core::result::unwrap_failed::h4526a150a40496ba
2024-08-12T13:02:15.102709Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   12:     0x5614b2a8e636 - core::result::Result<T,E>::unwrap::h106c239a78d5447d
2024-08-12T13:02:15.102716Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /builddir/rust-1.80.1/library/core/src/result.rs:1102:23
2024-08-12T13:02:15.102725Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   13:     0x5614b2a8e636 - xdg_desktop_portal_cosmic::wayland::WaylandHelper::new::h3186630851955dff
2024-08-12T13:02:15.102734Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /builddir/xdg-desktop-portal-cosmic-1.0.0.alpha.1/src/wayland/mod.rs:252:26
2024-08-12T13:02:15.109894Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   14:     0x5614b2d113ba - <xdg_desktop_portal_cosmic::app::CosmicPortal as cosmic::app::Application>::init::h040fd25cf0b12780
2024-08-12T13:02:15.109900Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /builddir/xdg-desktop-portal-cosmic-1.0.0.alpha.1/src/app.rs:124:30
2024-08-12T13:02:15.114240Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   15:     0x5614b2aee6f3 - <cosmic::app::cosmic::Cosmic<T> as iced::wayland::Application>::new::hed909599d13c1011
2024-08-12T13:02:15.114247Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4da66f8/src/app/cosmic.rs:110:32
2024-08-12T13:02:15.119257Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   16:     0x5614b2cc9eff - <iced::wayland::Instance<A> as iced_sctk::application::Application>::new::h90fa3b27706109fb
2024-08-12T13:02:15.119264Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4da66f8/iced/src/wayland/mod.rs:167:30
2024-08-12T13:02:15.119276Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   17:     0x5614b2cc9eff - iced_sctk::application::run::{{closure}}::h81e49737e7810968
2024-08-12T13:02:15.119285Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4da66f8/iced/sctk/src/application.rs:238:26
2024-08-12T13:02:15.119304Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   18:     0x5614b2cc9eff - <cosmic::executor::single::Executor as iced_futures::executor::Executor>::enter::hac2ba372013a897e
2024-08-12T13:02:15.119312Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4da66f8/src/executor/single.rs:31:9
2024-08-12T13:02:15.119324Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   19:     0x5614b2cc9eff - iced_futures::runtime::Runtime<Executor,Sender,Message>::enter::h0aae6135e13a1ff0
2024-08-12T13:02:15.119335Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4da66f8/iced/futures/src/runtime.rs:51:9
2024-08-12T13:02:15.119342Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   20:     0x5614b2cc9eff - iced_sctk::application::run::h7001b9a46e3c19fa
2024-08-12T13:02:15.119348Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4da66f8/iced/sctk/src/application.rs:238:17
2024-08-12T13:02:15.119395Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   21:     0x5614b2ae8f4a - iced::wayland::Application::run::h649695d2c02495b7
2024-08-12T13:02:15.119403Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4da66f8/iced/src/wayland/mod.rs:130:12
2024-08-12T13:02:15.119424Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   22:     0x5614b2d11054 - cosmic::app::run::hed1e7f89b11f9fdd
2024-08-12T13:02:15.119433Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/git/checkouts/libcosmic-b367e32ffc370f4f/4da66f8/src/app/mod.rs:164:5
2024-08-12T13:02:15.119440Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   23:     0x5614b2d11054 - xdg_desktop_portal_cosmic::app::run::h36895c7c8e66806e
2024-08-12T13:02:15.119450Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /builddir/xdg-desktop-portal-cosmic-1.0.0.alpha.1/src/app.rs:22:5
2024-08-12T13:02:15.125692Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   24:     0x5614b2b49318 - xdg_desktop_portal_cosmic::main::{{closure}}::h9a7fc71ad29dd113
2024-08-12T13:02:15.125699Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /builddir/xdg-desktop-portal-cosmic-1.0.0.alpha.1/src/main.rs:268:5
2024-08-12T13:02:15.131375Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   25:     0x5614b2d952b6 - <core::pin::Pin<P> as core::future::future::Future>::poll::h9d945f1549c29751
2024-08-12T13:02:15.131382Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /builddir/rust-1.80.1/library/core/src/future/future.rs:123:9
2024-08-12T13:02:15.131405Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   26:     0x5614b2d952b6 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h20b1f5f780b40b64
2024-08-12T13:02:15.131414Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/scheduler/current_thread/mod.rs:659:57
2024-08-12T13:02:15.131423Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   27:     0x5614b2d952b6 - tokio::runtime::coop::with_budget::he6918b010820228a
2024-08-12T13:02:15.131432Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/coop.rs:107:5
2024-08-12T13:02:15.131440Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   28:     0x5614b2d952b6 - tokio::runtime::coop::budget::h75fbff1f91b88413
2024-08-12T13:02:15.131454Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/coop.rs:73:5
2024-08-12T13:02:15.131462Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   29:     0x5614b2d952b6 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h71bfebaebdcd901b
2024-08-12T13:02:15.131473Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/scheduler/current_thread/mod.rs:659:25
2024-08-12T13:02:15.131483Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   30:     0x5614b2d952b6 - tokio::runtime::scheduler::current_thread::Context::enter::h247a97c1cb809ce5
2024-08-12T13:02:15.131493Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/scheduler/current_thread/mod.rs:404:19
2024-08-12T13:02:15.131548Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   31:     0x5614b2a85c83 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hfdbbba869f18d02e
2024-08-12T13:02:15.131558Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/scheduler/current_thread/mod.rs:658:36
2024-08-12T13:02:15.131571Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   32:     0x5614b2a85c83 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h7e7554969b21d08c
2024-08-12T13:02:15.131581Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/scheduler/current_thread/mod.rs:737:68
2024-08-12T13:02:15.131593Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   33:     0x5614b2a85c83 - tokio::runtime::context::scoped::Scoped<T>::set::h4499fe5c36888109
2024-08-12T13:02:15.131602Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/context/scoped.rs:40:9
2024-08-12T13:02:15.131676Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   34:     0x5614b2d93bad - tokio::runtime::context::set_scheduler::{{closure}}::hf2210a619eba7bc4
2024-08-12T13:02:15.131685Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/context.rs:180:26
2024-08-12T13:02:15.131696Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   35:     0x5614b2d93bad - std::thread::local::LocalKey<T>::try_with::hfadc35d0057aa6bf
2024-08-12T13:02:15.131706Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /builddir/rust-1.80.1/library/std/src/thread/local.rs:283:12
2024-08-12T13:02:15.131717Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   36:     0x5614b2d93bad - std::thread::local::LocalKey<T>::with::h0759b490dcfc9cf4
2024-08-12T13:02:15.131727Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /builddir/rust-1.80.1/library/std/src/thread/local.rs:260:9
2024-08-12T13:02:15.131735Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   37:     0x5614b2d93bad - tokio::runtime::context::set_scheduler::h9d23abe69c91e1ca
2024-08-12T13:02:15.131745Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/context.rs:180:17
2024-08-12T13:02:15.131754Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   38:     0x5614b2d93bad - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h813b8e0e35617fcd
2024-08-12T13:02:15.131765Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/scheduler/current_thread/mod.rs:737:27
2024-08-12T13:02:15.131775Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   39:     0x5614b2d93bad - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h34f10bbc17f227b4
2024-08-12T13:02:15.131783Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/scheduler/current_thread/mod.rs:646:19
2024-08-12T13:02:15.131796Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   40:     0x5614b2d93bad - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h3c97ab8d721dd09c
2024-08-12T13:02:15.131808Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/scheduler/current_thread/mod.rs:175:28
2024-08-12T13:02:15.131816Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   41:     0x5614b2d93bad - tokio::runtime::context::runtime::enter_runtime::h41425fe4b644542b
2024-08-12T13:02:15.131829Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/context/runtime.rs:65:16
2024-08-12T13:02:15.131840Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   42:     0x5614b2d93bad - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h6a57dec46c2c8ec7
2024-08-12T13:02:15.131849Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/scheduler/current_thread/mod.rs:167:9
2024-08-12T13:02:15.137154Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   43:     0x5614b29c30bf - tokio::runtime::runtime::Runtime::block_on::hcec6fff3b260c986
2024-08-12T13:02:15.137160Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /host/cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/runtime.rs:347:47
2024-08-12T13:02:15.142376Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   44:     0x5614b2a61b98 - xdg_desktop_portal_cosmic::main::h9f5677d795761914
2024-08-12T13:02:15.142384Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /builddir/xdg-desktop-portal-cosmic-1.0.0.alpha.1/src/main.rs:268:5
2024-08-12T13:02:15.142407Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   45:     0x5614b2af9b66 - core::ops::function::FnOnce::call_once::h4b1ee84da59775bd
2024-08-12T13:02:15.142420Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /builddir/rust-1.80.1/library/core/src/ops/function.rs:250:5
2024-08-12T13:02:15.142426Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   46:     0x5614b2af9b66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h899b43807724a501
2024-08-12T13:02:15.142436Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /builddir/rust-1.80.1/library/std/src/sys_common/backtrace.rs:155:18
2024-08-12T13:02:15.142466Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   47:     0x5614b2ad49e2 - std::rt::lang_start::{{closure}}::he7d8851622c3a45c
2024-08-12T13:02:15.142475Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /builddir/rust-1.80.1/library/std/src/rt.rs:159:18
2024-08-12T13:02:15.142848Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   48:     0x5614b3ad338d - std::rt::lang_start_internal::hc646e7f57b408996
2024-08-12T13:02:15.142866Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   49:     0x5614b2a61c5c - main
2024-08-12T13:02:15.187453Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   50:     0x7fe1b81c0c4c - __libc_start_call_main
2024-08-12T13:02:15.187462Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
2024-08-12T13:02:15.187501Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   51:     0x7fe1b81c0d05 - __libc_start_main_impl
2024-08-12T13:02:15.187504Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at ./csu/../csu/libc-start.c:360:3
2024-08-12T13:02:15.187507Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   52:     0x5614b2999cb1 - _start
2024-08-12T13:02:15.187510Z  WARN xdg-desktop-portal-cosmic: cosmic_session:                                at /builddir/glibc-2.39/csu/../sysdeps/x86_64/start.S:115
2024-08-12T13:02:15.187518Z  WARN xdg-desktop-portal-cosmic: cosmic_session:   53:                0x0 - <unknown>
2024-08-12T13:02:15.224339Z ERROR launch_pad: process ' WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland WAYLAND_SOCKET=63 PORTAL_WAYLAND_SOCKET=60 /usr/libexec/xdg-desktop-portal-cosmic ' failed with code 101    
2024-08-12T13:02:15.224361Z ERROR cosmic_session: /usr/libexec/xdg-desktop-portal-cosmic exited with error 101

Full log: cosmic.log

system information:

  • xdg-desktop-portal-cosmic: 1.0.0-alpha.1
  • void linux 6.6.44 x86_64 glibc
  • gcc (GCC) 13.2.0
  • rustc 1.80.1 (3f5fd8dd4 2024-08-06)
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

1 participant