Open hongxuchen opened 5 years ago
Maybe this is still reproducable, but you're running this against older versions of both SassC and libsass that wouldn't be patched if it's not reproducable against the current master version
@nschonni I think I was using the HEAD versions of both sassc and libsass, as the git HEAD commits are f2db0488 and https://github.com/sass/sassc/commit/3f84e2358019dab2fdba5fe1fc0ecff23aa24608 which match gf2db
and g3f84
suffixes however I'm not sure why the exact versions are reported differently as 3.5.2-192-gf2db and 3.4.8-14-g3f84.
Reproducible on master
Minimal example:
a, :b(:b(*)) {
v: 1;
@extend *;
}
@glebm I added some more POC files here; most of them crashes with different backtraces.
Unfortunately I don't understand the extend
/ weave
code at all so I can't fix these.
I think that part of libsass may need a complete rewrite (perhaps using the Dart implementation as reference).
@mgreter had a work-in-progress rewrite for the extend
/ weave
stuff but it's not complete (I "rebased" (manually forward-ported) his WIP branch in #2877).
input.scss
Actual results
sassc crashes with segfault (regular compilation) or stack-overflow messages (AddressSanitizer).
version info:
More detailed information is available here.