This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
RE: Novice Question
$ gdb --args ./XWin.20090628173519.exe -multiwindow -clipboard -logverbose
3
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) p *ifr
No symbol "ifr" in current context.
(gdb) r
Thanks Jon
Hope this extra info helps
Starting program: /usr/bin/XWin.20090628173519.exe -multiwindow -clipboard
-logverbose 3
[New thread 10016.0x2358]
[New thread 10016.0x1c1c]
Program received signal SIGSEGV, Segmentation fault.
0x0058941d in DefineSelf (fd=1) at
/opt/wip/cygport-svn/xorg-server/xorg-server-1.6.0-10/src/xorg-server-1.6.0/
os/access.c:816
816
/opt/wip/cygport-svn/xorg-server/xorg-server-1.6.0-10/src/xorg-server-1.6.0/
os/access.c: No such file or directory.
in
/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}
(gdb) bt full
#0 0x0058941d in DefineSelf (fd=1) at
/opt/wip/cygport-svn/xorg-server/xorg-server-1.6.0-10/src/xorg-server-1.6.0/
os/access.c:816
broad_addr = {sa_family = 52248, sa_data =
"\"\000^á\017a\bÐ\"\000ôE]"}
ifap = (struct ifaddrs *) 0x14471b8
ifr = (struct ifaddrs *) 0x14474a8
len = 4
addr = (unsigned char *) 0x14474f4 ":§/\233"
family = 0
host = (HOST *) 0x143a190
#1 0x005813d0 in CreateWellKnownSockets ()
at
/opt/wip/cygport-svn/xorg-server/xorg-server-1.6.0-10/src/xorg-server-1.6.0/
os/connection.c:421
fd = 1
i = 0
partial = 0
port = "0\000\000\000\200\233C\001\230Ì\"\000SEX\000\005\000\000"
#2 0x00512720 in main (argc=5, argv=<incomplete type>, envp=<incomplete
type>)
at
/opt/wip/cygport-svn/xorg-server/xorg-server-1.6.0-10/src/xorg-server-1.6.0/
dix/main.c:285
i = 0
alwaysCheckForInput = {0, 1}
(gdb) p *ifr
$2 = {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}
(gdb)
-----Original Message-----
From: Jon TURNEY [mailto:jon.turney@dronecode.org.uk]
Sent: Monday, 29 June 2009 6:02 AM
To: cygwin-xfree@cygwin.com
Cc: andy.stainer@gmail.com
Subject: Re: Novice Question
Andy wrote:
> Jon,
> Thanks for your help
>
> Yes your correct the IP6 had nothing to do with the problem ..(again
thanks)
Well, I think perhaps the situation is a bit more complex that that :-)
>
> Here is the backtrace requested
Thanks very much, very helpful.
I wonder if I might trouble you to try that all again (you may start from
step
3), also add trying 'p *ifr' at the '(gdb)' prompt...
> (gdb) bt full
> #0 0x0058941d in DefineSelf (fd=1) at
>
/opt/wip/cygport-svn/xorg-server/xorg-server-1.6.0-10/src/xorg-server-1.6.0/
> os/access.c:816
> broad_addr = {sa_family = 52248, sa_data =
> "\"\000^á\017a\bÐ\"\000ôE]"}
> ifap = (struct ifaddrs *) 0x18271b8
> ifr = (struct ifaddrs *) 0x18274a8
> len = 4
> addr = (unsigned char *) 0x18274f4 ":§/\233"
> family = 0
> host = (HOST *) 0x181a190
--
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/