10 Star 0 Fork 45

src-openEuler/zip

分区满情况下zip压缩会有临时文件残留

已完成
缺陷
创建于  
2020-12-07 15:56
[root@openEuler mnt-dir]# ll
total 8.4M
-rw-r--r--. 1 root root  984 Dec  7 15:25 1.zip
-rw-r--r--. 1 root root   18 Dec  7 15:33 a
-rw-r--r--. 1 root root    0 Dec  7 15:26 ab
-rw-r--r--. 1 root root    0 Dec  7 15:32 abc
-rw-r--r--. 1 root root    0 Dec  7 15:25 c
-rw-r--r--. 1 root root 8.3M Dec  7 15:23 img
-rw-r--r--. 1 root root  52K Dec  7 15:24 img1
-rw-r--r--. 1 root root    0 Dec  7 15:24 img2
drwx------. 2 root root  12K Dec  7 15:22 lost+found
drwxr-xr-x. 2 root root 1.0K Dec  7 15:23 wj
[root@openEuler mnt-dir]# zip -r q.zip 1.zip
  adding: 1.zip (stored 0%)
zip I/O error: No space left on device
zip error: Temporary file failure (zidbMIMg)
free(): double free detected in tcache 2

[root@openEuler mnt-dir]# ll
total 8.4M
-rw-r--r--. 1 root root  984 Dec  7 15:25 1.zip
-rw-r--r--. 1 root root   18 Dec  7 15:33 a
-rw-r--r--. 1 root root    0 Dec  7 15:26 ab
-rw-r--r--. 1 root root    0 Dec  7 15:32 abc
-rw-r--r--. 1 root root    0 Dec  7 15:25 c
-rw-r--r--. 1 root root 8.3M Dec  7 15:23 img
-rw-r--r--. 1 root root  52K Dec  7 15:24 img1
-rw-r--r--. 1 root root    0 Dec  7 15:24 img2
drwx------. 2 root root  12K Dec  7 15:22 lost+found
drwxr-xr-x. 2 root root 1.0K Dec  7 15:23 wj
-rw-------. 1 root root    0 Dec  7 15:55 zidbMIMg

评论 (1)

ltx 创建了缺陷 4年前
ltx 关联仓库设置为src-openEuler/zip 4年前
展开全部操作日志

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936 5601591 lutianxiong 1587133339
1
https://gitee.com/src-openeuler/zip.git
git@gitee.com:src-openeuler/zip.git
src-openeuler
zip
zip

搜索帮助