09.07.09

I will learn to restrain myself from clicking on links to attachments in crasher bugs. And I will never ever again crash Firefox through personal incompetence and inattentiveness. And it will be glorious.

Share this:

[Maybe. It’d have to intercept the page before it loaded, tho, because this usually happens when I click a link in bugmail in Thunderbird, in which case there’s no link-click to intercept. Could write a Thunderbird extension for that, I guess…]

Makes you think though… surely it would be trivial to have a greasemonkey script (or even something in Bugzilla itself!) that prompts you if you click attachments that are not of type “patch” to bugs that have the “crash” keyword, or “crash” in the summary? 🙂

Pff, I am not fast enough, that much is clear. Anyway, submit a feature request for the bugmail add-on for Thunderbird? (https://addons.mozilla.org/en-US/thunderbird/addon/9584) If it’s asking for bug data anyway, that info should be extractable, too, I think, and it could modify the link for you, or at least display a warning in the info bar it shows… (would that stop you? 🙂 )

I can’t speak for the other platforms, but Windows just-in-time debugging is great for this – pop in to the debugger, step around the crash, detach debugger, job done!

[Given that most of the time the crash attachments I accidentally load are in JITted code after invariants have been violated, with complex stack unwinding to do, it’s usually not quite that simple, unfortunately. Also, it’s moot for me as I’m not running Windows right now; I don’t think similar functionality exists on OS X. Linux might be better, but unfortunately it’s not an option as I then couldn’t run OS X, at least not without dual-booting, and I’ve become too used to VMs to do that.]