Skip to content

[Bug]: the rag_tokenizer has infinite recursive in dfs_() #6085

Open
@trexliu

Description

@trexliu

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

RAGFlow workspace code commit ID

d447392

RAGFlow image version

0.17.1

Other environment information

Actual behavior

when the input has chinese words like "一一一一一一一一一一一一一一一十一十一十一十一十一十一十一十一十一一一一一一十十十十十十十二十二十二十二十二十二十二十二二十二十二十二十二" , the function dfs_() has infinite recursion,and this will increase memory usage

Expected behavior

No response

Steps to reproduce

create a txt file with :一一一一一一一一一一一一一一一十一十一十一十一十一十一十一十一十一一一一一一十十十十十十十二十二十二十二十二十二十二十二二十二十二十二十二
upload to ragflow and parse

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions