Forum Bugs

Mecury runtime: caught segmentation violiation

gillm
I am getting the above error message when attempting to run Prince on a page (can't post the URL here because this is my first post).

The message goes on to say this may be caused by a stack overflow due unbounded recursion.

Please can you advise as to what might be causing this error?

Many thanks in advance,
Gill
mikeday
Can you paste the URL or email me the page? Also, what platform are you running Prince on?
gillm
Hi, the two pages I am currently working on are:

http://dimplex-main.stage.i-ntarsia.com/training_files/PDF_features.htm

and

http://dimplex-main.stage.i-ntarsia.com/training_files/PDF_Specification.htm

The platform is Linux running Apache.

The system we have developed does not directly pdf these pages - it first re-creates them using alternative templates and css depending on the page configuration.

I have started working on Prince-friendly css for PDF_features.htm but not on PDF_Specification.htm. The actual Prince conversion to PDF process was working (although sporadically) until midday yesterday when it started generating this segmentation fault error continuously.

Please let me know if you need any more details of the platform settings and I will check with the system administrator.

Many thanks,
Gill
mikeday
When I run Prince on both of those URLs it seems to work fine. Can you try testing them from the command-line?
$ prince -o out.pdf http://dimplex-main.stage.i-ntarsia.com/training_files/PDF_features.htm

If it works for you also, are you able to find a file or URL for which it fails? If it doesn't work for you, which Linux distribution are you using?
gillm
Thank you for your help with this. I have managed to establish that prince runs fine from the command line and the error occurs when calling from a web interface. We don't want to increase the Apache memory limits so we are working on a work around.

Once again, thank you for your help.


Regards,
Gill