Novice Question

Jon TURNEY jon.turney@dronecode.org.uk
Mon Jun 29 11:09:00 GMT 2009


Andy wrote:
> /opt/wip/cygport-svn/xorg-server/xorg-server-1.6.0-10/src/xorg-server-1.6.0/
> os/access.c
> (gdb) p *ifr
> $1 = {ifa_next = 0x1447798, ifa_name = 0x14474c4
> "{B8B51884-C69A-4592-B65D-89ABB3DCF18D}", ifa_flags = 69635,
>   ifa_addr = 0x14474f0, ifa_netmask = 0x14475f0, ifa_dstaddr = 0x0, ifa_data
> = 0x0}

:-)

It seems that the (new for Cygwin 1.7) getifaddr() function can return 
interfaces with IFF_BROADCAST & IFF_UP set, but no broadcast address, which 
the X server assumes never happens

I'd guess this means you have a network interface with a slightly unusual 
state (connected but no address configured perhaps?)

I've uploaded a new build of the X server with a small patch (attached) 
applied which should avoid this crash, perhaps you could try 
ftp://cygwin.com/pub/cygwinx/XWin.20090629103603.exe.bz2 and see if that works 
any better...
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: getifaddr-check-for-null-broadcastaddr.patch
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20090629/57554423/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


More information about the Cygwin-xfree mailing list