[libcamera-devel] [PATCH 0/2] LogCategory fixing

Tomi Valkeinen tomi.valkeinen at ideasonboard.com
Fri Aug 26 13:39:29 CEST 2022


Hi,

I hit these log issues with python unittests, which create and destruct
CameraManagers multiple times. Apparently this is not a common thing to
do...

Apparently the logging system has not been created with unloadable
plugin libraries in mind.

 Tomi

Tomi Valkeinen (2):
  libcamera: base: log: Fix use of freed name
  libcamera: base: log: Fix LogCategory creation issues

 include/libcamera/base/log.h | 10 ++++---
 src/libcamera/base/log.cpp   | 53 ++++++++++++++++++++++++++++++------
 2 files changed, 51 insertions(+), 12 deletions(-)

-- 
2.34.1



More information about the libcamera-devel mailing list