Closed Bug 106824 Opened 23 years ago Closed 15 years ago

mozicon16.xpm missing -> mozilla (gtk build) crashes on startup

Categories

(Core :: XUL, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: james, Unassigned)

Details

Attachments

(1 file)

If the mozicon16.xpm file is not found in the icons subdirectory, mozilla will crash when it tries to dereference a NULL GdkPixmap pointer. Fix is fairly simple, and patch to follow.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0.1
--> default owner
Assignee: hyatt → jaggernaut
Status: ASSIGNED → NEW
Target Milestone: mozilla1.0.1 → ---
Hmm. Seems reasonable for robustness (although I don't know how common it is that that icon would go "missing"). Should we check this in? (Sorry that this just lay here so long).
I ran into this problem when I was working on Komodo. I changed the filename it would use for the icons, but forgot to put the new icons in the right place. The code for setting the main icon would spit out a few warnings when the file was missing, but the mini-icon code happily dereference the NULL pointers. It isn't a very important bug, but it would be nice to handle this error condition better.
Assignee: jag → nobody
This code has changed a lot since 2002. I think the problem is gone. http://mxr.mozilla.org/mozilla-central/source/widget/src/gtk2/nsWindow.cpp#1803
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: