https://github.com/TokTok/c-toxcore/pull/2091 didn't check for null logger callback. https://github.com/TokTok/c-toxcore/pull/2094 fixed it. There should be a test to catch this.