-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QNX系统中,多个dlt.gz文件导出来之后,出现几个文件无法解压的问题 #624
Comments
QNX: 700 , 最新的dlt-daemon patch: gzip -d xxx_08_20240424-144242.dlt.gz |
Hello @yfan0000004 |
Why trying to compress the already-compressed file here? |
In the QNX system, after exporting multiple dlt.gz files, there are several issues where the files cannot be decompressed. |
The packaged. gz files are all 10MB, but the content size of the file that cannot be decompressed is much smaller than the normal file content size that can be decompressed. It is speculated that DLT performed gz packaging operation before the log file was fully written, resulting in packaging errors and inability to decompress |
Checking, seem it a real issue, I also cannot unzip the not-fully-up-to-size gz file
|
Is the failure to decompress this file due to the file not being fully written, resulting in the failure to execute gzclose(). Our problem is that files that have been fully written and packaged cannot be decompressed, not files that have not been written yet cannot be decompressed. Of course, your problem should also be solved |
[FILTER1] dlt-logstorage-ctrl -c 0 -p /var/log/ : export logs after the log is taken off disk But the problem still arises ? |
I confirm, it's a bug, dlt internal log showing something wrong with flushing data sync on_msg (sync directly) inside dlt logstorage function.
Will check and answer. |
|
There is a fix in the past for many issues in gzip, I might link it to this issue, since I observed this issue at that time, but not fixed yet 😀 |
OK,do you still plan to solve this problem? |
Sure, let me check and provide a fix asap. |
Hello, you can try replacing the zlib library with a higher version and then verifying it again. |
The currently discovered issue with the inability to decompress the gz compressed logs of DLT is that the inability to decompress occurs only when a gz file is not fully written and is powered off and restarted; |
我们对无法解压的文件点击查看文件内部,其中的.dlt文件大小明显小于正常可以解压文件内部.dlt文件的大小,请帮忙看下
The text was updated successfully, but these errors were encountered: