Bug 1000670 - csslint runs forever
Summary: csslint runs forever
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: csslint
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Guillaume Kulakowski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1011947
Blocks: 1350331
TreeView+ depends on / blocked
 
Reported: 2013-08-24 05:24 UTC by Cristian Ciupitu
Modified: 2016-06-27 07:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1350331 (view as bug list)
Environment:
Last Closed: 2014-01-15 06:29:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Cristian Ciupitu 2013-08-24 05:24:48 UTC
Description of problem:
csslint runs forever even for simple files.

Version-Release number of selected component (if applicable):
csslint-0.9.10-1.fc19.noarch.rpm

How reproducible:
Every time

Steps to Reproduce:
1. Create a CSS file:
cat > xxx.css << "EOF"
.xxx {
    font-size: 125%;
}
EOF
2. Run csslint on it:
csslint xxx.css

Actual results:
csslint hangs

Expected results:
csslint should finish

Additional info:
Other packages installed:
 - java-1.7.0-openjdk-1.7.0.25-2.3.12.4.fc19.x86_64.rpm
 - rhino-1.7R4-4.fc19.noarch.rpm

syntastic-css is affected by this.  Saving a CSS file in vim makes it go
ballistic.

Comment 1 Guillaume Kulakowski 2013-08-26 14:52:58 UTC
Work fine on EPEL6 with :
> java -version
> java version "1.6.0_24"
> OpenJDK Runtime Environment (IcedTea6 1.11.11.90) (rhel-1.62.1.11.11.90.el6_4-x86_64)
> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

Perhaps un upstream bug with JAVA 7. A new version 0.10.0 exists. I try to update rpm.

Comment 2 Guillaume Kulakowski 2013-08-27 08:40:00 UTC
Same with 0.10.0. I report an upstream bug

Comment 3 Guillaume Kulakowski 2013-09-02 09:34:26 UTC
It's a Rhino upstream bug : 
 - https://github.com/stubbornella/csslint/issues/321
 - https://github.com/mozilla/rhino/issues/107

Fixed with the new Rhino release.

Comment 4 Cristian Ciupitu 2013-12-22 20:03:46 UTC
It's still happening with csslint-0.10.0-1.fc20.noarch and rhino-1.7R4-6.fc20.noarch.

Comment 5 Guillaume Kulakowski 2014-01-14 16:02:14 UTC
From #1011947: a patch is coming...

Comment 6 Guillaume Kulakowski 2014-01-15 06:29:13 UTC
Fixed (see Bug 1000670).

Comment 7 Guillaume Kulakowski 2014-01-15 06:30:45 UTC
Sorry, see Bug 1011947


Note You need to log in before you can comment on or make changes to this bug.