Forum Bugs

*** Mercury runtime: caught segmentation violation ***

silouane
I'm trying to use prince but I have this error

GC Warning: Out of Memory! Heap size: 12 MiB. Returning NULL!

*** Mercury runtime: caught segmentation violation ***
cause: address not mapped to object
address involved: (nil)
This may have been caused by a stack overflow, due to unbounded recursion.
exiting from signal handler

With version

Prince 10 rev 5
Copyright 2002-2015 YesLogic Pty. Ltd.

If the content of the html file is lower eg 200KB, it's ok.
But documents I want to convert to pdf are bigger More than 1MB

I'm on ubuntu 1510, but I've tried on debian jessy with the same issue


With version 10 rev 6, I have this error

*** Mercury runtime: caught segmentation violation ***
cause: bad permissions for mapped object
address involved: 0x7f65f5dc1000
This may have been caused by a stack overflow, due to unbounded recursion.
exiting from signal handler


Thanks for help.

Silouane
mikeday
Hmm this sounds like it could be a bug, could you email me (mikeday@yeslogic.com) a HTML document that causes the problem?
silouane
I just email you.
mikeday
It turns out there was a bug in our implementation of the JavaScript String.trim method, which we will fix as soon as possible. Sorry for the inconvenience.
mikeday
This bug has been fixed in Prince 10 rev 7, available now. Thanks for letting us know! :)