Comments (14)
Which version of the library are you using ?
from libsass-net.
Can you provide the value you are passing in?
from libsass-net.
Sorry for my delayed response:
I´m using the version x64 3.2.4.1 before that the compile function didn´t even work for me.
Also i´m using this on a win 7 x64 pc with iis 7.5 if thats of any use.
Here is the scss content which reproduces the issue for me.
edit: It even crashes if do something like
a {color:red;}
original source:
// Global
.slide {
overflow: hidden;
-webkit-transition: all 0.3s cubic-bezier(1, 1, 1, 1);
transition: all 0.3s cubic-bezier(1, 1, 1, 1);
&.hidden {
max-height: 0;
}
&.visible {
max-height: 300px;/* approximate max height */
}
}
// 1. Colors
// Primary Colors
// Orange
$primary-color1: #ff7500;
$primary-color1-90: #ff8219;
$primary-color1-80: #ff9033;
$primary-color1-70: #ff9e4c;
$primary-color1-60: #ffac66;
$primary-color1-50: #ffb97f;
$primary-color1-40: #ffc799;
$primary-color1-30: #ffd5b2;
$primary-color1-15: #ffead8;
// Blue
$primary-color2: #16bade;
$primary-color2-90: #2dc0e1;
$primary-color2-80: #44c7e4;
$primary-color2-70: #5ccee8;
$primary-color2-60: #73d5eb;
$primary-color2-50: #8adcee;
$primary-color2-40: #a1e3f1;
$primary-color2-30: #b9eaf5;
$primary-color2-15: #dcf4fa;
$primary-color3: #ffffff;
$primary-color4: #000000;
$primary-color5: #445056;
// Feedback Colors
$feedback-color-positive: #006600;
$feedback-color-negative: #c90707;
// Shade Colors
$shade-color-35: #a5a5a5;
$shade-color-15: #e3e3e3;
$shade-color-10: #efefef;
$shade-color-5: #f6f6f6;
// 2. Typography
$font-stack: CI, Arial, sans-serif;
$icon-font: "soda-icon";
//Explicitly set font-size on input-fields to prevent the auto-zoom
//http://www.jonassebastianohlsson.com/blog/2013/11/25/how-to-stop-zoom-in-on-input-focus-on-mobile-devices/
$form-field-font-size: 1.0 rem;
$form-field-padding: 45px;
// Fontsizes
$font-size-default: 1rem;
$font-size-small-10: 0.875rem;
$font-size-large-10: 1.15rem;
$font-size-large-20: 1.25rem;
$font-size-large-30: 1.5rem;
$font-size-large-40: 1.75rem;
// Sizes
$page-padding: 10px; // The space between the website and the outermost edge
// Sidebar
// Footer
from libsass-net.
I'm getting the same error with v3.2.5 64bit
Unhandled exception at 0x00007FF85DF00F20 (ntdll.dll) in w3wp.exe: 0xC0000374: A heap has been corrupted (parameters: 0x00007FF85DF3DD40).
from libsass-net.
Just bumping the thread to see if there are any updates to this? Unfortunately I've not been able to release some much needed updates to one of my projects as libsass-net is a dependency.
from libsass-net.
The problem is in the last two FreeString statements I believe, but why those have issues in the 64-bit version but not the 32-bit version, I have no idea.
from libsass-net.
Bugger... I was hoping you had a quick fix. C++ is an unknown for me.
from libsass-net.
while trying stuff a night ago i couldn't get anything that would work on both, but i could get something to work on 32-bit or 64-bit, so maybe i'll special case and use different methods for different bitness. c++ man... 😢
from libsass-net.
Just browsing on iPad in bed so not much I can do, but I imagine somewhere it is already freeing something. To guard against this initially I would, in StringToAnsi, set p to NULL once memory was freed to ensure you don't free twice, but I would have to debug code to see what might be happening to your heap. Eg.
if (p)
{
Marshal::FreeCoTaskMem(IntPtr((void *) p));
p = NULL;
}
from libsass-net.
from libsass-net.
Hi,
I'm getting heap corrupted error when I choose .net framework 4.5.1, 4.5.2 or 4.6 for my test project.
When I select framework 4.5 everything works.
I'm using sample code
class Program {
static void Main(string[] args) {
var sassCompiler = new SassCompiler();
var result = sassCompiler.Compile("body { color:blue; }");
System.IO.File.WriteAllText(@"d:\temp\compact.css", result);
}
}
Environment: Windows 10, VS2015
from libsass-net.
🤘
from libsass-net.
this just got deployed to nuget
from libsass-net.
Wizard! Well happy you got it sorted.
from libsass-net.
Related Issues (20)
- Takes minutes to compile HOT 4
- Proposal: Change the way of building native binaries HOT 6
- Update SassSpec runner to understand the latest metadata HOT 1
- libsassnet.x64 still on version 3.2.5.1 in NuGet HOT 2
- Use ObjectiveSharpie to keep P/Invoke in sync with libsass HOT 1
- w3wp.exe locks 'libsass*.dll' HOT 12
- Alpha version use recommendation in readme HOT 1
- Log output HOT 1
- Current version of Libsass-net throw a nullreference exception while runtime compiling on Azure web server HOT 3
- SASSHandler output is empty HOT 1
- Why should implement huge Interface to use LibSass? HOT 1
- calc
- Update SassHandler to reflect new error handling
- Support for Xamarin Forms css syntax HOT 3
- Intermittent NullReferenceExceptions HOT 3
- Support for .NET Standard HOT 3
- virto E commerce
- Compilation is crashing IIS HOT 1
- Still alive??? HOT 1
- Deprecation plans
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libsass-net.