Skip to content

Sass worker compilation aborts and all compilations fail after #85

@jws305

Description

@jws305

I am using sass.js in the browser using the sass.worker.js. The worker recompiles css as the user changes variables. After a while, the worker starts emitting errors on compilation, even when the input is valid.

Here are some of the errors emitted, all of which have a status code of 99:

abort(7) at Error
    at jsStackTrace (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:5:17538)
    at stackTrace (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:5:17709)
    at abort (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:32:10464)
    at Array.Bqa (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:25:75425)
    at Array.XH (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:11:65879)
    at Object.Caa [as dynCall_iiii] (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:25:38651)
    at invoke_iiii (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:5:451968)
    at Array.Cr (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:10:63261)
    at Object.Caa [as dynCall_iiii] (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:25:38651)
    at invoke_iiii (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:5:451968)
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
abort(15) at Error
    at jsStackTrace (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:5:17538)
    at stackTrace (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:5:17709)
    at abort (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:32:10464)
    at Array.Aea (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:25:49586)
    at Array.Ft (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:10:137752)
    at Array.Ft (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:10:137551)
    at Array.Ft (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:10:137551)
    at pw (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:9:35342)
    at Array.Wg (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:14:37714)
    at Array.f1 (https://localhost:44301/Scripts/sassjs/0.10.3/sass.worker.js:25:4915)
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.

It seems to start after attempting to compile invalid css but even when the css is corrected is remains broken. Can you provide any insight?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions