Skip to content

WKBReader Assertion crash #32

@rcoup

Description

@rcoup

If you (accidentally) don't put new infront of WKBReader, it crashes node. It shouldn't work, but I wouldn't expect it to crash the environment either.

$ node
> var geos = require('geos');
undefined
> var r = new geos.WKBReader();
undefined
> var x = geos.WKBReader();
node: /home/myuser/.node-gyp/0.10.24/src/node_object_wrap.h:71: void node::ObjectWrap::Wrap(v8::Handle<v8::Object>): Assertion `handle->InternalFieldCount() > 0' failed.
Aborted

node-geos 1872db21ae, node v0.10.24, Linux

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