Red Hat Bugzilla – Bug 42751
segv fault when i start X with 4.0.99-900
Last modified: 2007-04-18 12:33:28 EDT
Description of Problem:
I upgraded all rpms to the latest version of redhat rawhide. X doesn't want to
work. I always get a segmentation fault.
Steps to Reproduce:
1. type 'startx'
I get the message 'segmentation fault' I'll attach the complete
a normal X session :-)
everything is installed by rpms of rawhide, also the kernel
redhat-release: Raw Hide 20010524
System: PWS 500a alpha Miatagl
Graphic card: Texas Instruments TVP4020 [Permedia 2] (rev 1) (from /proc/pci)
Created attachment 19950 [details]
The log file that gets generated when I use startx
Created attachment 19951 [details]
The log file that is generated when i use 'xf86cfg'
Created attachment 19952 [details]
The current XF86Config-4 file
could you post an rpmlist of your XFree86 rpms? I am not seeing this behavior
in our current internal test trees with test lab hardware using the Permedia 2
card ... Perhaps with a list, we can duplicate your behavior here or possibly
provide a list of rpms that would work ... :)
Created attachment 19990 [details]
output rpm -qa | sort when X doesn't work
Created attachment 19991 [details]
output of rpm -qa | sort when X works
I'm using the XFree86 from the previous rawhide release now. I upgraded all
XFree86 rpms, restarted xfs, and tryed startx again (you never know..). X
didn't work, rpmlist is in rpmfilelist.without.working.x.sorted.
I downgraded everything and restarted xfs. Current rpmlist is in
rpmfilelist.with.working.x.sorted. Maybe you're only interested in the diff:
Just let me know if you need any other information.
Was this 4.0.99.x release built from sources yourself, or using my own
binaries. There seem to be numerous errors with symbols not being found.
I need you to test our own binaries if you haven't already. Please make sure
you install all of the Red Hat rawhide RPMs for XFree86, not just some.
If this problem exists in our binary release, I can probably fix it easily.
Thanks much for the bug report!
I haven't compiled anything. I got a local mirror of rawhide for alpha.
Everything is installed with a rpm -Fvh *.rpm. I also got the older rpms so I
can downgrade XFree86 with a rpm --oldpackage -Uvh xfreerpms.
First i also had a lot of unresolved symbols. Adding the following in
/etc/X11/XF86Config-4 solved that problem with startx:
The last line 'load "int10"' was not necessary to solve all the warnings about
unresolved symbols but i tryed it also with this line because the last message
of XFree before the segv is about int10.
xf86config also gives a lot of warnings about unresolved symbols but i haven't
tryed to solve that: i'm in the middle of exams so no time for figuring that
out myself now :-)
Please report the unresolved symbols. usually these are driver bugs.
I can probably fix them. I just need to know what driver, and what
the exact error message is. Please attach any logs showing these messages.
I'm now using XFree86 4.0.3-15 which works fine. Maybe i'm simply doing
something wrong so i add all the commands here. The rpmlist is the same as the
list in attachment 5 [details] (rpmfilelist.with.working.x.sorted)
rpm -Uvh XFree86-xfs-220.127.116.110-0.2.1.alpha.rpm
-> normal output, the rpms install without any problem
rpm -Fvh *.rpm
-> no output, everything upgraded to rawhide 20010524
All these rpms are from rawhide for alpha. The following are the md5sums if you
want to verify this:
Now the rpmlist is the same as attachment 4 [details]
The XF86Config-4 file is now the same as attachment 3 [details] (XF86Config-4) If i use
'startx', a log file gets generated called /var/log/XFree86.0.log. This file is
saved in attachment 1 [details] (XFree86.log.startx). This file contains no errors about
Now i change the XF86Config-4 so it is the same XF86Config-4 file as it was
before i attempted to install 4.0.99. So i make comments of the added modules.
The diff is:
< ## Load "vbe"
< ## Load "ddc"
< ## load "xaa"
< ## load "int10"
> Load "vbe"
> Load "ddc"
> load "xaa"
> load "int10"
If i try 'startx' now, i get errors about unresolved symbols. I will attach this
logfile after this message as XFree86.log.with.unresolved.symbols
If i use 'xf86cfg', i also get a lot of errors about unresolved symbols. The
logfile is attached as attachment 2 [details] (XFree86.log.xf86cfg)
Now i downgrade XFree:
rpm -Uvh XFree86-xfs-4.0.3-15.alpha.rpm XFree86-doc-4.0.3-15.alpha.rpm
-> everything ok
These rpms are also from redhat rawhide for alpha:
Also with the XF86Config-4 file without the 'load vbe,ddc,xaa,..' stuff, startx
Please let me know if you need other information or if i need to tryout
Created attachment 20082 [details]
The XFree86.0.log file with the unresolved symbols errors
Is this issue resolved? (going through closing old bugs)
No, not resolved yet.. This stuff is easy to fix though, I'm going to
fix it right now, and build 4.0.3-19
Duh... Just noticed the bug is against 4.1 branch... I'll fix it in 4.1,
but I won't guarantee binaries of it right away. The next binaries will
have it fixed though. Thanks.
Ok, looks like someone already fixed the XAAFillSolidRects and vbeFree
symbols, I just fixed the rest of them.
IIRC this was fixed but not closed. Care to update the report and
close it as RAWHIDE if it is fixed now? If not fixed, please update
with current error info, logs, etc.
It works indeed. Sorry i forgot to close this bug.