irundaia / sbt-sassify

sbt-web plugin for Sass files
Apache License 2.0
68 stars 17 forks source link

JVM crash on alpine linux #43

Open kklorenzotesta opened 4 years ago

kklorenzotesta commented 4 years ago

Using the version 1.4.13 on alpine linux cause the java runtime to crash, with version 1.4.12 works fine. This is a minimal repository reproducing the bug: repository

Running docker-compose up in the repository starts a docker container with openjdk:8-alpine that runs sbt assets. This cause the jvm to fail with the following message:

[info] Loading settings for project workingdir-build from metals.sbt,plugins.sbt ...
[info] Loading project definition from /workingDir/project
[info] Loading settings for project root from build.sbt ...
[info] Set current project to Bug (in build file:/workingDir/)
[info] Sass compiling on 1 source(s)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000000000b71d6, pid=1, tid=0x00007f8509fa9b10
#
# JRE version: OpenJDK Runtime Environment (8.0_212-b04) (build 1.8.0_212-b04)
# Java VM: OpenJDK 64-Bit Server VM (25.212-b04 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 3.12.0
# Distribution: Custom build (Sat May  4 17:33:35 UTC 2019)
# Problematic frame:
# C  0x00000000000b71d6
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /workingDir/hs_err_pid1.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   https://icedtea.classpath.org/bugzilla
#

Here is the full error report file: hs_err_pid1.log

irundaia commented 4 years ago

Hmm typically this is caused by a memory issue in libsass itself. I’ll have a look at whether this issue can be solved by upgrading libsass, if not, I’ll report it upstream.

Thanks for letting me know!

mgladdish commented 3 years ago

Any progress? I've just hit this same issue with 1.5.1