Skip to content

File::Stat.new() issue in 1.7.23 on Windows 7 #3525

@ph

Description

@ph

I have been investigating a Logstash issue with the file input on windows 7 x86.

Se this JVM error log at https://gist.github.com/ph/c0dcc55573337a8d2296

When we try to use the File::Stat.new on a file deleted by another process it
throw an exception EXCEPTION_PRIV_INSTRUCTION by following the trace and the logic flow I have narrowed it down in our code to this line https://github.com/jordansissel/ruby-filewatch/blob/master/lib/filewatch/watch.rb#L102

Few points that I know:

  • When I run the same code in a Windows 2012 Server or Windows 10, I don't have the problem.
  • When I rollback to JRuby to 1.7.22 I don't see the issue anymore on windows 7.

I have tried to create a simple test case outside of Logstash without luck so far.
I have a reproducible way using logstash check the issue for the full test case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions