Comment 6 for bug 1086019

Revision history for this message
Martin Pitt (pitti) wrote :

> I suggest for an SRU in Quantal only to suppress the Apport pop-ups of the crashes somehow, as a workaround.

The simplest, but rather blunt, method is to add a file "/etc/apport/blacklist.d/cups" to a cups SRU with "/usr/sbin/cupsd". However, that would suppress *all* cups crashes, not only this one.

In order to filter out only this one in a way that completely avoids the popup (as opposed to saying "we already know about this crash"), the crash needs to be suppressed in the daemon. If you know the place where it crashes, you could temporarily install a SIGSEGV signal handler, then call the potentially crashing code path, and restore it. However, this is pretty hackish, and I wonder if there wouldn't be a more appropriate fix such as adding a NULL pointer check somewhere etc.