Bug 54947 - Installers hangs after hiding help
Summary: Installers hangs after hiding help
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Brent Fox
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-10-23 16:37 UTC by Holger Eilhard
Modified: 2007-04-18 16:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-10-23 20:50:10 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2002:016 0 normal SHIPPED_LIVE Various anaconda installer fixes 2002-01-17 05:00:00 UTC

Description Holger Eilhard 2001-10-23 16:37:02 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Description of problem:
After hiding the help sidebar and just clicking next, anaconda crashes 
with some gtk error messages. Then the system is restarting.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Boot up from CD (no Expert Mode, but should crash too). Graphical 
Installation comes up.
2. In the first screen hide the help.
3. Click Next.
4. Crash and reboot.
	

Actual Results:  Anaconda crashes and system reboots.

Expected Results:  The next screen should've appeared.

Additional info:

I remember some versions prior to v7.2 that had the same problem. If you 
need additional error output feel frei to send a mail to 
h.eilhard

Comment 1 Brent Fox 2001-10-23 19:06:31 UTC
Yes, please include the debug messages if you can.  I am unable to duplicate
this behavior on my test machine.

Comment 2 Holger Eilhard 2001-10-23 19:30:15 UTC
First I have to say that this also seems to happen if I deactivate the help, 
click "Next", and re-activate it. Here is the output (I hope I got everything 
right, taking a screenshot is some kind of a problem at that point ;) ):

X closes and I get back to 1st console.

First there are 4-5 times a:
GTK Critical ** gtkstyle.c: line 515 (gtk_style_attach) assertion `window != 
NULL4 failed
GTK Critical ** gdkwindow.c: line 716 (gdk_window_ref) assertion `window != 
NULL4 failed

Then there's once:
GTK Critical ** gdkwindow.c: line 1233 (gdk_window_set_background) assertion 
`window != NULL4 failed
GTK Critical ** gdkwindow.c: line 964 (gdk_window_clear_area_e) assertion 
`window != NULL4 failed

And then again once:
GTK Critical ** gtkstyle.c: line 515 (gtk_style_attach) assertion `window != 
NULL4 failed
GTK Critical ** gdkwindow.c: line 716 (gdk_window_ref) assertion `window != 
NULL4 failed

Then the install exits with:
install exited abnormally
unmounting, etc...

Hope that helps!

Actually this time the installer didn't hang at de-activating and re-
activating the help at one screen but between two or more setting screens 
(keyboard, etc.). But AFAIR the errors were always the same.

Comment 3 Holger Eilhard 2001-10-23 19:36:23 UTC
I just uploaded two screenshots of the error messages:
http://holger.eilhard.net/linux/rh-72/

Comment 4 Brent Fox 2001-10-23 19:42:38 UTC
Ahh, for me the crash occurs when you try to re-show the help.  I can reproduce
this now.  It only seems to occur if you hide the help on the first screen and
then show it on a later screen.  If you hide the help on the second screen and
then re-show it on a later screen, everything seems to be fine.

Comment 5 Brent Fox 2001-10-23 20:50:05 UTC
I've tracked this down.  The reason that the problem only occurs on the first
screen is that when you click "Next" from the language screen, the installer
tries to set the font for the HTML help widget.  This is found on line 376 in
gui.py:        
self.html.set_font_charset (locale)

The only problem here is that if you've already hidden the help window, then
that widget is no longer visible, so you're trying to set the font for a widget
that GTK doesn't know about anymore.


Comment 6 Brent Fox 2001-10-24 02:14:10 UTC
Fixed on the anaconda-7-2-branch.  I have not committed the fix to head since
msw says that this won't be an issue with the new HTML widget.  Thanks for your
report.


Note You need to log in before you can comment on or make changes to this bug.