Comment 8 for bug 1157900

Revision history for this message
Eliah Kagan (degeneracypressure) wrote :

This crash often happens to me when I terminate a running instance of add-apt-repository with Ctrl+C (though not every time, see duplicate bug 1186492 for details). I've been able to make that happen on multiple systems running different Ubuntu releases multiple times, so that might be a way for people who cannot reproduce the bug to do so.

Dmitry Shachnev's analysis (https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1157900/comments/7) clarifies why Ctrl+C is one way to produce the crash (get_ppa_info_from_lp() wrongly catches all exceptions including KeyboardInterrupt). Thanks for the explanation!