Red Hat Bugzilla – Bug 481291
firefox crashes when ICNS file is selected in file chooser dialog
Last modified: 2009-02-06 00:21:29 EST
Created attachment 329832 [details]
a ZIP archive containing the offending ICNS file
Description of problem:
I was attempting to select an ICNS file as an attachment for Bug 481284, but every time I clicked on it in Firefox's file chooser dialog, Firefox immediately crashed. I suspect that this has something to do with attempting to create a preview to display in the file chooser dialog, and that something is failing catastrophically during that process. I've attached the ICNS file which makes this happen for me---but wrapped in a ZIP archive, since this bug prevents me from attaching the ICNS file itself.
As a side note, it made me chuckle to discover a bug whilst I was attempting to report another bug.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go to a bug at bugzilla.redhat.com and attempt to add an attachment.
2. Choose the ICNS file attached to this bug in your file chooser dialog.
The file should be selected. Firefox should not crash.
That .icns file triggers an assertion in libjasper:
jpc_dec.c:1072: jpc_dec_tiledecode: Assertion `dec->numcomps == 3' failed.
Aha! That's very interesting.(In reply to comment #1)
> That .icns file triggers an assertion in libjasper:
> jpc_dec.c:1072: jpc_dec_tiledecode: Assertion `dec->numcomps == 3' failed.
That's very interesting. This is precisely the same exception I was reporting in libicns (Bug 481284) when I found this bug. I didn't realize that this exception was coming from libjasper.
(In reply to comment #3)
> Try out:
I can confirm that Firefox no longer crashes when selecting the INCS file, with this build of jasper. (There's still no preview in the file chooser, though.)
jasper-1.900.1-9.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update jasper'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-0986
jasper-1.900.1-9.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
jasper-1.900.1-9.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.