Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault: 11 #20

Closed
pr1ntr opened this issue Aug 23, 2012 · 10 comments
Closed

Segmentation fault: 11 #20

pr1ntr opened this issue Aug 23, 2012 · 10 comments

Comments

@pr1ntr
Copy link

pr1ntr commented Aug 23, 2012

Hey, I am getting this error on the .render() api method.
I noticed some people are having this issue on for grunt-sass as well:
sindresorhus/grunt-sass#2

I am testing with really simple code with no errors:
var str = "#main
{
.more
{
}
}"

//

sass.render(str, function (err, data) { // Segmentation fault 11 } );

@deanmao
Copy link
Contributor

deanmao commented Aug 23, 2012

hm, could you provide more info please? "it works for me"

32/64bit, what os, node version, etc.

@pr1ntr
Copy link
Author

pr1ntr commented Aug 23, 2012

Well i'm trying it in node 0.8.5

on OS X Lion (64bit)

node-sass version is latest from npm as of tonight

@deanmao
Copy link
Contributor

deanmao commented Aug 23, 2012

Ok, I fixed this issue. If you're impatient, you can git clone and build it, or wait for andrew to push another version to the main npm repository. The main issue was that it targets macosx 10.7 -- hopefully this doesn't cause issues for people running older macosx versions.

ping @andrew : please publish a new version of this library.

@deanmao
Copy link
Contributor

deanmao commented Aug 23, 2012

I briefly blogged about this, should anyone else have issues getting their node extensions to work properly in lion:

http://www.deanmao.com/2012/08/23/node-native-extensions-in-mountain-lion/

@deanmao deanmao closed this as completed Aug 23, 2012
@andrew
Copy link
Contributor

andrew commented Aug 23, 2012

@deanmao I've pushed 0.2.3 to npm, cheers!

@lukaszfiszer
Copy link

I can just confirm that this update does not break on older macosx - tested on Snow Leopard 10.6.8 with node 0.8.5

@Grawl
Copy link

Grawl commented Aug 15, 2014

I was have this error when I was trying to use sass indented syntax imported by scss file and adding --source-map flag to node-sass binary.

@MariusRumpf
Copy link

Same error here when using an undefined variable like $example. When giving -source-map flag it gives Segmentation fault 11. Without flag it is unbound variable $example like it should.

@am11
Copy link
Contributor

am11 commented Sep 9, 2014

@MariusRumpf, if you have installed via npm install node-sass, then it haven't released yet with the fix.

If you are compiling and installing current master, then its weird because we have couple of test cases for it and all are passing.

If that's the latter case, please expand on what command you are using?

@MariusRumpf
Copy link

@am11 Installed it with npm install node-sass, so it is probably fixed in master then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants