[gjs: 6/9] CI: Fix cut off stack traces in sanitizer jobs
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 6/9] CI: Fix cut off stack traces in sanitizer jobs
- Date: Sat, 2 Jan 2021 20:52:41 +0000 (UTC)
commit ae6f5e5e8a5ac06b9d0edc13823883ee4958508e
Author: Philip Chimento <philip chimento gmail com>
Date: Thu Dec 10 17:56:37 2020 -0800
CI: Fix cut off stack traces in sanitizer jobs
According to the ASAN FAQ, run with fast_unwind_on_malloc=0 if your stack
traces are getting cut off after malloc().
meson.build | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index c486b935..7e368f0f 100644
--- a/meson.build
+++ b/meson.build
@@ -598,8 +598,9 @@ tests_environment.prepend('GI_TYPELIB_PATH', meson.current_build_dir(),
tests_environment.prepend('LD_LIBRARY_PATH', meson.current_build_dir(),
js_tests_builddir)
tests_environment.set('G_FILENAME_ENCODING', 'latin1')
-tests_environment.set('LSAN_OPTIONS', 'exitcode=23,suppressions=@0@'.format(
- meson.current_source_dir() / 'installed-tests' / 'extra' / 'lsan.supp'))
+tests_environment.set('LSAN_OPTIONS',
+ 'fast_unwind_on_malloc=0,exitcode=23,suppressions=@0@'.format(
+ meson.current_source_dir() / 'installed-tests' / 'extra' / 'lsan.supp'))
tests_environment.set('NO_AT_BRIDGE', '1')
tests_environment.set('GSETTINGS_SCHEMA_DIR', js_tests_builddir)
tests_environment.set('GSETTINGS_BACKEND', 'memory')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]