Application crashes on power profile detection #33

Closed
opened 2026-05-20 13:00:32 +00:00 by lambdajon · 1 comment
Owner

Panic error:


thread 'main' (22830) panicked at src/ui/power/general_page.rs:503:34:
called `Result::unwrap()` on an `Err` value: MethodError(OwnedErrorName("org.freedesktop.DBus.Error.ServiceUnknown"), Some("The name is not activatable"), Msg { type: Error, serial: 4294967295, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 5, body: Str, fds: [] })
2026-05-20T12:53:37.762091Z  INFO {}{task_name="org.freedesktop.UPower.PowerProfiles proxy caching"}: zbus::proxy: close time.busy=301µs time.idle=387µs
stack backtrace:
   0:     0x57c6bdd823e5 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h146b70d74c048d79
   1:     0x57c6bdbaf864 - core::fmt::write::h51386424c21d3e45
   2:     0x57c6bdd80995 - std::io::Write::write_fmt::hcb45ed6131cc7294
   3:     0x57c6bdd821a4 - std::panicking::panic_with_hook::h10639e56d0a2a34c
   4:     0x57c6bdd82919 - std::panicking::panic_handler::{{closure}}::h4728219671baa18c
   5:     0x57c6bdd828c9 - std::sys::backtrace::__rust_end_short_backtrace::h7dc7f75ff139bf56
   6:     0x57c6bdd828bc - __rustc[43118a2d2b012dd]::rust_begin_unwind
   7:     0x57c6bdb5937b - core::panicking::panic_fmt::h88511d505791b674
   8:     0x57c6bdb59261 - core::result::unwrap_failed::h5fdfc4aee1fba7be
   9:     0x57c6bdd597f4 - <settings::ui::power::general_page::GeneralPowerPageView as relm4::component::sync::traits::Component>::init::h5360d62434d27949
  10:     0x57c6bdcf5160 - <settings::ui::power::power_page::PowerModel as relm4::component::sync::traits::SimpleComponent>::init::hb8d0ed2249a57cc7
  11:     0x57c6bdce5985 - <settings::ui::window::App as relm4::component::sync::traits::SimpleComponent>::init::h125a14691509796d
  12:     0x57c6bdd5c46c - relm4::component::sync::builder::ComponentBuilder<C>::launch_with_input_channel::h06191fc59f6e00f5
  13:     0x57c6bdd5d068 - gio::auto::application::ApplicationExt::connect_startup::startup_trampoline::hd16d5c75c05386f5
  14:     0x7c3937fb418c - g_closure_invoke
  15:     0x7c3937fca0aa - signal_emit_unlocked_R.isra.0
  16:     0x7c3937fcbb2c - signal_emit_valist_unlocked
  17:     0x7c3937fd1784 - g_signal_emit_valist
  18:     0x7c3937fd184f - g_signal_emit
  19:     0x7c3937cff802 - g_application_register
  20:     0x7c3937cffd51 - g_application_real_local_command_line
  21:     0x7c3937d000b1 - g_application_run
  22:     0x57c6bdd64977 - gio::application::ApplicationExtManual::run_with_args::h9588fb0d12e60a98
  23:     0x57c6bdd60f37 - settings::main::hd56e5fde090df2a9
  24:     0x57c6bdd5c256 - std::sys::backtrace::__rust_begin_short_backtrace::hf4980ab79bbd3745
  25:     0x57c6bdd62bf9 - main
  26:     0x7c393742b285 - __libc_start_call_main
  27:     0x7c393742b338 - __libc_start_main_alias_2
  28:     0x57c6bdb69215 - _start
  29:                0x0 - <unknown>

thread 'main' (22830) panicked at library/core/src/panicking.rs:225:5:
panic in a function that cannot unwind
stack backtrace:
   0:     0x57c6bdd823e5 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h146b70d74c048d79
   1:     0x57c6bdbaf864 - core::fmt::write::h51386424c21d3e45
   2:     0x57c6bdd80995 - std::io::Write::write_fmt::hcb45ed6131cc7294
   3:     0x57c6bdd821a4 - std::panicking::panic_with_hook::h10639e56d0a2a34c
   4:     0x57c6bdd8294a - std::panicking::panic_handler::{{closure}}::h4728219671baa18c
   5:     0x57c6bdd828c9 - std::sys::backtrace::__rust_end_short_backtrace::h7dc7f75ff139bf56
   6:     0x57c6bdd828bc - __rustc[43118a2d2b012dd]::rust_begin_unwind
   7:     0x57c6bdb5958c - core::panicking::panic_nounwind_fmt::hcdf40bcd25586adf
   8:     0x57c6bdb59557 - core::panicking::panic_nounwind::h2b705d4d21f41314
   9:     0x57c6bdb595a3 - core::panicking::panic_cannot_unwind::ha539c3a36cf2e8a9
  10:     0x57c6bdd5d239 - gio::auto::application::ApplicationExt::connect_startup::startup_trampoline::hd16d5c75c05386f5
  11:     0x7c3937fb418c - g_closure_invoke
  12:     0x7c3937fca0aa - signal_emit_unlocked_R.isra.0
  13:     0x7c3937fcbb2c - signal_emit_valist_unlocked
  14:     0x7c3937fd1784 - g_signal_emit_valist
  15:     0x7c3937fd184f - g_signal_emit
  16:     0x7c3937cff802 - g_application_register
  17:     0x7c3937cffd51 - g_application_real_local_command_line
  18:     0x7c3937d000b1 - g_application_run
  19:     0x57c6bdd64977 - gio::application::ApplicationExtManual::run_with_args::h9588fb0d12e60a98
  20:     0x57c6bdd60f37 - settings::main::hd56e5fde090df2a9
  21:     0x57c6bdd5c256 - std::sys::backtrace::__rust_begin_short_backtrace::hf4980ab79bbd3745
  22:     0x57c6bdd62bf9 - main
  23:     0x7c393742b285 - __libc_start_call_main
  24:     0x7c393742b338 - __libc_start_main_alias_2
  25:     0x57c6bdb69215 - _start
  26:                0x0 - <unknown>
thread caused non-unwinding panic. aborting.
zsh: abort (core dumped)  nix run

Panic error: ``` thread 'main' (22830) panicked at src/ui/power/general_page.rs:503:34: called `Result::unwrap()` on an `Err` value: MethodError(OwnedErrorName("org.freedesktop.DBus.Error.ServiceUnknown"), Some("The name is not activatable"), Msg { type: Error, serial: 4294967295, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 5, body: Str, fds: [] }) 2026-05-20T12:53:37.762091Z INFO {}{task_name="org.freedesktop.UPower.PowerProfiles proxy caching"}: zbus::proxy: close time.busy=301µs time.idle=387µs stack backtrace: 0: 0x57c6bdd823e5 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h146b70d74c048d79 1: 0x57c6bdbaf864 - core::fmt::write::h51386424c21d3e45 2: 0x57c6bdd80995 - std::io::Write::write_fmt::hcb45ed6131cc7294 3: 0x57c6bdd821a4 - std::panicking::panic_with_hook::h10639e56d0a2a34c 4: 0x57c6bdd82919 - std::panicking::panic_handler::{{closure}}::h4728219671baa18c 5: 0x57c6bdd828c9 - std::sys::backtrace::__rust_end_short_backtrace::h7dc7f75ff139bf56 6: 0x57c6bdd828bc - __rustc[43118a2d2b012dd]::rust_begin_unwind 7: 0x57c6bdb5937b - core::panicking::panic_fmt::h88511d505791b674 8: 0x57c6bdb59261 - core::result::unwrap_failed::h5fdfc4aee1fba7be 9: 0x57c6bdd597f4 - <settings::ui::power::general_page::GeneralPowerPageView as relm4::component::sync::traits::Component>::init::h5360d62434d27949 10: 0x57c6bdcf5160 - <settings::ui::power::power_page::PowerModel as relm4::component::sync::traits::SimpleComponent>::init::hb8d0ed2249a57cc7 11: 0x57c6bdce5985 - <settings::ui::window::App as relm4::component::sync::traits::SimpleComponent>::init::h125a14691509796d 12: 0x57c6bdd5c46c - relm4::component::sync::builder::ComponentBuilder<C>::launch_with_input_channel::h06191fc59f6e00f5 13: 0x57c6bdd5d068 - gio::auto::application::ApplicationExt::connect_startup::startup_trampoline::hd16d5c75c05386f5 14: 0x7c3937fb418c - g_closure_invoke 15: 0x7c3937fca0aa - signal_emit_unlocked_R.isra.0 16: 0x7c3937fcbb2c - signal_emit_valist_unlocked 17: 0x7c3937fd1784 - g_signal_emit_valist 18: 0x7c3937fd184f - g_signal_emit 19: 0x7c3937cff802 - g_application_register 20: 0x7c3937cffd51 - g_application_real_local_command_line 21: 0x7c3937d000b1 - g_application_run 22: 0x57c6bdd64977 - gio::application::ApplicationExtManual::run_with_args::h9588fb0d12e60a98 23: 0x57c6bdd60f37 - settings::main::hd56e5fde090df2a9 24: 0x57c6bdd5c256 - std::sys::backtrace::__rust_begin_short_backtrace::hf4980ab79bbd3745 25: 0x57c6bdd62bf9 - main 26: 0x7c393742b285 - __libc_start_call_main 27: 0x7c393742b338 - __libc_start_main_alias_2 28: 0x57c6bdb69215 - _start 29: 0x0 - <unknown> thread 'main' (22830) panicked at library/core/src/panicking.rs:225:5: panic in a function that cannot unwind stack backtrace: 0: 0x57c6bdd823e5 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h146b70d74c048d79 1: 0x57c6bdbaf864 - core::fmt::write::h51386424c21d3e45 2: 0x57c6bdd80995 - std::io::Write::write_fmt::hcb45ed6131cc7294 3: 0x57c6bdd821a4 - std::panicking::panic_with_hook::h10639e56d0a2a34c 4: 0x57c6bdd8294a - std::panicking::panic_handler::{{closure}}::h4728219671baa18c 5: 0x57c6bdd828c9 - std::sys::backtrace::__rust_end_short_backtrace::h7dc7f75ff139bf56 6: 0x57c6bdd828bc - __rustc[43118a2d2b012dd]::rust_begin_unwind 7: 0x57c6bdb5958c - core::panicking::panic_nounwind_fmt::hcdf40bcd25586adf 8: 0x57c6bdb59557 - core::panicking::panic_nounwind::h2b705d4d21f41314 9: 0x57c6bdb595a3 - core::panicking::panic_cannot_unwind::ha539c3a36cf2e8a9 10: 0x57c6bdd5d239 - gio::auto::application::ApplicationExt::connect_startup::startup_trampoline::hd16d5c75c05386f5 11: 0x7c3937fb418c - g_closure_invoke 12: 0x7c3937fca0aa - signal_emit_unlocked_R.isra.0 13: 0x7c3937fcbb2c - signal_emit_valist_unlocked 14: 0x7c3937fd1784 - g_signal_emit_valist 15: 0x7c3937fd184f - g_signal_emit 16: 0x7c3937cff802 - g_application_register 17: 0x7c3937cffd51 - g_application_real_local_command_line 18: 0x7c3937d000b1 - g_application_run 19: 0x57c6bdd64977 - gio::application::ApplicationExtManual::run_with_args::h9588fb0d12e60a98 20: 0x57c6bdd60f37 - settings::main::hd56e5fde090df2a9 21: 0x57c6bdd5c256 - std::sys::backtrace::__rust_begin_short_backtrace::hf4980ab79bbd3745 22: 0x57c6bdd62bf9 - main 23: 0x7c393742b285 - __libc_start_call_main 24: 0x7c393742b338 - __libc_start_main_alias_2 25: 0x57c6bdb69215 - _start 26: 0x0 - <unknown> thread caused non-unwinding panic. aborting. zsh: abort (core dumped) nix run ```
Author
Owner
Failed to read "/sys/class/power_supply/BAT0/charge_control_end_threshold": No such file or directory (os error 2)
POWER MODE: Unsupported



(settings:14060): Gtk-WARNING **: 18:55:49.639: Failed to set text 'Language & tool for relational models' from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &amp;

(settings:14060): GStreamer-Play-ERROR **: 18:55:49.761: GstPlay: 'playbin3' element not found, please check your setup
error: Recipe `run` was terminated on line 34 by signal 5
``` Failed to read "/sys/class/power_supply/BAT0/charge_control_end_threshold": No such file or directory (os error 2) POWER MODE: Unsupported (settings:14060): Gtk-WARNING **: 18:55:49.639: Failed to set text 'Language & tool for relational models' from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &amp; (settings:14060): GStreamer-Play-ERROR **: 18:55:49.761: GstPlay: 'playbin3' element not found, please check your setup error: Recipe `run` was terminated on line 34 by signal 5 ```
akmal changed title from If battarey profile not exists application crashed to Application crashes on power profile detection 2026-05-20 14:04:53 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
xinux/settings#33
No description provided.