diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 08:02:46 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 08:02:46 +0000 |
commit | e4e8d437fe47a4d97ab469fc9116e50ab1601c54 (patch) | |
tree | d573aafc30201b68be84aba1a44a8f5f2fc30d4e /doc/troubleshooting.rst | |
parent | Adding debian version 3.3.4-1.1. (diff) | |
download | knot-e4e8d437fe47a4d97ab469fc9116e50ab1601c54.tar.xz knot-e4e8d437fe47a4d97ab469fc9116e50ab1601c54.zip |
Merging upstream version 3.3.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/troubleshooting.rst')
-rw-r--r-- | doc/troubleshooting.rst | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/doc/troubleshooting.rst b/doc/troubleshooting.rst index 3d7c359..5bd1d90 100644 --- a/doc/troubleshooting.rst +++ b/doc/troubleshooting.rst @@ -9,7 +9,7 @@ First of all, check the logs. Enabling at least the ``warning`` message severity may help you to identify some problems. See the :ref:`log section` for details. -.. _Submitting a bugreport: +.. _Submitting a bugreport: Reporting bugs ============== @@ -46,7 +46,7 @@ addition at least the following information: If possible, please provide a minimal configuration file and zone files which can be used to reproduce the bug. -.. _Generating backtrace: +.. _Generating backtrace: Generating backtrace ==================== @@ -108,3 +108,16 @@ If you fail to get a backtrace of a running process using the previous method, you may try the single-purpose ``pstack`` utility:: $ pstack $(pidof knotd) > backtrace.txt + +.. _Bus error: + +Crash caused by a Bus error +=========================== + +Zone files and a configuration file are usually accessed as +`mmaped <https://pubs.opengroup.org/onlinepubs/9699919799/functions/mmap.html>`_ +files. If such files are changed or truncated at the same time when those files +are being loaded/reloaded by the program, it may result in `Bus error +(SIGBUS) <https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html>`_ +and a program crash. If you encounter a Bus error, first check that there isn't +a concurrent write access from an external program to the respective files. |