David Vasek (dfec44ab) at 19 Mar 14:36
fixup! stats: rework and unify common parts of automatic and contro...
... and 16 more commits
David Vasek (2bfdc692) at 26 Feb 19:06
fixup! doc/troubleshooting: describe the usual cause of a Bus Error...
David Vasek (862c1ab6) at 26 Feb 18:51
fixup! doc/troubleshooting: describe the usual cause of a Bus Error...
I'm convinced that file truncate is the root cause. But as for the knotc
crash, the file truncate must happen during the time knotc reload
is being executed. Is this possible in your test setup?
Hello, apparently you are reading and writing to the mmaped configuration file at the same time. Once you open the file for writing from your python script, it's likely truncated to zero first and subsequent read from knotd fails with the bus error you mentioned, because the mmaped memory doesn't exist anymore at the moment of reading. See #871 (comment 288633).
Mayby I was too quick with the answer. Are you manipulating the config via kontc
only from your python script?
David Vasek (bd979306) at 14 Feb 16:40
doc: make the page wider with sphinx_rtd_theme
David Vasek (da177a3a) at 12 Feb 20:46
contrib: silence a diagnostic pragma warning when Clang pretends to...
... and 6 more commits
David Vasek (2d66c1e9) at 12 Feb 20:44
doc: and some named anchors to sections
David Vasek (ac1c372c) at 12 Feb 17:18
contrib: silence a diagnostic pragma warning when Clang pretends to...
David Vasek (b9fac50c) at 05 Feb 11:45
This fixes the false-positive warning 'may be used uninitialized' reported by GCC 11 and 12 (and possibly other versions) when compiling with '--with-sanitizer=address'.
It likely relates to: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109550 or to some of these known bugs in GCC: https://gcc.gnu.org/bugzilla/buglist.cgi?quicksearch=may%20be%20used%20uninitialized
David Vasek (b9fac50c) at 05 Feb 11:23
mempool: silence a GCC false-positive warning when ASan is used
... and 5 more commits
David Vasek (ef80ddbf) at 02 Feb 19:31
doc: remove the list of algorithms supported by obsolete GnuTLS ver...
David Vasek (ef7ce979) at 29 Jan 15:51
mempool: silence a GCC false-positive warning when ASan is used