residual/residual — pull request #457 by guillemj (2012-01-05 20:43:57+00:00)
Title: Assorted segfault fixes

The pull contains two fixes for actual experienced segfaults (one already reported as an issue), and other defensive changes for other possible segfaults.