Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

reproducible crash with 0.5.7 in fs.c on OS X 10.7.2 #1739

@egorFiNE

Description

@egorFiNE
  1. Make empty directory, like /tmp/DDDD
  2. Run this:
fs = require('fs');
var data = fs.readdirSync('/tmp/DDDD');

My results:

Assertion failed: ((req->result == -1 && req->ptr == NULL) || (req->result >= 0 && req->ptr != NULL)), function uv_fs_req_cleanup, file src/unix/fs.c, line 89.
Abort trap: 6

I tried BOTH on a "stock" 0.5.7 and with 7e7e983. Same results.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions