node-sass: segmentation fault when parsing invalid sass

This problem was already discussed in issue #7. But as far as I tested it, it is still a problem. I am using node-sass via gulp-sass. gulp-sass use the current version of node-sass (^0.9).

If I try to compile a scss file with an missing ; it writes segmentation fault to the console and crashes.

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 22 (15 by maintainers)

Commits related to this issue

Most upvoted comments

@xzyfer I see, mine was because of a tab. That’s why I was wondering why I’m having a segmentation fault.

@xzyfer take this as an example:

sass is tab-sensitive, I failed to see one line exceeded by a tab. Something similar like this:

#scroll-1
	background: url('../img/scroll-1.png')
	     background-position: center
	background-size: cover