Bug 446045 - GUI/VNC installs not working. exits when gtk.main() is called
Summary: GUI/VNC installs not working. exits when gtk.main() is called
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gtk2
Version: 4.7
Hardware: All
OS: Linux
high
high
Target Milestone: beta
: ---
Assignee: Matthias Clasen
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
: 446129 446474 (view as bug list)
Depends On: 446129
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-12 10:22 UTC by Alexander Todorov
Modified: 2018-10-19 19:22 UTC (History)
4 users (show)

Fixed In Version: RHBA-2008-0773
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-24 20:06:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot of virtual machine (10.39 KB, image/png)
2008-05-12 10:34 UTC, Alexander Todorov
no flags Details
/tmp/ramfs/X.log (58.07 KB, text/plain)
2008-05-12 13:50 UTC, Milan Zázrivec
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0773 0 normal SHIPPED_LIVE gtk2 bug fix update 2008-07-23 17:16:57 UTC

Description Alexander Todorov 2008-05-12 10:22:47 UTC
Description of problem:
GUI/VNC installs are not working. 

Version-Release number of selected component (if applicable):
anaconda-10.1.1.89-1
tree: RHEL4-U7-re20080507.0

How reproducible:
100% with GUI/VNC

Steps to Reproduce:
1. start the installation (GUI/VNC)
2. proceed to stage 2
3.
  
Actual results:
X server starts. You can see the mouse cursor. Right after that the installation
shuts down. GUI/VNC installations fail.

Expected results:
X server starts and the installation proceeds with GUI or VNC.

Additional info:
Does not affect text mode installs. Same behavior on different arches, bare
metal and xen guest.

Comment 2 Alexander Todorov 2008-05-12 10:34:32 UTC
Created attachment 305113 [details]
screenshot of virtual machine

Comment 3 Joel Andres Granados 2008-05-12 10:41:54 UTC
It is possible that this is not directly related to the Xserver as anaconda
tells us that is started successfully.  The report also states that the mouse
cursor showed up, which is a good sign that the Xserver was started successfully.

Comment 5 Alexander Todorov 2008-05-12 10:48:50 UTC
update:
1) I saw the text messages indicating anaconda is starting
2) Then black screen for some time until X starts
3) Then I saw the welcome screen
4) Then (I think) follows the partitioning screen but before it the installation
began to shut down

Comment 6 Alexander Todorov 2008-05-12 11:45:19 UTC
mzazrivec indicates that this could be related to:
https://bugzilla.redhat.com/show_bug.cgi?id=222301

Anaconda team what's your opinion? 

Comment 7 Chris Lumens 2008-05-12 13:26:38 UTC
Doesn't seem too likely that the bugs are related, though I won't rule it out
completely.  Can you grab the /tmp/ramfs/X.log file and attach it to this bug? 
You may need to add the nokill command line option so you still have a shell on
tty2 when we abort the install.  If something in X is segfaulting, that file
should contain the reason why.

Comment 8 Joel Andres Granados 2008-05-12 13:36:47 UTC
ok, I debugged this and it is unquestionably gtk.  the installer goes bum when
gtk.main() is called.  Going bum means something happens internally in gtk that
makes the anaconda thread exit, in turn making the whole installation exit.
I wonder if this has anything to do with 222301.

Comment 9 Joel Andres Granados 2008-05-12 13:42:07 UTC
I'm not going to clone with 222301 as I am not sure that they are the same
issue.  I will however, change the component to gtk2.

Comment 10 Milan Zázrivec 2008-05-12 13:50:58 UTC
Created attachment 305127 [details]
/tmp/ramfs/X.log

I don't think it'll help though.

The X server starts fine with nice background and initialized mouse pointer and

stays that way for a few seconds, you don't get any widgets though (everything
goes south after that).

Comment 13 Matthias Clasen 2008-05-13 13:30:43 UTC
The stacktrace makes it pretty clear that it must be related to the patch that
was committed in bug 222301. I'm at a loss why, though, and would like to talk
to Behdad about it. The patch changes to the code to be identical to what we
ship in current Fedora, and it works fine there...

Have you verified that the crashes go away if you back down gtk2 ? If so, I
would recommend that we back out the patch for 222301 until we have a clear
understanding of what is going on here. That patch was a bit of a last-minute
addition, anyway.

Comment 14 Brock Organ 2008-05-14 20:20:39 UTC
*** Bug 446474 has been marked as a duplicate of this bug. ***

Comment 15 Alexander Todorov 2008-05-15 09:46:59 UTC
I can confirm that with gtk2-2.4.13-24.el4 and anaconda-10.1.1.89-1

the GUI and VNC installs are working. 

Comment 17 Jonathan Blandford 2008-05-15 13:51:08 UTC
devel_ack for the rollback.

Comment 18 James Laska 2008-05-15 14:04:59 UTC
for clarification ... it looks like we fixed the root issue instead of rolling
back the fix that introduced this bug

* Sun May 13 2007 Behdad Esfahbod <besfahbo> - 2.4.13-24.el4
- Another try, fix serial overflow in x11-geometry.
- Resolves: #222301



Comment 19 Milan Zázrivec 2008-05-15 14:29:49 UTC
RHEL4-U7-re20080507.0 had gtk2-2.4.13-23.el4 which contained fix for bug #222301.
The problem was that fix for bug #222301 also introduced regression (gtk2
applications randomly segfaulting). Anaconda sure did pick up this version
of gtk2, which resulted into graphical installation being broken. The
implications of this regression were much more serious though -- whole
gnome-session and all gtk2 applications were unusable.

Anyway the problem was being taken care of in bug #222301 already
and we have a new version (2.4.13-24.el4), which works just fine
(see https://bugzilla.redhat.com/show_bug.cgi?id=222301#c55).

So to sum up, no rollback is needed. This bugzilla is just confusing.

Comment 23 John Jarvis 2008-07-16 20:32:22 UTC
*** Bug 446129 has been marked as a duplicate of this bug. ***

Comment 24 errata-xmlrpc 2008-07-24 20:06:30 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0773.html


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