treeland/misc
JiDe Zhang 66193ba1bc chore: add ASAN environment variables
Add AddressSanitizer (ASAN) environment variables to the treeland
systemd service file. This aids in debugging memory-related issues
within treeland, particularly when running with ASAN enabled. The
`ASAN_SYMBOLIZER_PATH` variable points to the llvm-symbolizer, enabling
symbolization of ASAN reports. The `ASAN_OPTIONS` variable configures
ASAN to log its output to a specific file (`/tmp/treeland-asan`),
disables leak detection (due to false positives in some environments),
enables immediate abortion on error, and enables symbolization within
the log file. This change facilitates easier debugging of memory
corruption and other ASAN-detectable errors.

Influence:
1. Verify that ASAN logs are generated in the specified log file when
ASAN is enabled.
2. Ensure that the ASAN logs contain symbolized stack traces.
3. Confirm that treeland aborts when memory errors are detected with
ASAN enabled.

chore: 添加 ASAN 环境变量

将 AddressSanitizer (ASAN) 环境变量添加到 treeland systemd 服务文件中。
这有助于调试 treeland 中与内存相关的问题,尤其是在启用 ASAN 的情况下。
`ASAN_SYMBOLIZER_PATH` 变量指向 llvm-symbolizer,从而可以对 ASAN 报告
进行符号化。`ASAN_OPTIONS` 变量配置 ASAN 将其输出记录到特定文件 (`/tmp/
treeland-asan`),禁用泄漏检测(由于某些环境中的误报),在发生错误时立即
中止,并启用日志文件中的符号化。此更改有助于更轻松地调试内存损坏和其他
ASAN 可检测到的错误。

Influence:
1. 验证启用 ASAN 后,是否在指定的日志文件中生成 ASAN 日志。
2. 确保 ASAN 日志包含符号化的堆栈跟踪。
3. 确认在启用 ASAN 的情况下检测到内存错误时,treeland 会中止。
2025-10-16 21:36:37 +08:00
..
cmake fix: missing some licenses 2024-11-18 20:06:10 +08:00
dbus chore: code review for dir specification 2024-09-09 10:20:21 +08:00
dconfig fix: Separate DConfig object creation to another thread to avoid blocking 2025-09-11 19:06:22 +08:00
icons fix: adjust UI for greeter 2025-01-02 14:37:28 +08:00
interfaces chore: move treeland to system service 2024-12-20 15:06:21 +08:00
shaders chore: code review for dir specification 2024-09-09 10:20:21 +08:00
systemd chore: add ASAN environment variables 2025-10-16 21:36:37 +08:00
wayland-sessions feat: support start sessions other than treeland 2025-09-26 10:33:25 +08:00
CMakeLists.txt chore: remove dde portal screen cast configuration 2025-08-21 21:10:10 +08:00