diff options
-rw-r--r-- | doc/de/weechat_user.de.adoc | 14 | ||||
-rw-r--r-- | doc/en/weechat_user.en.adoc | 11 | ||||
-rw-r--r-- | doc/fr/weechat_user.fr.adoc | 12 | ||||
-rw-r--r-- | doc/it/weechat_user.it.adoc | 14 | ||||
-rw-r--r-- | doc/ja/weechat_user.ja.adoc | 14 | ||||
-rw-r--r-- | doc/pl/weechat_user.pl.adoc | 14 |
6 files changed, 72 insertions, 7 deletions
diff --git a/doc/de/weechat_user.de.adoc b/doc/de/weechat_user.de.adoc index 0748f745e..4abb2375e 100644 --- a/doc/de/weechat_user.de.adoc +++ b/doc/de/weechat_user.de.adoc @@ -397,6 +397,10 @@ Bei der Kompilierung mit CMake muss folgende Option gesetzt werden: $ cmake .. -DCMAKE_BUILD_TYPE=Debug ---- +// TRANSLATION MISSING +[[build_debug_address_sanitizer]] +==== Build with debug options and address sanitizer + Sie können zusätzlich den Adressbereiniger aktivieren, der bei Problemen sofort zum Absturz von WeeChat führt: @@ -408,7 +412,15 @@ $ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_C Sie sollten die Adressbereinigung nur aktivieren, wenn Sie versuchen, einen Absturz zu provozieren. Dies wird im produktivem Einsatz nicht empfohlen. -Wird ein Binärpaket genutzt dann muss zusätzlich das Paket _weechat-dbg_ installiert werden. +// TRANSLATION MISSING +Then once compiled and installed, you must run WeeChat like this: + +---- +$ ASAN_OPTIONS="detect_odr_violation=0 log_path=asan.log" weechat +---- + +// TRANSLATION MISSING +In case of crash, the backtrace is in file `asan.log`. [[core_files]] ==== Core Dateien diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index e06a27a59..98d9d5fcf 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -390,6 +390,9 @@ If you're compiling with CMake: $ cmake .. -DCMAKE_BUILD_TYPE=Debug ---- +[[build_debug_address_sanitizer]] +==== Build with debug options and address sanitizer + You can additionally enable the address sanitizer, which causes WeeChat to crash immediately in case of problem: @@ -401,7 +404,13 @@ $ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_C You should enable address sanitizer only if you're trying to cause a crash, this is not recommended in production. -If you installed a binary package, then install package _weechat-dbg_. +Then once compiled and installed, you must run WeeChat like this: + +---- +$ ASAN_OPTIONS="detect_odr_violation=0 log_path=asan.log" weechat +---- + +In case of crash, the backtrace is in file `asan.log`. [[core_files]] ==== Core files diff --git a/doc/fr/weechat_user.fr.adoc b/doc/fr/weechat_user.fr.adoc index 715c9478f..90c868226 100644 --- a/doc/fr/weechat_user.fr.adoc +++ b/doc/fr/weechat_user.fr.adoc @@ -401,6 +401,9 @@ Si vous compilez avec CMake : $ cmake .. -DCMAKE_BUILD_TYPE=Debug ---- +[[build_debug_address_sanitizer]] +==== Construction avec options de debug et la vérification des adresses + Vous pouvez aussi activer la vérification des adresses (« address sanitizer »), ce qui provoquera immédiatement un plantage de WeeChat en cas de problème : @@ -412,8 +415,13 @@ $ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_C Vous ne devriez activer la vérification des adresses que si vous essayez de provoquer un plantage, ceci n'est pas recommandé en production. -Si vous avez installé un paquet binaire, alors installez le paquet -_weechat-dbg_. +Une fois compilé et installé, vous devez lancer WeeChat comme ceci : + +---- +$ ASAN_OPTIONS="detect_odr_violation=0 log_path=asan.log" weechat +---- + +En cas de plantage, la trace est dans le fichier `asan.log`. [[core_files]] ==== Fichiers core diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index 49993db80..e9dfae0f5 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -435,6 +435,10 @@ $ cmake .. -DCMAKE_BUILD_TYPE=Debug ---- // TRANSLATION MISSING +[[build_debug_address_sanitizer]] +==== Build with debug options and address sanitizer + +// TRANSLATION MISSING You can additionally enable the address sanitizer, which causes WeeChat to crash immediately in case of problem: @@ -447,7 +451,15 @@ $ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_C You should enable address sanitizer only if you're trying to cause a crash, this is not recommended in production. -Se è stato installato il pacchetto binario, installare il pacchetto _weechat-gdb_. +// TRANSLATION MISSING +Then once compiled and installed, you must run WeeChat like this: + +---- +$ ASAN_OPTIONS="detect_odr_violation=0 log_path=asan.log" weechat +---- + +// TRANSLATION MISSING +In case of crash, the backtrace is in file `asan.log`. [[core_files]] ==== File core diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc index 8341c4f55..23f0104ff 100644 --- a/doc/ja/weechat_user.ja.adoc +++ b/doc/ja/weechat_user.ja.adoc @@ -401,6 +401,10 @@ $ cmake .. -DCMAKE_BUILD_TYPE=Debug ---- // TRANSLATION MISSING +[[build_debug_address_sanitizer]] +==== Build with debug options and address sanitizer + +// TRANSLATION MISSING You can additionally enable the address sanitizer, which causes WeeChat to crash immediately in case of problem: @@ -413,7 +417,15 @@ $ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_C You should enable address sanitizer only if you're trying to cause a crash, this is not recommended in production. -バイナリパッケージをインストールする場合は、_weechat-dbg_ パッケージをインストールしてください。 +// TRANSLATION MISSING +Then once compiled and installed, you must run WeeChat like this: + +---- +$ ASAN_OPTIONS="detect_odr_violation=0 log_path=asan.log" weechat +---- + +// TRANSLATION MISSING +In case of crash, the backtrace is in file `asan.log`. [[core_files]] ==== Core ファイル diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc index 4fc867bac..937a41b75 100644 --- a/doc/pl/weechat_user.pl.adoc +++ b/doc/pl/weechat_user.pl.adoc @@ -400,6 +400,10 @@ $ cmake .. -DCMAKE_BUILD_TYPE=Debug ---- // TRANSLATION MISSING +[[build_debug_address_sanitizer]] +==== Build with debug options + +// TRANSLATION MISSING You can additionally enable the address sanitizer, which causes WeeChat to crash immediately in case of problem: @@ -412,7 +416,15 @@ $ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-fsanitize=address -DCMAKE_C You should enable address sanitizer only if you're trying to cause a crash, this is not recommended in production. -Jeśli zainstalowałeś pakiet binarny, doinstaluj paczkę _weechat-dbg_. +// TRANSLATION MISSING +Then once compiled and installed, you must run WeeChat like this: + +---- +$ ASAN_OPTIONS="detect_odr_violation=0 log_path=asan.log" weechat +---- + +// TRANSLATION MISSING +In case of crash, the backtrace is in file `asan.log`. [[core_files]] ==== CPliki core |