Closed
Bug 108282
Opened 23 years ago
Closed 23 years ago
gtk_widget_hide called with NULL, crashes installer on clicking install button
Categories
(SeaMonkey :: Installer, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: nidheesh, Assigned: slogan)
Details
(Keywords: crash)
Attachments
(3 files)
861 bytes,
patch
|
Details | Diff | Splinter Review | |
861 bytes,
patch
|
bryner
:
review+
dveditz
:
superreview+
|
Details | Diff | Splinter Review |
537 bytes,
patch
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
The code in mozilla/xpinstall/wizard/unix/src2/nsInstallDlg.cpp calls
gt_widget_hide on NULL if all xpi's are locally available and are NOT REQUIRED
TO BE DOWNLOADED. On clicking install button under gtk 1.2.10 this shows up as
installer crash. Method InitInstallProgress assumes that sDLProgressbar.vbox is
a valid created widget (done in InitDLProgress if download is required.)
nsInstallDlg::InitInstallProgress()
{
gtk_widget_hide(sDLProgress.vbox);
gCtx->idlg->ShowTable();
}
This code should be changed to
if (sDLProgress.vbox)
gtk_widget_hide(sDLProgress.vbox);
and the crash goes away. In gtk 1.2.6 this does not show up. Nonethless this is
a simple fix and the caller of gtk_widget_hide can also correct the code and not
just assume that toolkit will take care.
Reproducible: Always
Steps to Reproduce:
1.run mozilla-installer and keep all xpi pkgs in the subdirectory xpi. (copy
them locally)
2.choose install location etc and hit install.
3.if you have 1.2.10 supplied in Solaris it crashes in InstallProgress
Actual Results: crashes in InstallProgress with null parameter
Expected Results: install should go thru without needing any download
Updated•23 years ago
|
QA Contact: bugzilla → ktrina
Updated•23 years ago
|
Comment 4•23 years ago
|
||
Comment on attachment 68259 [details] [diff] [review]
patch
r=bryner
Attachment #68259 -
Flags: review+
Comment 5•23 years ago
|
||
Comment on attachment 68259 [details] [diff] [review]
patch
sr=dveditz
Attachment #68259 -
Flags: superreview+
fixed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•