Segfault in greeter_widget_init when using Swedish (sv) locale on macOS
## Summary Zrythm 1.0.0 crashes with a segmentation fault in `greeter_widget_init` when the UI language is set to Swedish (`sv`) on macOS. ## Steps to Reproduce 1. Install Zrythm 1.0.0 on macOS (installer from zrythm.org) 2. Set language to Swedish in Preferences, or: `defaults write zrythm /org/zrythm/Zrythm/preferences/ui/general/language sv` 3. Restart Zrythm ## Actual Behavior Segmentation fault at startup. ## Backtrace ``` preferred lang: 'Svenska' (sv) setting locale to sv_FI.UTF-8 (found sv_FI.UTF-8) Fel: Segmentation fault: 11 4 libsystem_c.dylib __vfprintf + 4717 5 libsystem_c.dylib _vasprintf + 289 6 libglib-2.0.0.dylib g_vasprintf + 20 7 libglib-2.0.0.dylib g_strdup_printf + 155 8 zrythm greeter_widget_init + 145 13 zrythm greeter_widget_new + 72 14 zrythm zrythm_app_startup + 3741 ``` ## Root Cause The about/copyright format string has 5 `%s` placeholders: ``` %s-%s\n%s\n\n%s comes with ABSOLUTELY NO WARRANTY!\n...\nWrite comments and bugs to %s\n ``` The shipped Swedish translation only has 4 `%s` (the Copyright `%s` on line 2 is merged into line 1): ``` %s-%s Copyright (C) 2018-2020 Zrythms medarbetare\n\n%s kommer HELT UTAN GARANTI!\n...\n ``` `g_strdup_printf` reads an invalid pointer for the missing 5th argument, causing the segfault. ## Environment - Zrythm 1.0.0 (macOS installer, Apple Silicon) - macOS 15 (arm64) - No crash with English locale
issue