OOPS rendering blueprint dependency graph. Subprocess couldn't allocate memory

Bug #208228 reported by Diogo Matsubara
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Curtis Hovey

Bug Description

As seen in OOPS-818C616, the code that generates the dependency graph starts a subprocess to get the job done. This subprocess crashed with an OSError: [Errno 12] Cannot allocate memory causing the page to render an OOPS

Curtis Hovey (sinzui)
Changed in blueprint:
assignee: nobody → sinzui-is
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Curtis Hovey (sinzui) wrote :

I have a branch that fixes this issue by directly recording the errors when an exception is raised by the renderGraphvizGraph() method. The spec index page will continue to display, though without the image map and possibly the dependency graph image too.

Diogo suggested that we load an alternate image when the image fails to load. I like
the idea. In the cases we are seeing now, the error is occurring in the system, not the application. The error probably will not happen happen when the page is reloaded.

Attached is a screen cap of the forced error condition happening both for the image map
and later when the image is loaded. I would like these message review before I submit the code for review.

Revision history for this message
Curtis Hovey (sinzui) wrote :

I have a branch that fixes the issue.

Changed in blueprint:
status: Confirmed → In Progress
milestone: none → 1.2.4
Revision history for this message
Curtis Hovey (sinzui) wrote :

Fixed in RF 6014.

Changed in blueprint:
status: In Progress → Fix Committed
Revision history for this message
Curtis Hovey (sinzui) wrote :

Fixed released in version 1.2.4.

Changed in blueprint:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.