Skip to content

Segmentation fault on compressing some css files #12

@PavloKovalov

Description

@PavloKovalov

I get 'segmentation fault' when compressing some css files.
Here is my test script:

require_once './library/CssMin.php';

$cssMin = new CssMin();

$testCss = file_get_contents('./themes/cureline/css/reset.css');
$compressed = $cssMin->run($testCss);

echo $compressed;

output:

newtoaster.dev/ (develop) $ php test.php 
Segmentation fault

phpStorm with xDebug attached process to line 93 and then fails
i'll update if got more details

UPD: sorry, this is css that breaks https://gist.github.com/PavloKovalov/8582652

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