Crash/segfault on `GET /css/vaultwarden.css` (v1.37.3 regression)
Prerequisites
- I have searched the existing Closed AND Open Issues AND Discussions
- I have searched and read the documentation
Vaultwarden Support String
Not available, read for more information
Vaultwarden Build Version
v1.37.3
Deployment method
Official Container Image
Custom deployment method
Rootless podman using the official OCI image.
Nothing interesting, just the exact translation of the official docker-compose file using podlet:
[Container]
ContainerName=vaultwarden
Image=vaultwarden/server:latest
EnvironmentFile=/srv/services/services/vaultwarden/.env
PublishPort=8008:80
Volume=/srv/services/services/vaultwarden/vw-data:/data/
AddHost=pocketid.example.com:169.254.1.2
[Service]
Restart=always
[Install]
WantedBy=default.targetReverse Proxy
caddy v2.11.4
Host/Server Operating System
Linux
Operating System Version
Raspbian 13 (trixie) (ARM64)
Clients
Web Vault
Client Version
Firefox v156 & Chrome v153.0.8010.47
Steps To Reproduce
Assuming 'vaultwarden.example.com' is the landing page for vaultwarden.
- Go to 'vaultwarden.example.com`
- See the webpage stop loading in the middle of rendering and see the container crash with a segfault and subsequently automatically restart. The request resulting in the crash is
GET /css/vaultwarden.css. Henceforth named "CRASH No1". - Since it crashed when trying to render the css files, creating empty dummy
scss/vaultwarden.scss.hbsandscss/user.vaultwarden.scss.hbsfixed the crash. - Unfortunately accessing the
/adminroute also errors out, even after the css fix. Could be unrelated since it doesn't segfault but looks eerily similar. Henceforth named "CRASH No2"
Expected Result
Preferably no crash
Actual Result
Unfortunately crash
Logs
## CRASH No1
Sep 19 03:47:43 hermes vaultwarden[670915]: /--------------------------------------------------------------------\
Sep 19 03:47:43 hermes vaultwarden[670915]: | Starting Vaultwarden |
Sep 19 03:47:43 hermes vaultwarden[670915]: | Version 1.37.3 |
Sep 19 03:47:43 hermes vaultwarden[670915]: |--------------------------------------------------------------------|
Sep 19 03:47:43 hermes vaultwarden[670915]: | This is an *unofficial* Bitwarden implementation, DO NOT use the |
Sep 19 03:47:43 hermes vaultwarden[670915]: | official channels to report bugs/features, regardless of client. |
Sep 19 03:47:43 hermes vaultwarden[670915]: | Send usage/configuration questions or feature requests to: |
Sep 19 03:47:43 hermes vaultwarden[670915]: | https://github.com/dani-garcia/vaultwarden/discussions or |
Sep 19 03:47:43 hermes vaultwarden[670915]: | https://vaultwarden.discourse.group/ |
Sep 19 03:47:43 hermes vaultwarden[670915]: | Report suspected bugs/issues in the software itself at: |
Sep 19 03:47:43 hermes vaultwarden[670915]: | https://github.com/dani-garcia/vaultwarden/issues/new |
Sep 19 03:47:43 hermes vaultwarden[670915]: \--------------------------------------------------------------------/
Sep 19 03:47:43 hermes vaultwarden[670915]:
Sep 19 03:47:44 hermes vaultwarden[670915]: [2026-09-19 01:47:44.151][start][INFO] Rocket has launched from http://0.0.0.0:80
Sep 19 03:48:03 hermes vaultwarden[670915]: [2026-09-19 01:48:03.390][vaultwarden::api::web][WARN] Loading scss/vaultwarden.scss.hbs or scss>
Sep 19 03:48:05 hermes vaultwarden[671074]: /--------------------------------------------------------------------\
Sep 19 03:48:05 hermes vaultwarden[671074]: | Starting Vaultwarden |
Sep 19 03:48:05 hermes vaultwarden[671074]: | Version 1.37.3 |
Sep 19 03:48:05 hermes vaultwarden[671074]: |--------------------------------------------------------------------|
Sep 19 03:48:05 hermes vaultwarden[671074]: | This is an *unofficial* Bitwarden implementation, DO NOT use the |
Sep 19 03:48:05 hermes vaultwarden[671074]: | official channels to report bugs/features, regardless of client. |
Sep 19 03:48:05 hermes vaultwarden[671074]: | Send usage/configuration questions or feature requests to: |
Sep 19 03:48:05 hermes vaultwarden[671074]: | https://github.com/dani-garcia/vaultwarden/discussions or |
Sep 19 03:48:05 hermes vaultwarden[671074]: | https://vaultwarden.discourse.group/ |
Sep 19 03:48:05 hermes vaultwarden[671074]: | Report suspected bugs/issues in the software itself at: |
Sep 19 03:48:05 hermes vaultwarden[671074]: | https://github.com/dani-garcia/vaultwarden/issues/new |
Sep 19 03:48:05 hermes vaultwarden[671074]: \--------------------------------------------------------------------/
Sep 19 03:48:05 hermes vaultwarden[671074]:
Sep 19 03:48:05 hermes vaultwarden[671074]: [2026-09-19 01:48:05.240][start][INFO] Rocket has launched from http://0.0.0.0:80
Sep 19 03:48:06 hermes vaultwarden[671074]: [2026-09-19 01:48:06.624][vaultwarden::api::web][WARN] Loading scss/vaultwarden.scss.hbs or scss>
## CRASH No2
Sep 19 04:41:46 hermes vaultwarden[683504]: /--------------------------------------------------------------------\
Sep 19 04:41:46 hermes vaultwarden[683504]: | Starting Vaultwarden |
Sep 19 04:41:46 hermes vaultwarden[683504]: | Version 1.37.3 |
Sep 19 04:41:46 hermes vaultwarden[683504]: |--------------------------------------------------------------------|
Sep 19 04:41:46 hermes vaultwarden[683504]: | This is an *unofficial* Bitwarden implementation, DO NOT use the |
Sep 19 04:41:46 hermes vaultwarden[683504]: | official channels to report bugs/features, regardless of client. |
Sep 19 04:41:46 hermes vaultwarden[683504]: | Send usage/configuration questions or feature requests to: |
Sep 19 04:41:46 hermes vaultwarden[683504]: | https://github.com/dani-garcia/vaultwarden/discussions or |
Sep 19 04:41:46 hermes vaultwarden[683504]: | https://vaultwarden.discourse.group/ |
Sep 19 04:41:46 hermes vaultwarden[683504]: | Report suspected bugs/issues in the software itself at: |
Sep 19 04:41:46 hermes vaultwarden[683504]: | https://github.com/dani-garcia/vaultwarden/issues/new |
Sep 19 04:41:46 hermes vaultwarden[683504]: \--------------------------------------------------------------------/
Sep 19 04:41:46 hermes vaultwarden[683504]:
Sep 19 04:41:46 hermes vaultwarden[683504]: [2026-09-19 02:41:46.232][start][INFO] Rocket has launched from http://0.0.0.0:80
Sep 19 04:41:46 hermes vaultwarden[683504]: [2026-09-19 02:41:46.696][request][INFO] GET /admin
Sep 19 04:41:46 hermes vaultwarden[683504]: [2026-09-19 02:41:46.697][error][ERROR] Handlebars.
Sep 19 04:41:46 hermes vaultwarden[683504]: [CAUSE] RenderError {
Sep 19 04:41:46 hermes vaultwarden[683504]: template_name: Some(
Sep 19 04:41:48 hermes vaultwarden[683596]: /--------------------------------------------------------------------\
Sep 19 04:41:48 hermes vaultwarden[683596]: | Starting Vaultwarden |
Sep 19 04:41:48 hermes vaultwarden[683596]: | Version 1.37.3 |
Sep 19 04:41:48 hermes vaultwarden[683596]: |--------------------------------------------------------------------|
Sep 19 04:41:48 hermes vaultwarden[683596]: | This is an *unofficial* Bitwarden implementation, DO NOT use the |
Sep 19 04:41:48 hermes vaultwarden[683596]: | official channels to report bugs/features, regardless of client. |
Sep 19 04:41:48 hermes vaultwarden[683596]: | Send usage/configuration questions or feature requests to: |
Sep 19 04:41:48 hermes vaultwarden[683596]: | https://github.com/dani-garcia/vaultwarden/discussions or |
Sep 19 04:41:48 hermes vaultwarden[683596]: | https://vaultwarden.discourse.group/ |
Sep 19 04:41:48 hermes vaultwarden[683596]: | Report suspected bugs/issues in the software itself at: |
Sep 19 04:41:48 hermes vaultwarden[683596]: | https://github.com/dani-garcia/vaultwarden/issues/new |
Sep 19 04:41:48 hermes vaultwarden[683596]: \--------------------------------------------------------------------/
Sep 19 04:41:48 hermes vaultwarden[683596]:
Sep 19 04:41:48 hermes vaultwarden[683596]: [2026-09-19 02:41:48.630][start][INFO] Rocket has launched from http://0.0.0.0:80
Sep 19 04:44:34 hermes vaultwarden[683596]: [2026-09-19 02:44:34.034][request][INFO] GET /admin
Sep 19 04:44:34 hermes vaultwarden[683596]: [2026-09-19 02:44:34.034][error][ERROR] Handlebars.
Sep 19 04:44:34 hermes vaultwarden[683596]: [CAUSE] RenderError {
Sep 19 04:44:34 hermes vaultwarden[683596]: template_name: Some(Screenshots or Videos
No response
Additional Context
This exact set up worked just fine on my x86 server. After migrating everything, including the quadlet and volumes to my Raspberry Pi and updating my reverse proxy, I could no longer access the web page. Interestingly syncing inside my Bitwarden firefox browser extension seemed to work. At first I thought it was an Arm-specific bug but after a closer expection, I noticed my x86 server was running v1.37.2 and my Raspberry Pi pulled in v1.37.3. Reverting the Pi to .2 fixes both crashes.
Since there were no crash logs, I installed gdb into the container and attached it to vaultwarden. Using which I managed to get out this backtrace for CRASH No1:
Thread 38 "rocket-worker-t" received signal SIGSEGV, Segmentation fault.
0x0000005587dd8dbc in <handlebars::error::RenderErrorReason as core::fmt::Debug>::fmt ()
#0 0x0000005587dd8dbc in <handlebars::error::RenderErrorReason as core::fmt::Debug>::fmt ()
#1 0x0000005587eb2878 in <core::fmt::builders::DebugStruct>::field ()
#2 0x0000005587eb4910 in <core::fmt::Formatter>::debug_struct_field5_finish ()
#3 0x0000005587dd2b08 in <handlebars::error::RenderError as core::fmt::Debug>::fmt ()
#4 0x0000005587eb0108 in core::fmt::write ()
#5 0x0000005587af3644 in <vaultwarden::error::Error as core::fmt::Debug>::fmt ()
#6 0x0000005587eb0024 in core::fmt::write ()
#7 0x0000005588546cb0 in <std::panicking::panic_handler::FormatStringPayload as core::panic::PanicPayload>::get ()
#8 0x0000005588529458 in std::panicking::panic_with_hook ()
#9 0x0000005588546ae8 in std::panicking::panic_handler::{closure#0} ()
#10 0x0000005588546aa4 in std::sys::backtrace::__rust_end_short_backtrace::<std::panicking::panic_handler::{closure#0}, !> ()
#11 0x0000005588546f8c in __rustc::rust_begin_unwind ()
#12 0x0000005587289930 in core::panicking::panic_fmt ()
#13 0x0000005587289b94 in core::result::unwrap_failed ()
#14 0x00000055878d9df0 in <vaultwarden::api::web::vaultwarden_css>::into_info::monomorphized_function::{closure#0} ()
#15 0x000000558760ce68 in <rocket::rkt::Rocket<rocket::phase::Orbit>>::route::{closure#0} ()
#16 0x00000055875e1a34 in rocket::server::hyper_service_fn::{closure#0}::{closure#0} ()
#17 0x000000558740563c in tokio::runtime::task::raw::poll::<rocket::server::hyper_service_fn::{closure#0}::{closure#0}, alloc::sync::Arc<tokio::runtime::scheduler::multi_thread::handle::Handle>> ()
#18 0x0000005588571944 in <tokio::runtime::scheduler::multi_thread::worker::Context>::run_task ()
#19 0x00000055885700e4 in tokio::runtime::scheduler::multi_thread::worker::run ()Looks like .unwrap() is being called inside a Debug impl.
CRASH No2 seems to propagate and return the error as expected but still crashes the whole process.
Source: dani-garcia/vaultwarden