dlt-daemon icon indicating copy to clipboard operation
dlt-daemon copied to clipboard

All stored logs are the same log, with the same timestamp and content

Open yfan0000004 opened this issue 1 year ago • 5 comments

It looks like the same log has always been read from the buffer

yfan0000004 avatar Jun 07 '24 03:06 yfan0000004

image

yfan0000004 avatar Jun 07 '24 03:06 yfan0000004

Could you give us more detailed information about the scenario? Might it be called multiple times to log this log?

minminlittleshrimp avatar Jun 08 '24 23:06 minminlittleshrimp

All log files (approximately 200MB) show only this one log, and even if they are called multiple times, they will not be the same timestamp

yfan0000004 avatar Jun 12 '24 05:06 yfan0000004

Hello @yfan0000004 , the given information is not enough to anaylze the issue. Can you please try to gather more information which may lead to the root cause of the issue? E.g.: -Which DLT-function is used to generate the log. DLT_LOG_TS() may enforce the same TS for each message.

  • Have you reproduced the issue on latest DLT-deamon?
  • Which OS are you running on? Does your implementation of clock_gettime(CLOCK_MONOTONIC,...) work correctly?

michael-methner avatar Jun 12 '24 09:06 michael-methner

Hello @yfan0000004 Could you kindly check that if there any recall for re-registration of the DltContext data structure? Maybe the issue comes from struct initialization, it is my suggestion to create and access struct using pointer.

minminlittleshrimp avatar Jul 16 '24 09:07 minminlittleshrimp