marvin-zhao / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Apache Crash triggered in test_Minify_CSS.php #273

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Are you sure this is not a problem with your configuration? (ask on the
Google Group)

Minify commit/version:
PHP version: 5.3.5 running under XAMPP on Windows 7

What steps will reproduce the problem?
1.load test_Minify_CSS.php
2.
3.

Expected output:
Any output at all

Actual output:
Nothing, page does not load and Apache Crashes

Commenting out either line 81 or line 86 runs just fine, just not with the 
correct output. Either line without the other runs fine, but both lines 
together and Apache just crashes.

Original issue reported on code.google.com by Unsane1...@gmail.com on 14 Aug 2012 at 7:53

GoogleCodeExporter commented 9 years ago
I forgot to say which file the line numbers were from. They are from 
Minify/CSS/Compressor.php

Original comment by Unsane1...@gmail.com on 14 Aug 2012 at 7:54

GoogleCodeExporter commented 9 years ago
We keep running into limits and bugs in PCRE. You can try raising PCRE's 
backtrack limit and other settings. Not much I can do about it and no one 
crashes on the same line :/

Original comment by mrclay....@gmail.com on 15 Aug 2012 at 3:39

GoogleCodeExporter commented 9 years ago
the same here... crashes with non error... i raised PCRE limit, script 
execution time... and nothing happen... just a connection reset by apache... :(

Original comment by ceba...@gmail.com on 25 Jun 2013 at 5:22

GoogleCodeExporter commented 9 years ago
hey, i just found a solution here... check this topic

https://code.google.com/p/minify/issues/detail?id=62#c9

Regards,
Carlos

Original comment by ceba...@gmail.com on 25 Jun 2013 at 5:27