[Dot] crash (Segmentation fault) in emit_page (emit.c) if input has layers and if GVRENDER_DOES_MAPS is NOT true for the render (pov)
Ported Issue from Mantis Original ID: 2582 Reported By: steve roush
SEVERITY: CRASH Submitted: 2015-12-16 03:22:41
In release 2.38.0, for layers>1, job->obj->id is referenced in the emit_page function. However, gvcjob.h says id is only valid /* if GVRENDER_DOES_MAPS */. I believe that currently this only is a problem for the POV renderer, but I found the bug as I was testing an "html5 canvas" renderer that I am trying to complete.
STEPS TO REPRODUCE
using dot 2.38.0 and the pov renderer, compile any .gv file that includes layers. It will core dump.
Sometime between release 2.26.3 and 2.38.0, emit.c changed significantly. The old version works correctly for this situation.