Red Hat Bugzilla – Bug 174279
Segfault while starting Xorg in AccessUsingXdmcp ()
Last modified: 2007-11-30 17:11:18 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8) Gecko/20051118 Fedora/1.5-0.5.0.rc3 Firefox/1.5
Description of problem:
When starting Xorg I get a segfault. This is even before the config file is read.
Program received signal SIGSEGV, Segmentation fault.
0x000000000054e9d3 in AccessUsingXdmcp ()
#0 0x000000000054e9d3 in AccessUsingXdmcp ()
#1 0x000000000054f6d9 in DefineSelf ()
#2 0x00000000005509b2 in CreateWellKnownSockets ()
#3 0x0000000000432dc7 in main ()
Whereas I start the server with "-nolisten tcp", just as system-config-display does it, the server is starting fine.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. just start Xorg
I have found the reason for this segfault:
There is an unitialized irda0 network device in my system which has no network
address and therefore Xorg tries to dereference a NULL pointer.
This interface does not have an address. DefineSelf in the xorg source code
requires that network interfaces that are valid have a non-null address field.
This leads to a segfault because ConvertAddr attempts to dereference that pointer.
This bug is described in https://bugs.freedesktop.org/show_bug.cgi?id=5068
and a solution is suggested in https://bugs.freedesktop.org/show_bug.cgi?id=5218
Please apply this patch to Xorg.
Ah, thanks very much for the report, and upstream bug URLs also! I believe
we've gotten other bug reports from people with similar hangs but slightly
different systems, which this is likely to resolve as well.
I'll update the report once I've had a chance to snag the patch and update
I've added a patch which should fix this to xorg-x11-server-1.0.1-2
Please update to the new release and update the report with the status
of test results.
Thanks in advance.
*** This bug has been marked as a duplicate of 178986 ***