Skip to content

添加 attrib 监控导致程序异常退出。 #63

@GoogleCodeExporter

Description

@GoogleCodeExporter
bug重现:

1. 配置文件:
<inotify>
    <delete start="false"/>
    <createFolder start="true"/>
    <createFile start="false"/>
    <closeWrite start="true"/>
    <moveFrom start="true"/>
    <moveTo start="true"/>
    <attrib start="true"/>
    <modify start="true"/>
    </inotify>

2. 启动sersync
3. 改动被监控的文件,如:touch * 
(目录下包括许多文件与目录)
4. sersync死掉了。

抛出错误如下所示:
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr
terminate called recursively

版本:
sersync2.5.4_64bit_binary_stable_final
系统:
Ubuntu 10.04 server LTS 64bit

Original issue reported on code.google.com by yeguango...@gmail.com on 26 Apr 2012 at 10:24

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions