Skip to content

dde-file-manager freeze with invalid symbol links #11468

@zwpwjwtz

Description

@zwpwjwtz

SUMMARY | 问题概要

When a directory contains a symbol link that points to a non-existing entry of itself, DDE File Manager freezes when opening that directory.

SOFTWARE/OS VERSIONS | 软件/系统版本信息

Distribution: Deepin 23
Package: dde-file-manager (6.5.10.4)

PRE-REQUIREMENT | 预置条件

None.

STEPS TO REPRODUCE | 复现步骤

  1. Create a directory and an invalid link with the following commands:
mkdir test && cd test
ln -s ../test/1
  1. Open the directory with DDE File Manager:
dde-file-manager .

OBSERVED RESULT | 观察到的结果

The program freeze with 100% CPU usage. A SIG_TERM won't help; you'll need a SIG_KILL to terminate the process.

EXPECTED RESULT | 期望的结果

The file manager shall open the directory and properly show the invalid symbol link in the file list (perhaps using the "invalid file" icon from the corresponding theme).

ADDITIONAL INFORMATION | 额外补充

No response

Metadata

Metadata

Assignees

Labels

triage | need confirmationother | 需要确认一下进一步确认, 才能够更好的归类

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions