Forum Bugs

Mercury runtime: caught strange segmentation violation in Prince 12.4

cscalfani
I'm doing a very simple test with 2 CSS files in the <link> tag. Running on Alpine Linux in a Docker container.

If I comment out the 2 <link> tags then it works. If either of the <link> tags are NOT commented out then it'll crash with:

*** Mercury runtime: caught strange segmentation violation ***
This may have been caused by a stack overflow, due to unbounded recursion.
  1. test.html0.5 kB
dauwhe
Prince 12.5 on Mac OS 10.14.5 and it runs, but with some warnings about the CSS:

cramerd$ prince test.html
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown pseudo-element '::placeholder'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown property 'backdrop-filter'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777:6: warning: unknown media feature 'prefers-reduced-motion'
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777: warning: unsupported properties: box-shadow, line-break, overflow-x, overflow-y, pointer-events, resize, text-shadow
prince: https://dev.vetpro.us/bootstrap.min.css?_cb_=1561411777: warning: unsupported functions: calc()

Edited by dauwhe

mikeday
Which version of Alpine Linux are you running on and which Prince package did you install?
cscalfani
We were running alpine:3.9.3 in Docker but were running prince-12.4-alpine3.8-x86_64.tar.gz.

Upgrading Prince to prince-20190613-alpine3.9-x86_64.tar.gz fixed it!!!


Thanks.
mikeday
We also have an Alpine 3.9 package for Prince 12.5 on the download page.
cscalfani
Thanks... Good to know.