Two issues in graphviz here: firstly when the cr is extracted from a job in plugin/pango/gvrender_pango.c:cairogen_polygon(), it should be checked to ensure that it is valid before being used; secondly, the error state set with _cairo_set_error should be checked after the call to cairo_set_dash() plugin/pango/gvrender_pango.c:cairogen_set_penstyle(). There may also be an issue with cairo (the API docs should be checked), in that when an invalid pointer is passed to cairo.c:cairo_set_dash(), the SIGSEGV should be trapped, and an appropriate error set with _cairo_set_error(), rather than crashing. If this is not an issue in cairo, then graphviz must trap any expected signals as well as checking the error return code.
** Changed in: graphviz (Ubuntu) Status: New => Confirmed -- dot crashed with SIGSEGV in cairo_set_dash() https://bugs.launchpad.net/bugs/503503 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs